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

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

Issue 2800213002: Avoid duplicate functions/code in core/inspector.
Patch Set: A third way Created 3 years, 5 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
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/bindings/bindings.gni") 5 import("//third_party/WebKit/Source/bindings/bindings.gni")
6 import("//third_party/WebKit/Source/core/core.gni") 6 import("//third_party/WebKit/Source/core/core.gni")
7 import("//third_party/inspector_protocol/inspector_protocol.gni") 7 import("//third_party/inspector_protocol/inspector_protocol.gni")
8 import("//v8/gni/v8.gni") 8 import("//v8/gni/v8.gni")
9 9
10 _inspector_protocol_dir = "//third_party/inspector_protocol" 10 _inspector_protocol_dir = "//third_party/inspector_protocol"
11 11
12 blink_core_sources("inspector") { 12 blink_core_sources("inspector") {
13 sources = [ 13 sources = [
14 "AddStringToDigestor.cpp",
15 "AddStringToDigestor.h",
16 "ConsoleMessage.cpp", 14 "ConsoleMessage.cpp",
17 "ConsoleMessage.h", 15 "ConsoleMessage.h",
18 "ConsoleMessageStorage.cpp", 16 "ConsoleMessageStorage.cpp",
19 "ConsoleMessageStorage.h", 17 "ConsoleMessageStorage.h",
20 "ConsoleTypes.h", 18 "ConsoleTypes.h",
21 "DOMEditor.cpp", 19 "DOMEditor.cpp",
22 "DOMEditor.h", 20 "DOMEditor.h",
23 "DOMPatchSupport.cpp", 21 "DOMPatchSupport.cpp",
24 "DOMPatchSupport.h", 22 "DOMPatchSupport.h",
25 "DevToolsEmulator.cpp", 23 "DevToolsEmulator.cpp",
(...skipping 13 matching lines...) Expand all
39 "InspectorCSSAgent.h", 37 "InspectorCSSAgent.h",
40 "InspectorDOMAgent.cpp", 38 "InspectorDOMAgent.cpp",
41 "InspectorDOMAgent.h", 39 "InspectorDOMAgent.h",
42 "InspectorDOMDebuggerAgent.cpp", 40 "InspectorDOMDebuggerAgent.cpp",
43 "InspectorDOMDebuggerAgent.h", 41 "InspectorDOMDebuggerAgent.h",
44 "InspectorDOMSnapshotAgent.cpp", 42 "InspectorDOMSnapshotAgent.cpp",
45 "InspectorDOMSnapshotAgent.h", 43 "InspectorDOMSnapshotAgent.h",
46 "InspectorEmulationAgent.cpp", 44 "InspectorEmulationAgent.cpp",
47 "InspectorEmulationAgent.h", 45 "InspectorEmulationAgent.h",
48 "InspectorFrontendClient.h", 46 "InspectorFrontendClient.h",
47 "InspectorHelpers.cpp",
48 "InspectorHelpers.h",
49 "InspectorHighlight.cpp", 49 "InspectorHighlight.cpp",
50 "InspectorHighlight.h", 50 "InspectorHighlight.h",
51 "InspectorHistory.cpp", 51 "InspectorHistory.cpp",
52 "InspectorHistory.h", 52 "InspectorHistory.h",
53 "InspectorInputAgent.cpp", 53 "InspectorInputAgent.cpp",
54 "InspectorInputAgent.h", 54 "InspectorInputAgent.h",
55 "InspectorLayerTreeAgent.cpp", 55 "InspectorLayerTreeAgent.cpp",
56 "InspectorLayerTreeAgent.h", 56 "InspectorLayerTreeAgent.h",
57 "InspectorLogAgent.cpp", 57 "InspectorLogAgent.cpp",
58 "InspectorLogAgent.h", 58 "InspectorLogAgent.h",
(...skipping 30 matching lines...) Expand all
89 "ThreadDebugger.cpp", 89 "ThreadDebugger.cpp",
90 "ThreadDebugger.h", 90 "ThreadDebugger.h",
91 "V8InspectorString.cpp", 91 "V8InspectorString.cpp",
92 "V8InspectorString.h", 92 "V8InspectorString.h",
93 "WorkerInspectorController.cpp", 93 "WorkerInspectorController.cpp",
94 "WorkerInspectorController.h", 94 "WorkerInspectorController.h",
95 "WorkerThreadDebugger.cpp", 95 "WorkerThreadDebugger.cpp",
96 "WorkerThreadDebugger.h", 96 "WorkerThreadDebugger.h",
97 ] 97 ]
98 98
99 jumbo_excluded_sources = [
100 # Collides with InspectorPageAgent.cpp and
101 # NetworkResourcesData.cpp (patch incoming)
102 "InspectorNetworkAgent.cpp",
103
104 # Collides with InspectorPageAgent.cpp (patch incoming)
105 "MainThreadDebugger.cpp",
106 ]
107
108 configs += [ 99 configs += [
109 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 100 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
110 "//build/config/compiler:no_size_t_to_int_warning", 101 "//build/config/compiler:no_size_t_to_int_warning",
111 ] 102 ]
112 } 103 }
113 104
114 # inspector protocol ----------------------------------------------------------- 105 # inspector protocol -----------------------------------------------------------
115 106
116 inspector_protocol_generate("protocol_sources") { 107 inspector_protocol_generate("protocol_sources") {
117 inspector_protocol_dir = _inspector_protocol_dir 108 inspector_protocol_dir = _inspector_protocol_dir
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 outputs = [ 240 outputs = [
250 output_file, 241 output_file,
251 ] 242 ]
252 243
253 args = [ 244 args = [
254 rebase_path("browser_protocol.json", root_build_dir), 245 rebase_path("browser_protocol.json", root_build_dir),
255 rebase_path(v8_inspector_js_protocol, root_build_dir), 246 rebase_path(v8_inspector_js_protocol, root_build_dir),
256 rebase_path(output_file, root_build_dir), 247 rebase_path(output_file, root_build_dir),
257 ] 248 ]
258 } 249 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698