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 if (!is_android) { | 5 if (!is_android) { |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 } | 8 } |
9 | 9 |
10 action("devtools_protocol_constants") { | 10 action("devtools_protocol_constants") { |
11 script = "devtools_protocol_constants_generator.py" | 11 script = "devtools_protocol_constants_generator.py" |
12 deps = [ | 12 deps = [ |
13 "//third_party/WebKit/Source/core/inspector:protocol_version", | 13 "//third_party/WebKit/Source/core/inspector:protocol_version", |
14 ] | 14 ] |
15 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" | 15 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" |
16 inputs = [ | 16 inputs = [ |
17 blink_protocol, | 17 blink_protocol, |
18 ] | 18 ] |
19 outputs = [ | 19 outputs = [ |
20 "$target_gen_dir/devtools_protocol_constants.cc", | 20 "$target_gen_dir/devtools_protocol_constants.cc", |
21 "$target_gen_dir/devtools_protocol_constants.h", | 21 "$target_gen_dir/devtools_protocol_constants.h", |
22 ] | 22 ] |
23 | 23 |
24 args = [ "chrome" ] | 24 args = [ "chrome" ] |
25 args += rebase_path(outputs, root_build_dir) | 25 args += rebase_path(outputs, root_build_dir) |
26 args += [ rebase_path(blink_protocol, root_build_dir) ] | 26 args += [ rebase_path(blink_protocol, root_build_dir) ] |
27 } | 27 } |
28 | 28 |
29 # GYP version: chrome/chrome_debugger.gypi:debugger | |
30 static_library("devtools") { | 29 static_library("devtools") { |
31 # Note: new sources and deps should be generally added in (!is_android) below. | 30 # Note: new sources and deps should be generally added in (!is_android) below. |
32 sources = [ | 31 sources = [ |
33 "devtools_network_conditions.cc", | 32 "devtools_network_conditions.cc", |
34 "devtools_network_conditions.h", | 33 "devtools_network_conditions.h", |
35 "devtools_network_controller.cc", | 34 "devtools_network_controller.cc", |
36 "devtools_network_controller.h", | 35 "devtools_network_controller.h", |
37 "devtools_network_controller_handle.cc", | 36 "devtools_network_controller_handle.cc", |
38 "devtools_network_controller_handle.h", | 37 "devtools_network_controller_handle.h", |
39 "devtools_network_interceptor.cc", | 38 "devtools_network_interceptor.cc", |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 "remote_debugging_server.h", | 128 "remote_debugging_server.h", |
130 ] | 129 ] |
131 if (enable_service_discovery) { | 130 if (enable_service_discovery) { |
132 sources += [ | 131 sources += [ |
133 "device/cast_device_provider.cc", | 132 "device/cast_device_provider.cc", |
134 "device/cast_device_provider.h", | 133 "device/cast_device_provider.h", |
135 ] | 134 ] |
136 } | 135 } |
137 } | 136 } |
138 } | 137 } |
OLD | NEW |