}
}
+config("internal_config_base") {
+ visibility = ":*" # Only targets in this file can depend on this.
+
+ include_dirs = [ "." ]
+}
+
# This config should only be applied to code using V8 and not any V8 code
# itself.
config("external_config") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":internal_config", ":features", ":toolchain" ]
+ configs += [ ":internal_config_base", ":features", ":toolchain" ]
defines = []
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":internal_config", ":features", ":toolchain" ]
+ configs += [ ":internal_config_base", ":features", ":toolchain" ]
deps = [
":v8_libbase",
#ifndef V8_BASE_ATOMICOPS_H_
#define V8_BASE_ATOMICOPS_H_
-#include "include/v8.h"
+#include "include/v8stdint.h"
#include "src/base/build_config.h"
#if defined(_WIN32) && defined(V8_HOST_ARCH_64_BIT)
#include <stdlib.h>
#include <string.h>
+#include "include/v8.h"
#include "src/allocation.h"
#include "src/base/logging.h"
#include "src/base/macros.h"
}, {
'toolsets': ['target'],
}],
- ['component=="shared_library"', {
- 'defines': [
- 'BUILDING_V8_SHARED',
- 'V8_SHARED',
- ],
- }],
['OS=="linux"', {
'link_settings': {
'libraries': [
}],
],
}],
- ['component=="shared_library"', {
- 'defines': [
- 'BUILDING_V8_SHARED',
- 'V8_SHARED',
- ],
- }],
],
},
{
}, {
'toolsets': ['target'],
}],
- ['component=="shared_library"', {
- 'defines': [
- 'BUILDING_V8_SHARED',
- 'V8_SHARED',
- ],
- }],
],
},
{