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

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

Issue 2187263002: Revert "[inspector] add inspector protocol parser test build target for GYP." (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 | « gypfiles/standalone.gypi ('k') | 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
(Empty)
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
3 # found in the LICENSE file.
4
5 protocol_path = "//third_party/WebKit/Source/platform/inspector_protocol"
6 protocol_sources = [
7 "$target_gen_dir/Console.cpp",
8 "$target_gen_dir/Console.h",
9 "$target_gen_dir/Debugger.cpp",
10 "$target_gen_dir/Debugger.h",
11 "$target_gen_dir/HeapProfiler.cpp",
12 "$target_gen_dir/HeapProfiler.h",
13 "$target_gen_dir/Profiler.cpp",
14 "$target_gen_dir/Profiler.h",
15 "$target_gen_dir/Runtime.cpp",
16 "$target_gen_dir/Runtime.h",
17 ]
18
19 action("inspector_protocol_sources") {
20 visibility = [ ":*" ] # Only targets in this file can depend on this.
21 script = "$protocol_path/CodeGenerator.py"
22 sources = [
23 "$protocol_path/CodeGenerator.py",
24 "$protocol_path/Exported_h.template",
25 "$protocol_path/Imported_h.template",
26 "$protocol_path/TypeBuilder_cpp.template",
27 "$protocol_path/TypeBuilder_h.template",
28 ]
29 inputs = [
30 "js_protocol.json",
31 ]
32 outputs = protocol_sources
33 args = [
34 "--protocol",
35 rebase_path("js_protocol.json", root_build_dir),
36 "--string_type",
37 "String",
38 "--export_macro",
39 "PLATFORM_EXPORT",
40 "--output_dir",
41 rebase_path(target_gen_dir, root_build_dir),
42 "--output_package",
43 "inspector",
44 ]
45 }
46
47 config("inspector_protocol_config") {
48 include_dirs = [
49 "$protocol_path/../..",
50 ]
51 defines = [
52 "V8_INSPECTOR_USE_STL"
53 ]
54 }
55
56 source_set("inspector_protocol") {
57 deps = [
58 ":inspector_protocol_sources",
59 ]
60 configs += [
61 ":inspector_protocol_config"
62 ]
63 include_dirs = [
64 "$target_gen_dir/..",
65 ]
66 sources = protocol_sources + [
67 "$protocol_path/Allocator.h",
68 "$protocol_path/Array.h",
69 "$protocol_path/BackendCallback.h",
70 "$protocol_path/CodeGenerator.py",
71 "$protocol_path/Collections.h",
72 "$protocol_path/DispatcherBase.cpp",
73 "$protocol_path/DispatcherBase.h",
74 "$protocol_path/ErrorSupport.cpp",
75 "$protocol_path/ErrorSupport.h",
76 "$protocol_path/FrontendChannel.h",
77 "$protocol_path/Maybe.h",
78 "$protocol_path/Object.cpp",
79 "$protocol_path/Object.h",
80 "$protocol_path/Parser.cpp",
81 "$protocol_path/Parser.h",
82 "$protocol_path/Platform.h",
83 "$protocol_path/PlatformSTL.h",
84 "$protocol_path/String16.h",
85 "$protocol_path/String16STL.cpp",
86 "$protocol_path/String16STL.h",
87 "$protocol_path/ValueConversions.h",
88 "$protocol_path/Values.cpp",
89 "$protocol_path/Values.h",
90 ]
91 }
OLDNEW
« no previous file with comments | « gypfiles/standalone.gypi ('k') | src/inspector/inspector.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698