| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 "ThreadDebugger.h", | 92 "ThreadDebugger.h", |
| 92 "V8InspectorString.cpp", | 93 "V8InspectorString.cpp", |
| 93 "V8InspectorString.h", | 94 "V8InspectorString.h", |
| 94 "WorkerInspectorController.cpp", | 95 "WorkerInspectorController.cpp", |
| 95 "WorkerInspectorController.h", | 96 "WorkerInspectorController.h", |
| 96 "WorkerThreadDebugger.cpp", | 97 "WorkerThreadDebugger.cpp", |
| 97 "WorkerThreadDebugger.h", | 98 "WorkerThreadDebugger.h", |
| 98 ] | 99 ] |
| 99 | 100 |
| 100 jumbo_excluded_sources = [ | 101 jumbo_excluded_sources = [ |
| 101 # Collides with InspectorPageAgent.cpp and | |
| 102 # NetworkResourcesData.cpp (patch incoming) | |
| 103 "InspectorNetworkAgent.cpp", | |
| 104 | |
| 105 # Collides with InspectorPageAgent.cpp (patch incoming) | |
| 106 "MainThreadDebugger.cpp", | |
| 107 ] | 102 ] |
| 108 | 103 |
| 109 configs += [ | 104 configs += [ |
| 110 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 105 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 111 "//build/config/compiler:no_size_t_to_int_warning", | 106 "//build/config/compiler:no_size_t_to_int_warning", |
| 112 ] | 107 ] |
| 113 } | 108 } |
| 114 | 109 |
| 115 # inspector protocol ----------------------------------------------------------- | 110 # inspector protocol ----------------------------------------------------------- |
| 116 | 111 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 "inspector/protocol/Tracing.cpp", | 179 "inspector/protocol/Tracing.cpp", |
| 185 "inspector/protocol/Tracing.h", | 180 "inspector/protocol/Tracing.h", |
| 186 ] | 181 ] |
| 187 | 182 |
| 188 deps = [ | 183 deps = [ |
| 189 ":protocol_version", | 184 ":protocol_version", |
| 190 ] | 185 ] |
| 191 } | 186 } |
| 192 | 187 |
| 193 # Compiles the sources generated above. | 188 # Compiles the sources generated above. |
| 194 source_set("generated") { | 189 jumbo_target("generated") { |
| 190 target_type = "source_set" |
| 195 sources = get_target_outputs(":protocol_sources") | 191 sources = get_target_outputs(":protocol_sources") |
| 196 | 192 |
| 197 configs -= core_config_remove | 193 configs -= core_config_remove |
| 198 configs += core_config_add + [ | 194 configs += core_config_add + [ |
| 199 "../..:inside_blink", | 195 "../..:inside_blink", |
| 200 "//third_party/WebKit/Source/core:core_include_dirs", | 196 "//third_party/WebKit/Source/core:core_include_dirs", |
| 201 ] | 197 ] |
| 202 | 198 |
| 203 if (is_win) { | 199 if (is_win) { |
| 204 cflags = [ "/wd4702" ] # Unreachable code. | 200 cflags = [ "/wd4702" ] # Unreachable code. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 outputs = [ | 246 outputs = [ |
| 251 output_file, | 247 output_file, |
| 252 ] | 248 ] |
| 253 | 249 |
| 254 args = [ | 250 args = [ |
| 255 rebase_path("browser_protocol.json", root_build_dir), | 251 rebase_path("browser_protocol.json", root_build_dir), |
| 256 rebase_path(v8_inspector_js_protocol, root_build_dir), | 252 rebase_path(v8_inspector_js_protocol, root_build_dir), |
| 257 rebase_path(output_file, root_build_dir), | 253 rebase_path(output_file, root_build_dir), |
| 258 ] | 254 ] |
| 259 } | 255 } |
| OLD | NEW |