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 browser_protocol = "//content/browser/devtools/browser_protocol.json" | |
17 inputs = [ | 16 inputs = [ |
18 blink_protocol, | 17 blink_protocol, |
19 browser_protocol, | |
20 ] | 18 ] |
21 outputs = [ | 19 outputs = [ |
22 "$target_gen_dir/devtools_protocol_constants.cc", | 20 "$target_gen_dir/devtools_protocol_constants.cc", |
23 "$target_gen_dir/devtools_protocol_constants.h", | 21 "$target_gen_dir/devtools_protocol_constants.h", |
24 ] | 22 ] |
25 | 23 |
26 args = [ "chrome" ] | 24 args = [ "chrome" ] |
27 args += rebase_path(outputs, root_build_dir) | 25 args += rebase_path(outputs, root_build_dir) |
28 args += [ rebase_path(blink_protocol, root_build_dir) ] | 26 args += [ rebase_path(blink_protocol, root_build_dir) ] |
29 args += [ rebase_path(browser_protocol, root_build_dir) ] | |
30 } | 27 } |
31 | 28 |
32 # GYP version: chrome/chrome_debugger.gypi:debugger | 29 # GYP version: chrome/chrome_debugger.gypi:debugger |
33 static_library("devtools") { | 30 static_library("devtools") { |
34 # Note: new sources and deps should be generally added in (!is_android) below. | 31 # Note: new sources and deps should be generally added in (!is_android) below. |
35 sources = [ | 32 sources = [ |
36 "chrome_devtools_manager_delegate.cc", | 33 "chrome_devtools_manager_delegate.cc", |
37 "chrome_devtools_manager_delegate.h", | 34 "chrome_devtools_manager_delegate.h", |
38 "devtools_network_conditions.cc", | 35 "devtools_network_conditions.cc", |
39 "devtools_network_conditions.h", | 36 "devtools_network_conditions.h", |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 "remote_debugging_server.h", | 134 "remote_debugging_server.h", |
138 ] | 135 ] |
139 if (enable_service_discovery) { | 136 if (enable_service_discovery) { |
140 sources += [ | 137 sources += [ |
141 "device/cast_device_provider.cc", | 138 "device/cast_device_provider.cc", |
142 "device/cast_device_provider.h", | 139 "device/cast_device_provider.h", |
143 ] | 140 ] |
144 } | 141 } |
145 } | 142 } |
146 } | 143 } |
OLD | NEW |