[bazel] Expose :v8 and :wee8 libraries with headers.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Change-Id: I35415a80ded1a90007c70347e9fffd97f47243a9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3346681
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78501}
This commit is contained in:
Piotr Sikora 2021-12-16 21:08:15 -08:00 committed by V8 LUCI CQ
parent ebdb7ee59f
commit 3058f02f56

View File

@ -3248,16 +3248,21 @@ v8_library(
v8_library(
name = "v8",
srcs = [":v8_inspector_files"],
hdrs = [":public_header_files"],
icu_deps = [":icu/v8_libshared"],
icu_srcs = [":icu/snapshot_files"],
noicu_deps = [":noicu/v8_libshared"],
noicu_srcs = [":noicu/snapshot_files"],
visibility = ["//visibility:public"],
)
# TODO(victorgomes): Check if v8_enable_webassembly is true.
v8_library(
name = "wee8",
srcs = [":wee8_files"],
hdrs = [":public_wasm_c_api_header_files"],
strip_include_prefix = "third_party",
visibility = ["//visibility:public"],
deps = [":noicu/v8"],
)