| OLD | NEW | 
|---|
| 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("//build/config/jumbo.gni") | 
| 5 import("//third_party/WebKit/Source/bindings/bindings.gni") | 6 import("//third_party/WebKit/Source/bindings/bindings.gni") | 
| 6 import("//third_party/WebKit/Source/core/core.gni") | 7 import("//third_party/WebKit/Source/core/core.gni") | 
| 7 import("//third_party/inspector_protocol/inspector_protocol.gni") | 8 import("//third_party/inspector_protocol/inspector_protocol.gni") | 
| 8 import("//v8/gni/v8.gni") | 9 import("//v8/gni/v8.gni") | 
| 9 | 10 | 
| 10 _inspector_protocol_dir = "//third_party/inspector_protocol" | 11 _inspector_protocol_dir = "//third_party/inspector_protocol" | 
| 11 | 12 | 
| 12 blink_core_sources("inspector") { | 13 blink_core_sources("inspector") { | 
| 13   sources = [ | 14   sources = [ | 
| 14     "AddStringToDigestor.cpp", | 15     "AddStringToDigestor.cpp", | 
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 94     "ThreadDebugger.h", | 95     "ThreadDebugger.h", | 
| 95     "V8InspectorString.cpp", | 96     "V8InspectorString.cpp", | 
| 96     "V8InspectorString.h", | 97     "V8InspectorString.h", | 
| 97     "WorkerInspectorController.cpp", | 98     "WorkerInspectorController.cpp", | 
| 98     "WorkerInspectorController.h", | 99     "WorkerInspectorController.h", | 
| 99     "WorkerThreadDebugger.cpp", | 100     "WorkerThreadDebugger.cpp", | 
| 100     "WorkerThreadDebugger.h", | 101     "WorkerThreadDebugger.h", | 
| 101   ] | 102   ] | 
| 102 | 103 | 
| 103   jumbo_excluded_sources = [ | 104   jumbo_excluded_sources = [ | 
| 104     # Collides with InspectorPageAgent.cpp and |  | 
| 105     # NetworkResourcesData.cpp (patch incoming) |  | 
| 106     "InspectorNetworkAgent.cpp", |  | 
| 107 |  | 
| 108     # Collides with InspectorPageAgent.cpp (patch incoming) |  | 
| 109     "MainThreadDebugger.cpp", |  | 
| 110   ] | 105   ] | 
| 111 | 106 | 
| 112   configs += [ | 107   configs += [ | 
| 113     # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 108     # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 
| 114     "//build/config/compiler:no_size_t_to_int_warning", | 109     "//build/config/compiler:no_size_t_to_int_warning", | 
| 115   ] | 110   ] | 
| 116 } | 111 } | 
| 117 | 112 | 
| 118 # inspector protocol ----------------------------------------------------------- | 113 # inspector protocol ----------------------------------------------------------- | 
| 119 | 114 | 
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 189     "inspector/protocol/Tracing.cpp", | 184     "inspector/protocol/Tracing.cpp", | 
| 190     "inspector/protocol/Tracing.h", | 185     "inspector/protocol/Tracing.h", | 
| 191   ] | 186   ] | 
| 192 | 187 | 
| 193   deps = [ | 188   deps = [ | 
| 194     ":protocol_version", | 189     ":protocol_version", | 
| 195   ] | 190   ] | 
| 196 } | 191 } | 
| 197 | 192 | 
| 198 # Compiles the sources generated above. | 193 # Compiles the sources generated above. | 
| 199 source_set("generated") { | 194 jumbo_source_set("generated") { | 
| 200   sources = get_target_outputs(":protocol_sources") | 195   sources = get_target_outputs(":protocol_sources") | 
| 201 | 196 | 
| 202   configs -= core_config_remove | 197   configs -= core_config_remove | 
| 203   configs += core_config_add + [ | 198   configs += core_config_add + [ | 
| 204                "../..:inside_blink", | 199                "../..:inside_blink", | 
| 205                "//third_party/WebKit/Source/core:core_include_dirs", | 200                "//third_party/WebKit/Source/core:core_include_dirs", | 
| 206              ] | 201              ] | 
| 207 | 202 | 
| 208   if (is_win) { | 203   if (is_win) { | 
| 209     cflags = [ "/wd4702" ]  # Unreachable code. | 204     cflags = [ "/wd4702" ]  # Unreachable code. | 
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 255   outputs = [ | 250   outputs = [ | 
| 256     output_file, | 251     output_file, | 
| 257   ] | 252   ] | 
| 258 | 253 | 
| 259   args = [ | 254   args = [ | 
| 260     rebase_path("browser_protocol.json", root_build_dir), | 255     rebase_path("browser_protocol.json", root_build_dir), | 
| 261     rebase_path(v8_inspector_js_protocol, root_build_dir), | 256     rebase_path(v8_inspector_js_protocol, root_build_dir), | 
| 262     rebase_path(output_file, root_build_dir), | 257     rebase_path(output_file, root_build_dir), | 
| 263   ] | 258   ] | 
| 264 } | 259 } | 
| OLD | NEW | 
|---|