v8/src/base/file-utils.h
machenbach cec0ed0f77 [icu] Support loading data file from default location
This allows using icu data, bundled in the icudtl.dat file,
to be loaded automatically from a default location
side-by-side with the executable.

The v8 stand-alone default is still to use statically
linked ICU data, but this will be switched in a separate
follow-up CL.

BUG=chromium:616033
LOG=y

Review-Url: https://codereview.chromium.org/2042253002
Cr-Commit-Position: refs/heads/master@{#36823}
2016-06-08 12:11:34 +00:00

19 lines
453 B
C++

// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_FILE_UTILS_H_
#define V8_FILE_UTILS_H_
namespace v8 {
namespace internal {
// Helper functions to manipulate file paths.
char* RelativePath(char** buffer, const char* exec_path, const char* name);
} // namespace internal
} // namespace v8
#endif // V8_FILE_UTILS_H_