blob: 687a379614965eeebe4c420add8fbef59444abe7 [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/WebKit/Source/bindings/bindings.gni")
import("//third_party/WebKit/Source/core/core.gni")
visibility = [ "//third_party/WebKit/Source/*" ]
action("instrumentation_sources") {
script = "CodeGeneratorInstrumentation.py"
inputs = [
# Input file for the script.
"InspectorInstrumentation.idl",
]
outputs = [
"$blink_core_output_dir/InspectorConsoleInstrumentationInl.h",
"$blink_core_output_dir/InspectorInstrumentationInl.h",
"$blink_core_output_dir/InspectorOverridesInl.h",
"$blink_core_output_dir/InstrumentingAgentsInl.h",
"$blink_core_output_dir/InspectorInstrumentationImpl.cpp",
]
args = [
rebase_path("InspectorInstrumentation.idl", root_build_dir),
"--output_dir",
rebase_path(blink_core_output_dir, root_build_dir),
]
}