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 action("devtools_protocol_constants") { | 5 action("devtools_protocol_constants") { |
6 script = "//content/public/browser/devtools_protocol_constants_generator.py" | 6 script = "//content/public/browser/devtools_protocol_constants_generator.py" |
7 | 7 |
8 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" | 8 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" |
9 inputs = [ blink_protocol ] | 9 browser_protocol = "//content/browser/devtools/browser_protocol.json" |
| 10 inputs = [ blink_protocol, browser_protocol ] |
10 outputs = [ | 11 outputs = [ |
11 "$target_gen_dir/devtools_protocol_constants.cc", | 12 "$target_gen_dir/devtools_protocol_constants.cc", |
12 "$target_gen_dir/devtools_protocol_constants.h", | 13 "$target_gen_dir/devtools_protocol_constants.h", |
13 ] | 14 ] |
14 | 15 |
15 args = [ "chrome" ] | 16 args = [ "chrome" ] |
16 args += rebase_path(outputs, root_build_dir) | 17 args += rebase_path(outputs, root_build_dir) |
17 args += [ rebase_path(blink_protocol, root_build_dir) ] | 18 args += [ rebase_path(blink_protocol, root_build_dir) ] |
| 19 args += [ rebase_path(browser_protocol, root_build_dir) ] |
18 } | 20 } |
19 | 21 |
20 # GYP version: chrome/chrome_debugger.gypi:debugger | 22 # GYP version: chrome/chrome_debugger.gypi:debugger |
21 static_library("devtools") { | 23 static_library("devtools") { |
22 # Note: new sources and deps should be generally added in (!is_android) below. | 24 # Note: new sources and deps should be generally added in (!is_android) below. |
23 sources = [ | 25 sources = [ |
24 "chrome_devtools_manager_delegate.cc", | 26 "chrome_devtools_manager_delegate.cc", |
25 "chrome_devtools_manager_delegate.h", | 27 "chrome_devtools_manager_delegate.h", |
26 "devtools_network_conditions.cc", | 28 "devtools_network_conditions.cc", |
27 "devtools_network_conditions.h", | 29 "devtools_network_conditions.h", |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 "devtools_toggle_action.h", | 115 "devtools_toggle_action.h", |
114 "devtools_ui_bindings.cc", | 116 "devtools_ui_bindings.cc", |
115 "devtools_ui_bindings.h", | 117 "devtools_ui_bindings.h", |
116 "devtools_window.cc", | 118 "devtools_window.cc", |
117 "devtools_window.h", | 119 "devtools_window.h", |
118 "remote_debugging_server.cc", | 120 "remote_debugging_server.cc", |
119 "remote_debugging_server.h" | 121 "remote_debugging_server.h" |
120 ] | 122 ] |
121 } | 123 } |
122 } | 124 } |
OLD | NEW |