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

Side by Side Diff: Source/core/inspector/BUILD.gn

Issue 319983003: Work on blink GN bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix lots of dirs, comment out some tests that don't link Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/core_generated.gyp ('k') | Source/modules/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/build/convert_file_to_header_with_character_ array.gni") 5 import("//third_party/WebKit/Source/build/convert_file_to_header_with_character_ array.gni")
6 import("//third_party/WebKit/Source/bindings/bindings.gni") 6 import("//third_party/WebKit/Source/bindings/bindings.gni")
7 import("//third_party/WebKit/Source/core/core.gni")
7 8
8 blink_gen_dir = "$root_gen_dir/blink"
9 protocol_file = "../../devtools/protocol.json" 9 protocol_file = "../../devtools/protocol.json"
10 10
11 action("protocol_sources") { 11 action("protocol_sources") {
12 script = "CodeGeneratorInspector.py" 12 script = "CodeGeneratorInspector.py"
13 13
14 source_prereqs = [ 14 source_prereqs = [
15 # The helper script imported by CodeGeneratorInspector.py. 15 # The helper script imported by CodeGeneratorInspector.py.
16 "CodeGeneratorInspectorStrings.py", 16 "CodeGeneratorInspectorStrings.py",
17 protocol_file, 17 protocol_file,
18 ] 18 ]
19 outputs = [ 19 outputs = [
20 "$blink_gen_dir/InspectorBackendDispatcher.cpp", 20 "$blink_core_output_dir/InspectorBackendDispatcher.cpp",
21 "$blink_gen_dir/InspectorBackendDispatcher.h", 21 "$blink_core_output_dir/InspectorBackendDispatcher.h",
22 "$blink_gen_dir/InspectorFrontend.cpp", 22 "$blink_core_output_dir/InspectorFrontend.cpp",
23 "$blink_gen_dir/InspectorFrontend.h", 23 "$blink_core_output_dir/InspectorFrontend.h",
24 "$blink_gen_dir/InspectorTypeBuilder.cpp", 24 "$blink_core_output_dir/InspectorTypeBuilder.cpp",
25 "$blink_gen_dir/InspectorTypeBuilder.h", 25 "$blink_core_output_dir/InspectorTypeBuilder.h",
26 ] 26 ]
27 27
28 args = [ 28 args = [
29 rebase_path(protocol_file, root_build_dir), 29 rebase_path(protocol_file, root_build_dir),
30 "--output_dir", rebase_path(blink_gen_dir, root_build_dir), 30 "--output_dir", rebase_path(blink_core_output_dir, root_build_dir),
31 ] 31 ]
32 32
33 deps = [ 33 deps = [
34 ":protocol_version", 34 ":protocol_version",
35 ] 35 ]
36 } 36 }
37 37
38 action("instrumentation_sources") { 38 action("instrumentation_sources") {
39 script = "CodeGeneratorInstrumentation.py" 39 script = "CodeGeneratorInstrumentation.py"
40 40
41 source_prereqs = [ 41 source_prereqs = [
42 # Input file for the script. 42 # Input file for the script.
43 "InspectorInstrumentation.idl", 43 "InspectorInstrumentation.idl",
44 ] 44 ]
45 45
46 outputs = [ 46 outputs = [
47 "$blink_gen_dir/InspectorCanvasInstrumentationInl.h", 47 "$blink_core_output_dir/InspectorCanvasInstrumentationInl.h",
48 "$blink_gen_dir/InspectorConsoleInstrumentationInl.h", 48 "$blink_core_output_dir/InspectorConsoleInstrumentationInl.h",
49 "$blink_gen_dir/InspectorInstrumentationInl.h", 49 "$blink_core_output_dir/InspectorInstrumentationInl.h",
50 "$blink_gen_dir/InspectorOverridesInl.h", 50 "$blink_core_output_dir/InspectorOverridesInl.h",
51 "$blink_gen_dir/InstrumentingAgentsInl.h", 51 "$blink_core_output_dir/InstrumentingAgentsInl.h",
52 "$blink_gen_dir/InspectorInstrumentationImpl.cpp", 52 "$blink_core_output_dir/InspectorInstrumentationImpl.cpp",
53 ] 53 ]
54 54
55 args = [ 55 args = [
56 rebase_path("InspectorInstrumentation.idl", root_build_dir), 56 rebase_path("InspectorInstrumentation.idl", root_build_dir),
57 "--output_dir", rebase_path(blink_gen_dir, root_build_dir), 57 "--output_dir", rebase_path(blink_core_output_dir, root_build_dir),
58 ] 58 ]
59 } 59 }
60 60
61 action("protocol_version") { 61 action("protocol_version") {
62 script = "generate-inspector-protocol-version" 62 script = "generate-inspector-protocol-version"
63 63
64 source_prereqs = [ protocol_file ] 64 source_prereqs = [ protocol_file ]
65 output_file = "$blink_gen_dir/InspectorProtocolVersion.h" 65 output_file = "$blink_core_output_dir/InspectorProtocolVersion.h"
66 outputs = [ output_file ] 66 outputs = [ output_file ]
67 67
68 args = [ 68 args = [
69 "-o", rebase_path(output_file, root_build_dir), 69 "-o", rebase_path(output_file, root_build_dir),
70 rebase_path(protocol_file, root_build_dir), 70 rebase_path(protocol_file, root_build_dir),
71 ] 71 ]
72 } 72 }
73 73
74 convert_file_to_header_with_character_array("inspector_overlay_page") { 74 convert_file_to_header_with_character_array("inspector_overlay_page") {
75 input_file_path = "InspectorOverlayPage.html" 75 input_file_path = "InspectorOverlayPage.html"
76 output_file_path = "$blink_gen_dir/InspectorOverlayPage.h" 76 output_file_path = "$blink_core_output_dir/InspectorOverlayPage.h"
77 character_array_name = "InspectorOverlayPage_html" 77 character_array_name = "InspectorOverlayPage_html"
78 } 78 }
79 79
80 convert_file_to_header_with_character_array("injected_canvas_script_source") { 80 convert_file_to_header_with_character_array("injected_canvas_script_source") {
81 input_file_path = "InjectedScriptCanvasModuleSource.js" 81 input_file_path = "InjectedScriptCanvasModuleSource.js"
82 output_file_path = "$blink_gen_dir/InjectedScriptCanvasModuleSource.h" 82 output_file_path = "$blink_core_output_dir/InjectedScriptCanvasModuleSource.h"
83 character_array_name = "InjectedScriptCanvasModuleSource_js" 83 character_array_name = "InjectedScriptCanvasModuleSource_js"
84 } 84 }
85 85
86 convert_file_to_header_with_character_array("injected_script_source") { 86 convert_file_to_header_with_character_array("injected_script_source") {
87 input_file_path = "InjectedScriptSource.js" 87 input_file_path = "InjectedScriptSource.js"
88 output_file_path = "$blink_gen_dir/InjectedScriptSource.h" 88 output_file_path = "$blink_core_output_dir/InjectedScriptSource.h"
89 character_array_name = "InjectedScriptSource_js" 89 character_array_name = "InjectedScriptSource_js"
90 } 90 }
91 91
92 convert_file_to_header_with_character_array("debugger_script_source") { 92 convert_file_to_header_with_character_array("debugger_script_source") {
93 input_file_path = "$bindings_v8_dir/DebuggerScript.js" 93 input_file_path = "$bindings_v8_dir/DebuggerScript.js"
94 output_file_path = "$blink_gen_dir/DebuggerScriptSource.h" 94 output_file_path = "$blink_core_output_dir/DebuggerScriptSource.h"
95 character_array_name = "DebuggerScriptSource_js" 95 character_array_name = "DebuggerScriptSource_js"
96 } 96 }
OLDNEW
« no previous file with comments | « Source/core/core_generated.gyp ('k') | Source/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698