| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//third_party/WebKit/Source/bindings/bindings.gni") | 5 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| 6 import("//third_party/WebKit/Source/core/core.gni") | 6 import("//third_party/WebKit/Source/core/core.gni") |
| 7 | 7 |
| 8 visibility = [ "//third_party/WebKit/Source/*" ] | 8 visibility = [ "//third_party/WebKit/Source/*" ] |
| 9 | 9 |
| 10 action("instrumentation_sources") { | 10 action("instrumentation_sources") { |
| 11 script = "CodeGeneratorInstrumentation.py" | 11 script = "CodeGeneratorInstrumentation.py" |
| 12 | 12 |
| 13 inputs = [ | 13 inputs = [ |
| 14 # Input file for the script. | 14 # Input file for the script. |
| 15 "InspectorInstrumentation.idl", | 15 "InspectorInstrumentation.idl", |
| 16 ] | 16 ] |
| 17 | 17 |
| 18 outputs = [ | 18 outputs = [ |
| 19 "$blink_core_output_dir/InspectorConsoleInstrumentationInl.h", | 19 "$blink_core_output_dir/InspectorConsoleInstrumentationInl.h", |
| 20 "$blink_core_output_dir/InspectorInstrumentationInl.h", | 20 "$blink_core_output_dir/InspectorInstrumentationInl.h", |
| 21 "$blink_core_output_dir/InspectorOverridesInl.h", | 21 "$blink_core_output_dir/InspectorOverridesInl.h", |
| 22 "$blink_core_output_dir/InstrumentingAgentsInl.h", | 22 "$blink_core_output_dir/InstrumentingAgents.h", |
| 23 "$blink_core_output_dir/InspectorInstrumentationImpl.cpp", | 23 "$blink_core_output_dir/InspectorInstrumentationImpl.cpp", |
| 24 ] | 24 ] |
| 25 | 25 |
| 26 args = [ | 26 args = [ |
| 27 rebase_path("InspectorInstrumentation.idl", root_build_dir), | 27 rebase_path("InspectorInstrumentation.idl", root_build_dir), |
| 28 "--output_dir", | 28 "--output_dir", |
| 29 rebase_path(blink_core_output_dir, root_build_dir), | 29 rebase_path(blink_core_output_dir, root_build_dir), |
| 30 ] | 30 ] |
| 31 } | 31 } |
| OLD | NEW |