Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Unified Diff: third_party/WebKit/Source/core/probe/BUILD.gn

Issue 2790973002: [instrumentation] Introduce JSON5 config files for probe generator. (Closed)
Patch Set: add missing config files Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/probe/BUILD.gn
diff --git a/third_party/WebKit/Source/core/probe/BUILD.gn b/third_party/WebKit/Source/core/probe/BUILD.gn
index e6cffeb78a23df5895daf1f37f48179ee660d0ba..05eb767bb4300c493f0a44f0b64187b1f1fd062f 100644
--- a/third_party/WebKit/Source/core/probe/BUILD.gn
+++ b/third_party/WebKit/Source/core/probe/BUILD.gn
@@ -12,16 +12,14 @@ blink_core_sources("probe") {
}
action("instrumentation_probes") {
- script = "../../platform/probe/InstrumentingProbesCodeGenerator.py"
+ script = "../../build/scripts/make_instrumenting_probes.py"
inputs = [
- # Input file for the script.
"CoreProbes.pidl",
-
- # Templates
- "../../platform/probe/templates/InstrumentingProbesImpl.cpp.tmpl",
- "../../platform/probe/templates/InstrumentingProbesInl.h.tmpl",
- "../../platform/probe/templates/ProbeSink.h.tmpl",
+ "CoreProbes.json5",
+ "../../build/scripts/templates/InstrumentingProbesImpl.cpp.tmpl",
+ "../../build/scripts/templates/InstrumentingProbesInl.h.tmpl",
+ "../../build/scripts/templates/ProbeSink.h.tmpl",
]
outputs = [
@@ -33,6 +31,8 @@ action("instrumentation_probes") {
args = [
rebase_path(inputs[0], root_build_dir),
+ "--config",
+ rebase_path("CoreProbes.json5", root_build_dir),
"--output_dir",
rebase_path(blink_core_output_dir, root_build_dir),
]
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/ProbeSink.h.tmpl ('k') | third_party/WebKit/Source/core/probe/CoreProbes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698