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

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

Issue 2760363002: [instrumentation] Generalize instrumentation to be used beyond the core layer (Closed)
Patch Set: 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/inspector/BUILD.gn
diff --git a/third_party/WebKit/Source/core/inspector/BUILD.gn b/third_party/WebKit/Source/core/inspector/BUILD.gn
index 1a179aafe75c55fcf37911464b59a2181d954d99..b46725bbdc2746c04200a4eb5cbd2137cbdc4979 100644
--- a/third_party/WebKit/Source/core/inspector/BUILD.gn
+++ b/third_party/WebKit/Source/core/inspector/BUILD.gn
@@ -96,25 +96,27 @@ blink_core_sources("inspector") {
action("instrumentation_probes") {
visibility = [ ":*" ]
- script = "InstrumentingProbesCodeGenerator.py"
+ script = "../../platform/instrumentation/InstrumentingProbesCodeGenerator.py"
inputs = [
# Input file for the script.
- "InstrumentingProbes.idl",
- "InstrumentingProbesImpl_cpp.template",
- "InstrumentingProbesImpl_h.template",
- "InstrumentingAgents_h.template",
+ "InspectorInstrumentation.idl",
+
+ # Templates
+ "../../platform/instrumentation/InstrumentingProbesImpl_cpp.template",
+ "../../platform/instrumentation/InstrumentingProbesImpl_h.template",
+ "../../platform/instrumentation/InstrumentingAgents_h.template",
]
outputs = [
"$blink_core_output_dir/InspectorInstrumentationInl.h",
"$blink_core_output_dir/InspectorOverridesInl.h",
- "$blink_core_output_dir/InstrumentingProbesImpl.cpp",
- "$blink_core_output_dir/InstrumentingAgents.h",
+ "$blink_core_output_dir/InspectorInstrumentationImpl.cpp",
+ "$blink_core_output_dir/InspectorInstrumentationAgents.h",
]
args = [
- rebase_path("InstrumentingProbes.idl", root_build_dir),
+ rebase_path(inputs[0], root_build_dir),
"--output_dir",
rebase_path(blink_core_output_dir, root_build_dir),
]

Powered by Google App Engine
This is Rietveld 408576698