[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: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#57941}
This commit is contained in:
parent
3b30f4d350
commit
f86946fda3
16
BUILD.gn
16
BUILD.gn
@ -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",
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user