Commit ee3c9f2b authored by Victor Gomes's avatar Victor Gomes Committed by V8 LUCI CQ

[bazel] Upstream Google3 changes

No-Try: true
Change-Id: I9a7be37f6f1a404fb5c3517b5fdb4008aaaec45a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3295460
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78041}
parent 84c937b7
......@@ -359,6 +359,19 @@ v8_config(
# File group rules
# =================================================
filegroup(
name = "public_header_files",
srcs = glob(["include/**/*.h"]),
)
filegroup(
name = "public_wasm_c_api_header_files",
srcs = [
"third_party/wasm-api/wasm.h",
"third_party/wasm-api/wasm.hh",
],
)
filegroup(
name = "v8_config_headers_files",
srcs = [
......
......@@ -206,6 +206,7 @@ def v8_library(
copts = copts + default.copts,
linkopts = linkopts + default.linkopts,
alwayslink = 1,
linkstatic = 1,
**kwargs
)
# Alias target used because of cc_library bug in bazel on windows
......@@ -223,6 +224,7 @@ def v8_library(
copts = copts + default.copts + ENABLE_I18N_SUPPORT_DEFINES,
linkopts = linkopts + default.linkopts,
alwayslink = 1,
linkstatic = 1,
**kwargs
)
# Alias target used because of cc_library bug in bazel on windows
......@@ -241,6 +243,7 @@ def v8_library(
copts = copts + default.copts,
linkopts = linkopts + default.linkopts,
alwayslink = 1,
linkstatic = 1,
**kwargs
)
......
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