#include "src/init/icu_util.h"
#if defined(_WIN32)
#include "src/base/win32-headers.h"
#endif
#if defined(V8_INTL_SUPPORT)
#include <stdio.h>
#include <stdlib.h>
#include "src/base/build_config.h"
#include "src/base/file-utils.h"
#include "src/base/platform/wrappers.h"
#include "unicode/putil.h"
#include "unicode/udata.h"
#define ICU_UTIL_DATA_FILE …
#define ICU_UTIL_DATA_STATIC …
#endif
namespace v8 {
namespace internal {
#if defined(V8_INTL_SUPPORT) && (ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_FILE)
namespace {
char* g_icu_data_ptr = …;
void free_icu_data_ptr() { … }
}
#endif
bool InitializeICUDefaultLocation(const char* exec_path,
const char* icu_data_file) { … }
bool InitializeICU(const char* icu_data_file) { … }
#undef ICU_UTIL_DATA_FILE
#undef ICU_UTIL_DATA_STATIC
}
}