OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 v8_inspector_output_dir = "$root_gen_dir/blink/core/inspector/v8" |
| 6 |
| 7 group("injected_script_sources") { |
| 8 public_deps = [ |
| 9 ":debugger_script", |
| 10 ":injected_script", |
| 11 ] |
| 12 } |
| 13 |
| 14 action("injected_script") { |
| 15 script = "build/xxd.py" |
| 16 inputs = [ |
| 17 "InjectedScriptSource.js", |
| 18 ] |
| 19 outputs = [ |
| 20 "$v8_inspector_output_dir/InjectedScriptSource.h", |
| 21 ] |
| 22 args = [ |
| 23 "InjectedScriptSource_js", |
| 24 rebase_path("InjectedScriptSource.js", root_build_dir), |
| 25 rebase_path("$v8_inspector_output_dir/InjectedScriptSource.h", |
| 26 root_build_dir), |
| 27 ] |
| 28 } |
| 29 |
| 30 action("debugger_script") { |
| 31 script = "build/xxd.py" |
| 32 inputs = [ |
| 33 "DebuggerScript.js", |
| 34 ] |
| 35 outputs = [ |
| 36 "$v8_inspector_output_dir/DebuggerScript.h", |
| 37 ] |
| 38 args = [ |
| 39 "DebuggerScript_js", |
| 40 rebase_path("DebuggerScript.js", root_build_dir), |
| 41 rebase_path("$v8_inspector_output_dir/DebuggerScript.h", root_build_dir), |
| 42 ] |
| 43 } |
OLD | NEW |