Index: third_party/WebKit/Source/core/inspector/v8/v8_inspector.gyp |
diff --git a/third_party/WebKit/Source/core/inspector/v8/v8_inspector.gyp b/third_party/WebKit/Source/core/inspector/v8/v8_inspector.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..512e4a468ff90f1e5a186f8fb247d15f7d67e96e |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/inspector/v8/v8_inspector.gyp |
@@ -0,0 +1,57 @@ |
+# Copyright 2016 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. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ # GN version: //third_party/WebKit/Source/core/inspector/v8:injected_script_sources |
+ 'target_name': 'injected_script_sources', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'injected_script', |
+ 'debugger_script', |
+ ] |
+ }, |
+ { |
+ # GN version: //third_party/WebKit/Source/core/inspector/v8:injected_script |
+ 'target_name': 'injected_script', |
+ 'type': 'none', |
+ 'actions': [ |
+ { |
+ 'action_name': 'ConvertFileToHeaderWithCharacterArray', |
+ 'inputs': [ |
+ 'build/xxd.py', |
+ 'InjectedScriptSource.js', |
+ ], |
+ 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/blink/core/inspector/v8/InjectedScriptSource.h', ], |
+ 'action': [ |
+ 'python', 'build/xxd.py', 'InjectedScriptSource_js', 'InjectedScriptSource.js', '<@(_outputs)' |
+ ], |
+ }, |
+ ], |
+ # Since this target generates header files, it needs to be a hard dependency. |
+ 'hard_dependency': 1, |
+ }, |
+ { |
+ # GN version: //third_party/WebKit/Source/core/inspector/v8:debugger_script |
+ 'target_name': 'debugger_script', |
+ 'type': 'none', |
+ 'actions': [ |
+ { |
+ 'action_name': 'ConvertFileToHeaderWithCharacterArray', |
+ 'inputs': [ |
+ 'build/xxd.py', |
+ 'DebuggerScript.js', |
+ ], |
+ 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/blink/core/inspector/v8/DebuggerScript.h', ], |
+ 'action': [ |
+ 'python', 'build/xxd.py', 'DebuggerScript_js', 'DebuggerScript.js', '<@(_outputs)' |
+ ], |
+ }, |
+ ], |
+ # Since this target generates header files, it needs to be a hard dependency. |
+ 'hard_dependency': 1, |
+ }, |
+ ], # targets |
+} |