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

Unified Diff: third_party/WebKit/Source/platform/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/platform/BUILD.gn
diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn
index 7fb9a709d2b2197b14dee92abd77f5cc6373b918..9b721df0f14d394e69572696d8be29df71695bb3 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -133,14 +133,15 @@ action("character_data") {
}
action("instrumentation_probes") {
- script = "probe/InstrumentingProbesCodeGenerator.py"
+ script = "../build/scripts/make_instrumenting_probes.py"
input_file = "probe/PlatformProbes.pidl"
inputs = [
input_file,
- "probe/templates/InstrumentingProbesImpl.cpp.tmpl",
- "probe/templates/InstrumentingProbesInl.h.tmpl",
- "probe/templates/ProbeSink.h.tmpl",
+ "probe/PlatformProbes.json5",
+ "../build/scripts/templates/InstrumentingProbesImpl.cpp.tmpl",
+ "../build/scripts/templates/InstrumentingProbesInl.h.tmpl",
+ "../build/scripts/templates/ProbeSink.h.tmpl",
]
outputs = [
@@ -151,6 +152,8 @@ action("instrumentation_probes") {
args = [
rebase_path(inputs[0], root_build_dir),
+ "--config",
+ rebase_path("probe/PlatformProbes.json5", root_build_dir),
"--output_dir",
rebase_path(blink_platform_output_dir, root_build_dir),
]

Powered by Google App Engine
This is Rietveld 408576698