Commit 55983c86 authored by Nico Hartmann's avatar Nico Hartmann Committed by V8 LUCI CQ

[Torque] Provide torque targets in BUILD.bazel

Bug: v8:12261
Change-Id: I685428cf689c4edcf1fda8e299cad29e31f6b12d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3218160
Auto-Submit: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77355}
parent 273b2d26
......@@ -598,6 +598,7 @@ filegroup(
"src/base/platform/platform-macos.cc",
],
}),
visibility = ["//visibility:public"],
)
filegroup(
......@@ -2290,6 +2291,7 @@ filegroup(
],
"//conditions:default": [],
}),
visibility = ["//visibility:public"],
)
filegroup(
......@@ -3008,6 +3010,30 @@ v8_mksnapshot(
# =================================================
# Libraries rules
# =================================================
cc_library(
name = "torque_base",
srcs = [
":torque_base_files",
],
copts = ["-fexceptions"],
features = ["-use_header_modules"],
visibility = ["//visibility:public"],
deps = [
":torque_base_headers",
":v8_libbase",
],
)
cc_library(
name = "torque_base_headers",
hdrs = [
"src/torque/kythe-data.h",
"src/torque/torque-compiler.h",
],
include_prefix = "third_party/v8",
includes = ["."],
visibility = ["//visibility:public"],
)
v8_library(
name = "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