[bazel] Adds support to abseil

No-Try: true
Bug: v8:11006
Change-Id: Ie2758849fcb8b19ae34289d3e762094b062f2a5c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3168644
Reviewed-by: Dan Elphick <delphick@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76938}
This commit is contained in:
Victor Gomes 2021-09-20 15:52:49 +02:00 committed by V8 LUCI CQ
parent 2f48fa1130
commit 649e9113fd
2 changed files with 10 additions and 1 deletions

View File

@ -3003,6 +3003,7 @@ v8_library(
":v8_shared_internal_headers",
":v8_libbase_files",
],
deps = [ "@com_google_absl//absl/types:optional" ],
)
v8_library(
@ -3070,7 +3071,10 @@ v8_binary(
"src/regexp/special-case.h",
"src/regexp/gen-regexp-special-case.cc",
],
deps = [ "@icu" ],
deps = [
"@icu",
"@com_google_absl//absl/types:optional",
],
)
v8_binary(

View File

@ -16,6 +16,11 @@ http_archive(
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
local_repository(
name = "com_google_absl",
path = "third_party/abseil-cpp",
)
new_local_repository(
name = "zlib",
path = "third_party/zlib",