Commit 214ef26d authored by Leszek Swirski's avatar Leszek Swirski Committed by V8 LUCI CQ

Reland "[DEPS] Add abseil to deps"

This is a reland of 3c49308a

Original change's description:
> [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}

Bug: v8:11006
Change-Id: I2befd2eadd11d485eee47c68119d93be9a3e1655
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2504257
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76897}
parent 999ef891
......@@ -1776,6 +1776,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_header_set("torque_runtime_support") {
visibility = [ ":*" ]
......@@ -1796,6 +1805,7 @@ v8_source_set("torque_generated_initializers") {
public_deps = [
":torque_runtime_support",
":v8_abseil",
":v8_maybe_icu",
]
......@@ -1827,7 +1837,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-forward-declarations.h",
......@@ -2111,7 +2124,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" ]
}
......@@ -2289,7 +2305,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" ]
}
......@@ -3730,6 +3749,7 @@ v8_source_set("v8_compiler_opt") {
public_deps = [
":generate_bytecode_builtins_list",
":run_torque",
":v8_abseil",
":v8_maybe_icu",
":v8_tracing",
]
......@@ -3762,6 +3782,7 @@ v8_source_set("v8_compiler") {
public_deps = [
":generate_bytecode_builtins_list",
":run_torque",
":v8_abseil",
":v8_internal_headers",
":v8_maybe_icu",
":v8_tracing",
......@@ -4565,6 +4586,7 @@ v8_source_set("v8_base_without_compiler") {
":cppgc_base",
":generate_bytecode_builtins_list",
":run_torque",
":v8_abseil",
":v8_headers",
":v8_internal_headers",
":v8_maybe_icu",
......@@ -6092,7 +6114,10 @@ if (v8_enable_webassembly) {
":v8_tracing",
]
public_deps = [ ":v8_maybe_icu" ]
public_deps = [
":v8_abseil",
":v8_maybe_icu",
]
configs = [
":external_config",
......@@ -6172,7 +6197,10 @@ if (v8_enable_webassembly) {
":wasm_test_common",
]
public_deps = [ ":v8_maybe_icu" ]
public_deps = [
":v8_abseil",
":v8_maybe_icu",
]
configs = [
":external_config",
......
......@@ -48,6 +48,9 @@ vars = {
# reclient CIPD package version
'reclient_version': 're_client_version:0.40.0.40ff5a5',
# This variable is overrided in Chromium's DEPS file.
'build_with_chromium': False,
# GN CIPD package version.
'gn_version': 'git_revision:69ec4fca1fa69ddadae13f9e6b7507efa0675263',
......@@ -314,10 +317,15 @@ deps = {
'condition': 'host_cpu != "s390" and host_os != "aix"',
'dep_type': 'cipd',
},
'third_party/abseil-cpp': {
'url': Var('chromium_url') + '/chromium/src/third_party/abseil-cpp.git' + '@' + '6569bfcb586ad33f3f97921a3b350046c3a2af87',
'condition': 'not build_with_chromium',
}
}
include_rules = [
# Everybody can use some things.
'+absl',
'+include',
'+unicode',
'+third_party/fdlibm',
......
......@@ -95,6 +95,7 @@ v8_component("v8_debug_helper") {
":gen_heap_constants",
"../..:generate_bytecode_builtins_list",
"../..:run_torque",
"../..:v8_abseil",
"../..:v8_headers",
"../..:v8_internal_headers",
"../..:v8_libbase",
......
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