Commit f86946fd authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

[tools] Add ninja targets that generate all generated .cc files

This adds a new target :generated_cc_files which generates all
generated .cc files and is quick to build (~5sec on my machine).

TBR=yangguo@chromium.org

Change-Id: I51485635671b55302b06f1ea300e86ef1745931e
Bug: v8:8526
Reviewed-on: https://chromium-review.googlesource.com/c/1354881
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57941}
parent 3b30f4d3
......@@ -4159,3 +4159,19 @@ v8_source_set("wasm_compile_fuzzer") {
v8_fuzzer("wasm_compile_fuzzer") {
}
# Target to build all generated .cc files.
group("v8_generated_cc_files") {
testonly = true
deps = [
":d8_js2c",
":generate_bytecode_builtins_list",
":js2c",
":js2c_experimental_extras",
":js2c_extras",
":run_torque",
"src/inspector:v8_generated_cc_files",
"test/cctest:v8_generated_cc_files",
]
}
......@@ -137,3 +137,12 @@ v8_source_set("inspector") {
"wasm-translation.h",
]
}
#Target to generate all .cc files.
group("v8_generated_cc_files") {
testonly = true
deps = [
":protocol_generated_sources",
]
}
......@@ -489,3 +489,12 @@ v8_executable("generate-bytecode-expectations") {
"//build/win:default_exe_manifest",
]
}
#Target to generate all .cc files.
group("v8_generated_cc_files") {
testonly = true
deps = [
":resources",
]
}
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