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

Side by Side Diff: src/inspector/BUILD.gn

Issue 2206573004: Revert of [inspector] include additional outputs from protocol handler generator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | src/inspector/inspector.gyp » ('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 2016 the V8 project authors. All rights reserved. 1 # Copyright 2016 the V8 project 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 protocol_path = "//third_party/WebKit/Source/platform/inspector_protocol" 5 protocol_path = "//third_party/WebKit/Source/platform/inspector_protocol"
6 protocol_sources = [ 6 protocol_sources = [
7 "$target_gen_dir/Console.cpp", 7 "$target_gen_dir/Console.cpp",
8 "$target_gen_dir/Console.h", 8 "$target_gen_dir/Console.h",
9 "$target_gen_dir/Debugger.cpp", 9 "$target_gen_dir/Debugger.cpp",
10 "$target_gen_dir/Debugger.h", 10 "$target_gen_dir/Debugger.h",
11 "$target_gen_dir/HeapProfiler.cpp", 11 "$target_gen_dir/HeapProfiler.cpp",
12 "$target_gen_dir/HeapProfiler.h", 12 "$target_gen_dir/HeapProfiler.h",
13 "$target_gen_dir/Profiler.cpp", 13 "$target_gen_dir/Profiler.cpp",
14 "$target_gen_dir/Profiler.h", 14 "$target_gen_dir/Profiler.h",
15 "$target_gen_dir/public/Debugger.h",
16 "$target_gen_dir/public/Runtime.h",
17 "$target_gen_dir/Runtime.cpp", 15 "$target_gen_dir/Runtime.cpp",
18 "$target_gen_dir/Runtime.h", 16 "$target_gen_dir/Runtime.h",
19 ] 17 ]
20 18
21 action("inspector_protocol_sources") { 19 action("inspector_protocol_sources") {
22 visibility = [ ":*" ] # Only targets in this file can depend on this. 20 visibility = [ ":*" ] # Only targets in this file can depend on this.
23 script = "$protocol_path/CodeGenerator.py" 21 script = "$protocol_path/CodeGenerator.py"
24 sources = [ 22 sources = [
25 "$protocol_path/CodeGenerator.py", 23 "$protocol_path/CodeGenerator.py",
26 "$protocol_path/Exported_h.template", 24 "$protocol_path/Exported_h.template",
27 "$protocol_path/Imported_h.template", 25 "$protocol_path/Imported_h.template",
28 "$protocol_path/TypeBuilder_cpp.template", 26 "$protocol_path/TypeBuilder_cpp.template",
29 "$protocol_path/TypeBuilder_h.template", 27 "$protocol_path/TypeBuilder_h.template",
30 ] 28 ]
31 inputs = [ 29 inputs = [
32 "js_protocol.json", 30 "js_protocol.json",
33 ] 31 ]
34 outputs = protocol_sources 32 outputs = protocol_sources
35 args = [ 33 args = [
36 "--protocol", 34 "--protocol",
37 rebase_path("js_protocol.json", root_build_dir), 35 rebase_path("js_protocol.json", root_build_dir),
38 "--string_type", 36 "--string_type",
39 "String", 37 "String",
40 "--export_macro", 38 "--export_macro",
41 "PLATFORM_EXPORT", 39 "PLATFORM_EXPORT",
42 "--output_dir", 40 "--output_dir",
43 rebase_path(target_gen_dir, root_build_dir), 41 rebase_path(target_gen_dir, root_build_dir),
44 "--output_package", 42 "--output_package",
45 "inspector", 43 "inspector",
46 "--exported_dir",
47 rebase_path("$target_gen_dir/public", root_build_dir),
48 "--exported_package",
49 "inspector/public",
50 ] 44 ]
51 } 45 }
52 46
53 config("inspector_protocol_config") { 47 config("inspector_protocol_config") {
54 include_dirs = [ 48 include_dirs = [
55 "$protocol_path/../..", 49 "$protocol_path/../..",
56 ] 50 ]
57 defines = [ 51 defines = [
58 "V8_INSPECTOR_USE_STL" 52 "V8_INSPECTOR_USE_STL"
59 ] 53 ]
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 "$protocol_path/Platform.h", 93 "$protocol_path/Platform.h",
100 "$protocol_path/PlatformSTL.h", 94 "$protocol_path/PlatformSTL.h",
101 "$protocol_path/String16.h", 95 "$protocol_path/String16.h",
102 "$protocol_path/String16STL.cpp", 96 "$protocol_path/String16STL.cpp",
103 "$protocol_path/String16STL.h", 97 "$protocol_path/String16STL.h",
104 "$protocol_path/ValueConversions.h", 98 "$protocol_path/ValueConversions.h",
105 "$protocol_path/Values.cpp", 99 "$protocol_path/Values.cpp",
106 "$protocol_path/Values.h", 100 "$protocol_path/Values.h",
107 ] 101 ]
108 } 102 }
OLDNEW
« no previous file with comments | « no previous file | src/inspector/inspector.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698