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

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

Issue 2239603002: [inspector] Remove inspector_protocol_parser_test target. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: format build files 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/all.gyp ('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
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",
(...skipping 18 matching lines...) Expand all
29 "$protocol_path/TypeBuilder_h.template", 29 "$protocol_path/TypeBuilder_h.template",
30 ] 30 ]
31 inputs = [ 31 inputs = [
32 "js_protocol.json", 32 "js_protocol.json",
33 ] 33 ]
34 outputs = protocol_sources 34 outputs = protocol_sources
35 args = [ 35 args = [
36 "--protocol", 36 "--protocol",
37 rebase_path("js_protocol.json", root_build_dir), 37 rebase_path("js_protocol.json", root_build_dir),
38 "--string_type", 38 "--string_type",
39 "String", 39 "String16",
40 "--export_macro", 40 "--export_macro",
41 "PLATFORM_EXPORT", 41 "PLATFORM_EXPORT",
42 "--output_dir", 42 "--output_dir",
43 rebase_path(target_gen_dir, root_build_dir), 43 rebase_path(target_gen_dir, root_build_dir),
44 "--output_package", 44 "--output_package",
45 "inspector", 45 "inspector",
46 "--exported_dir", 46 "--exported_dir",
47 rebase_path("$target_gen_dir/public", root_build_dir), 47 rebase_path("$target_gen_dir/public", root_build_dir),
48 "--exported_package", 48 "--exported_package",
49 "inspector/public", 49 "inspector/public",
50 ] 50 ]
51 } 51 }
52 52
53 config("inspector_protocol_config") { 53 config("inspector_protocol_config") {
54 include_dirs = [ 54 include_dirs = [ "$protocol_path/../.." ]
55 "$protocol_path/../..", 55 defines = [ "V8_INSPECTOR_USE_STL" ]
56 ]
57 defines = [
58 "V8_INSPECTOR_USE_STL"
59 ]
60 cflags = [] 56 cflags = []
61 if (is_win) { 57 if (is_win) {
62 cflags += [ 58 cflags += [
63 "/wd4267", # Truncation from size_t to int. 59 "/wd4267", # Truncation from size_t to int.
64 "/wd4305", # Truncation from 'type1' to 'type2'. 60 "/wd4305", # Truncation from 'type1' to 'type2'.
65 "/wd4324", # Struct padded due to declspec(align). 61 "/wd4324", # Struct padded due to declspec(align).
66 "/wd4714", # Function marked forceinline not inlined. 62 "/wd4714", # Function marked forceinline not inlined.
67 "/wd4800", # Value forced to bool. 63 "/wd4800", # Value forced to bool.
68 "/wd4996", # Deprecated function call. 64 "/wd4996", # Deprecated function call.
69 ] 65 ]
70 } 66 }
71 } 67 }
72 68
73 source_set("inspector_protocol") { 69 source_set("inspector_protocol") {
74 deps = [ 70 deps = [
75 ":inspector_protocol_sources", 71 ":inspector_protocol_sources",
76 ] 72 ]
77 configs += [ 73 configs += [ ":inspector_protocol_config" ]
78 ":inspector_protocol_config" 74 include_dirs = [ "$target_gen_dir/.." ]
79 ]
80 include_dirs = [
81 "$target_gen_dir/..",
82 ]
83 sources = protocol_sources + [ 75 sources = protocol_sources + [
84 "$protocol_path/Allocator.h", 76 "$protocol_path/Allocator.h",
85 "$protocol_path/Array.h", 77 "$protocol_path/Array.h",
86 "$protocol_path/BackendCallback.h", 78 "$protocol_path/BackendCallback.h",
87 "$protocol_path/CodeGenerator.py", 79 "$protocol_path/CodeGenerator.py",
88 "$protocol_path/Collections.h", 80 "$protocol_path/Collections.h",
89 "$protocol_path/DispatcherBase.cpp", 81 "$protocol_path/DispatcherBase.cpp",
90 "$protocol_path/DispatcherBase.h", 82 "$protocol_path/DispatcherBase.h",
91 "$protocol_path/ErrorSupport.cpp", 83 "$protocol_path/ErrorSupport.cpp",
92 "$protocol_path/ErrorSupport.h", 84 "$protocol_path/ErrorSupport.h",
93 "$protocol_path/FrontendChannel.h", 85 "$protocol_path/FrontendChannel.h",
94 "$protocol_path/Maybe.h", 86 "$protocol_path/Maybe.h",
95 "$protocol_path/Object.cpp", 87 "$protocol_path/Object.cpp",
96 "$protocol_path/Object.h", 88 "$protocol_path/Object.h",
97 "$protocol_path/Parser.cpp", 89 "$protocol_path/Parser.cpp",
98 "$protocol_path/Parser.h", 90 "$protocol_path/Parser.h",
99 "$protocol_path/Platform.h", 91 "$protocol_path/Platform.h",
100 "$protocol_path/PlatformSTL.h", 92 "$protocol_path/PlatformSTL.h",
101 "$protocol_path/String16.h", 93 "$protocol_path/String16.cpp",
102 "$protocol_path/String16STL.cpp", 94 "$protocol_path/String16.h",
103 "$protocol_path/String16STL.h", 95 "$protocol_path/String16STL.cpp",
104 "$protocol_path/ValueConversions.h", 96 "$protocol_path/String16STL.h",
105 "$protocol_path/Values.cpp", 97 "$protocol_path/ValueConversions.h",
106 "$protocol_path/Values.h", 98 "$protocol_path/Values.cpp",
107 ] 99 "$protocol_path/Values.h",
100 ]
108 } 101 }
OLDNEW
« no previous file with comments | « gypfiles/all.gyp ('k') | src/inspector/inspector.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698