Commit 3c49308a authored by Leszek Swirski's avatar Leszek Swirski Committed by Commit Bot

[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: 's avatarYang Guo <yangguo@chromium.org>
Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70786}
parent 4c28563b
...@@ -1433,6 +1433,15 @@ group("v8_maybe_icu") { ...@@ -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") { v8_source_set("torque_generated_initializers") {
visibility = [ ":*" ] # Only targets in this file can depend on this. visibility = [ ":*" ] # Only targets in this file can depend on this.
...@@ -1442,7 +1451,10 @@ v8_source_set("torque_generated_initializers") { ...@@ -1442,7 +1451,10 @@ v8_source_set("torque_generated_initializers") {
":v8_tracing", ":v8_tracing",
] ]
public_deps = [ ":v8_maybe_icu" ] public_deps = [
":v8_abseil",
":v8_maybe_icu",
]
sources = [ sources = [
"$target_gen_dir/torque-generated/csa-types.h", "$target_gen_dir/torque-generated/csa-types.h",
...@@ -1471,7 +1483,10 @@ v8_source_set("torque_generated_definitions") { ...@@ -1471,7 +1483,10 @@ v8_source_set("torque_generated_definitions") {
":v8_tracing", ":v8_tracing",
] ]
public_deps = [ ":v8_maybe_icu" ] public_deps = [
":v8_abseil",
":v8_maybe_icu",
]
sources = [ sources = [
"$target_gen_dir/torque-generated/class-definitions.cc", "$target_gen_dir/torque-generated/class-definitions.cc",
...@@ -1758,7 +1773,10 @@ v8_source_set("v8_snapshot") { ...@@ -1758,7 +1773,10 @@ v8_source_set("v8_snapshot") {
# Also top-level visibility targets can depend on this. # Also top-level visibility targets can depend on this.
visibility += [ "//:gn_visibility" ] visibility += [ "//:gn_visibility" ]
public_deps += [ ":v8_maybe_icu" ] public_deps += [
":v8_abseil",
":v8_maybe_icu",
]
sources += [ "$target_gen_dir/snapshot.cc" ] sources += [ "$target_gen_dir/snapshot.cc" ]
} }
...@@ -1916,7 +1934,10 @@ v8_source_set("v8_init") { ...@@ -1916,7 +1934,10 @@ v8_source_set("v8_init") {
"src/init/setup-isolate-full.cc", "src/init/setup-isolate-full.cc",
] ]
public_deps = [ ":v8_maybe_icu" ] public_deps = [
":v8_abseil",
":v8_maybe_icu",
]
configs = [ ":internal_config" ] configs = [ ":internal_config" ]
} }
...@@ -2218,6 +2239,7 @@ v8_source_set("v8_compiler_opt") { ...@@ -2218,6 +2239,7 @@ v8_source_set("v8_compiler_opt") {
public_deps = [ public_deps = [
":generate_bytecode_builtins_list", ":generate_bytecode_builtins_list",
":run_torque", ":run_torque",
":v8_abseil",
":v8_maybe_icu", ":v8_maybe_icu",
":v8_tracing", ":v8_tracing",
] ]
...@@ -2243,6 +2265,7 @@ v8_source_set("v8_compiler") { ...@@ -2243,6 +2265,7 @@ v8_source_set("v8_compiler") {
public_deps = [ public_deps = [
":generate_bytecode_builtins_list", ":generate_bytecode_builtins_list",
":run_torque", ":run_torque",
":v8_abseil",
":v8_maybe_icu", ":v8_maybe_icu",
":v8_tracing", ":v8_tracing",
] ]
...@@ -3790,6 +3813,7 @@ v8_source_set("v8_base_without_compiler") { ...@@ -3790,6 +3813,7 @@ v8_source_set("v8_base_without_compiler") {
public_deps = [ public_deps = [
":generate_bytecode_builtins_list", ":generate_bytecode_builtins_list",
":run_torque", ":run_torque",
":v8_abseil",
":v8_maybe_icu", ":v8_maybe_icu",
] ]
...@@ -5133,7 +5157,10 @@ v8_source_set("wasm_test_common") { ...@@ -5133,7 +5157,10 @@ v8_source_set("wasm_test_common") {
":v8_tracing", ":v8_tracing",
] ]
public_deps = [ ":v8_maybe_icu" ] public_deps = [
":v8_abseil",
":v8_maybe_icu",
]
configs = [ configs = [
":external_config", ":external_config",
...@@ -5210,7 +5237,10 @@ v8_source_set("lib_wasm_fuzzer_common") { ...@@ -5210,7 +5237,10 @@ v8_source_set("lib_wasm_fuzzer_common") {
":v8_tracing", ":v8_tracing",
] ]
public_deps = [ ":v8_maybe_icu" ] public_deps = [
":v8_abseil",
":v8_maybe_icu",
]
configs = [ configs = [
":external_config", ":external_config",
......
...@@ -45,6 +45,9 @@ vars = { ...@@ -45,6 +45,9 @@ vars = {
'download_jsfunfuzz': False, 'download_jsfunfuzz': False,
'check_v8_header_includes': False, 'check_v8_header_includes': False,
# This variable is overrided in Chromium's DEPS file.
'build_with_chromium': False,
'checkout_google_benchmark' : False, 'checkout_google_benchmark' : False,
'mac_xcode_version': 'default', 'mac_xcode_version': 'default',
...@@ -306,10 +309,15 @@ deps = { ...@@ -306,10 +309,15 @@ deps = {
'url': Var('chromium_url') + '/external/github.com/kennethreitz/requests.git' + '@' + 'bfb93d4b7d269a8735f1b216093e7e9a9fdc4517', 'url': Var('chromium_url') + '/external/github.com/kennethreitz/requests.git' + '@' + 'bfb93d4b7d269a8735f1b216093e7e9a9fdc4517',
'condition': 'checkout_android', '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 = [ include_rules = [
# Everybody can use some things. # Everybody can use some things.
'+absl',
'+include', '+include',
'+unicode', '+unicode',
'+third_party/fdlibm', '+third_party/fdlibm',
......
...@@ -93,6 +93,7 @@ v8_component("v8_debug_helper") { ...@@ -93,6 +93,7 @@ v8_component("v8_debug_helper") {
":gen_heap_constants", ":gen_heap_constants",
"../..:generate_bytecode_builtins_list", "../..:generate_bytecode_builtins_list",
"../..:run_torque", "../..:run_torque",
"../..:v8_abseil",
"../..:v8_headers", "../..:v8_headers",
"../..:v8_libbase", "../..:v8_libbase",
] ]
......
...@@ -116,6 +116,7 @@ local function MakeClangCommandLine( ...@@ -116,6 +116,7 @@ local function MakeClangCommandLine(
.. " -I./" .. " -I./"
.. " -Iinclude/" .. " -Iinclude/"
.. " -Iout/build/gen" .. " -Iout/build/gen"
.. " -Ithird_party/abseil-cpp"
.. " -Ithird_party/icu/source/common" .. " -Ithird_party/icu/source/common"
.. " -Ithird_party/icu/source/i18n" .. " -Ithird_party/icu/source/i18n"
.. " " .. arch_options .. " " .. arch_options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment