[DEPS] Add abseil to deps
Add a dependency on the chromium abseil-cpp subdir mirror. Bug: v8:11006 Change-Id: Icaad757269d27c65bc368ed539f84c5bb79ee62d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2464940 Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Cr-Commit-Position: refs/heads/master@{#70786}
This commit is contained in:
parent
4c28563bd7
commit
3c49308ac6
42
BUILD.gn
42
BUILD.gn
@ -1433,6 +1433,15 @@ group("v8_maybe_icu") {
|
||||
}
|
||||
}
|
||||
|
||||
group("v8_abseil") {
|
||||
public_deps = [ "//third_party/abseil-cpp:absl" ]
|
||||
|
||||
public_configs = [
|
||||
"//third_party/abseil-cpp:absl_define_config",
|
||||
"//third_party/abseil-cpp:absl_include_config",
|
||||
]
|
||||
}
|
||||
|
||||
v8_source_set("torque_generated_initializers") {
|
||||
visibility = [ ":*" ] # Only targets in this file can depend on this.
|
||||
|
||||
@ -1442,7 +1451,10 @@ v8_source_set("torque_generated_initializers") {
|
||||
":v8_tracing",
|
||||
]
|
||||
|
||||
public_deps = [ ":v8_maybe_icu" ]
|
||||
public_deps = [
|
||||
":v8_abseil",
|
||||
":v8_maybe_icu",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"$target_gen_dir/torque-generated/csa-types.h",
|
||||
@ -1471,7 +1483,10 @@ v8_source_set("torque_generated_definitions") {
|
||||
":v8_tracing",
|
||||
]
|
||||
|
||||
public_deps = [ ":v8_maybe_icu" ]
|
||||
public_deps = [
|
||||
":v8_abseil",
|
||||
":v8_maybe_icu",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"$target_gen_dir/torque-generated/class-definitions.cc",
|
||||
@ -1758,7 +1773,10 @@ v8_source_set("v8_snapshot") {
|
||||
# Also top-level visibility targets can depend on this.
|
||||
visibility += [ "//:gn_visibility" ]
|
||||
|
||||
public_deps += [ ":v8_maybe_icu" ]
|
||||
public_deps += [
|
||||
":v8_abseil",
|
||||
":v8_maybe_icu",
|
||||
]
|
||||
|
||||
sources += [ "$target_gen_dir/snapshot.cc" ]
|
||||
}
|
||||
@ -1916,7 +1934,10 @@ v8_source_set("v8_init") {
|
||||
"src/init/setup-isolate-full.cc",
|
||||
]
|
||||
|
||||
public_deps = [ ":v8_maybe_icu" ]
|
||||
public_deps = [
|
||||
":v8_abseil",
|
||||
":v8_maybe_icu",
|
||||
]
|
||||
|
||||
configs = [ ":internal_config" ]
|
||||
}
|
||||
@ -2218,6 +2239,7 @@ v8_source_set("v8_compiler_opt") {
|
||||
public_deps = [
|
||||
":generate_bytecode_builtins_list",
|
||||
":run_torque",
|
||||
":v8_abseil",
|
||||
":v8_maybe_icu",
|
||||
":v8_tracing",
|
||||
]
|
||||
@ -2243,6 +2265,7 @@ v8_source_set("v8_compiler") {
|
||||
public_deps = [
|
||||
":generate_bytecode_builtins_list",
|
||||
":run_torque",
|
||||
":v8_abseil",
|
||||
":v8_maybe_icu",
|
||||
":v8_tracing",
|
||||
]
|
||||
@ -3790,6 +3813,7 @@ v8_source_set("v8_base_without_compiler") {
|
||||
public_deps = [
|
||||
":generate_bytecode_builtins_list",
|
||||
":run_torque",
|
||||
":v8_abseil",
|
||||
":v8_maybe_icu",
|
||||
]
|
||||
|
||||
@ -5133,7 +5157,10 @@ v8_source_set("wasm_test_common") {
|
||||
":v8_tracing",
|
||||
]
|
||||
|
||||
public_deps = [ ":v8_maybe_icu" ]
|
||||
public_deps = [
|
||||
":v8_abseil",
|
||||
":v8_maybe_icu",
|
||||
]
|
||||
|
||||
configs = [
|
||||
":external_config",
|
||||
@ -5210,7 +5237,10 @@ v8_source_set("lib_wasm_fuzzer_common") {
|
||||
":v8_tracing",
|
||||
]
|
||||
|
||||
public_deps = [ ":v8_maybe_icu" ]
|
||||
public_deps = [
|
||||
":v8_abseil",
|
||||
":v8_maybe_icu",
|
||||
]
|
||||
|
||||
configs = [
|
||||
":external_config",
|
||||
|
8
DEPS
8
DEPS
@ -45,6 +45,9 @@ vars = {
|
||||
'download_jsfunfuzz': False,
|
||||
'check_v8_header_includes': False,
|
||||
|
||||
# This variable is overrided in Chromium's DEPS file.
|
||||
'build_with_chromium': False,
|
||||
|
||||
'checkout_google_benchmark' : False,
|
||||
|
||||
'mac_xcode_version': 'default',
|
||||
@ -306,10 +309,15 @@ deps = {
|
||||
'url': Var('chromium_url') + '/external/github.com/kennethreitz/requests.git' + '@' + 'bfb93d4b7d269a8735f1b216093e7e9a9fdc4517',
|
||||
'condition': 'checkout_android',
|
||||
},
|
||||
'third_party/abseil-cpp': {
|
||||
'url': Var('chromium_url') + '/chromium/src/third_party/abseil-cpp.git' + '@' + '66b870c3b1cbbb7f85b31cc9a8a785329f5ebcb8',
|
||||
'condition': 'not build_with_chromium',
|
||||
}
|
||||
}
|
||||
|
||||
include_rules = [
|
||||
# Everybody can use some things.
|
||||
'+absl',
|
||||
'+include',
|
||||
'+unicode',
|
||||
'+third_party/fdlibm',
|
||||
|
@ -93,6 +93,7 @@ v8_component("v8_debug_helper") {
|
||||
":gen_heap_constants",
|
||||
"../..:generate_bytecode_builtins_list",
|
||||
"../..:run_torque",
|
||||
"../..:v8_abseil",
|
||||
"../..:v8_headers",
|
||||
"../..:v8_libbase",
|
||||
]
|
||||
|
@ -116,6 +116,7 @@ local function MakeClangCommandLine(
|
||||
.. " -I./"
|
||||
.. " -Iinclude/"
|
||||
.. " -Iout/build/gen"
|
||||
.. " -Ithird_party/abseil-cpp"
|
||||
.. " -Ithird_party/icu/source/common"
|
||||
.. " -Ithird_party/icu/source/i18n"
|
||||
.. " " .. arch_options
|
||||
|
Loading…
Reference in New Issue
Block a user