[bazel] Upstream kythe_torque targets

No-Try: true
Change-Id: Icdcd22ba16670e3e56f5610141d708c2ca2a165e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3268914
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77791}
This commit is contained in:
Victor Gomes 2021-11-09 13:16:33 +01:00 committed by V8 LUCI CQ
parent 04b9e7a16f
commit fd9e1262b0

View File

@ -2968,6 +2968,11 @@ filegroup(
],
)
filegroup(
name = "kythe_torque_headers",
srcs = glob(["src/torque/*.h"]),
)
# =================================================
# Generated files
# =================================================
@ -3137,17 +3142,15 @@ cc_library(
],
include_prefix = "third_party/v8",
includes = ["."],
visibility = ["//visibility:public"],
)
cc_library(
name = "torque_base",
name = "kythe_torque_base",
srcs = [
":torque_base_files",
],
copts = ["-fexceptions"],
features = ["-use_header_modules"],
visibility = ["//visibility:public"],
deps = [
":torque_base_headers",
":v8_libbase",