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 browser_protocol = "//content/browser/devtools/browser_protocol.json" | 9 browser_protocol = "//content/browser/devtools/browser_protocol.json" |
10 inputs = [ blink_protocol, browser_protocol ] | 10 inputs = [ blink_protocol, browser_protocol ] |
(...skipping 22 matching lines...) Expand all Loading... |
33 "devtools_network_protocol_handler.h", | 33 "devtools_network_protocol_handler.h", |
34 "devtools_network_transaction.cc", | 34 "devtools_network_transaction.cc", |
35 "devtools_network_transaction.h", | 35 "devtools_network_transaction.h", |
36 "devtools_network_transaction_factory.cc", | 36 "devtools_network_transaction_factory.cc", |
37 "devtools_network_transaction_factory.h", | 37 "devtools_network_transaction_factory.h", |
38 "devtools_protocol.cc", | 38 "devtools_protocol.cc", |
39 "devtools_protocol.h" | 39 "devtools_protocol.h" |
40 ] | 40 ] |
41 sources += get_target_outputs(":devtools_protocol_constants") | 41 sources += get_target_outputs(":devtools_protocol_constants") |
42 | 42 |
43 # TODO(GYP) | |
44 # ['debug_devtools==1', { | |
45 # 'defines': [ | |
46 # 'DEBUG_DEVTOOLS=1', | |
47 # ], | |
48 # }], | |
49 if (is_win) { | 43 if (is_win) { |
50 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 44 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
51 cflags = [ "/wd4267" ] | 45 cflags = [ "/wd4267" ] |
52 } | 46 } |
53 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 47 configs += [ |
| 48 "//build/config/compiler:wexit_time_destructors", |
| 49 "//third_party/WebKit/public:debug_devtools", |
| 50 ] |
54 | 51 |
55 deps = [ | 52 deps = [ |
56 ":devtools_protocol_constants", | 53 ":devtools_protocol_constants", |
57 "//base", | 54 "//base", |
58 "//content/public/browser", | 55 "//content/public/browser", |
59 "//net", | 56 "//net", |
60 ] | 57 ] |
61 | 58 |
62 if (!is_android) { | 59 if (!is_android) { |
63 deps += [ | 60 deps += [ |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 "devtools_toggle_action.h", | 114 "devtools_toggle_action.h", |
118 "devtools_ui_bindings.cc", | 115 "devtools_ui_bindings.cc", |
119 "devtools_ui_bindings.h", | 116 "devtools_ui_bindings.h", |
120 "devtools_window.cc", | 117 "devtools_window.cc", |
121 "devtools_window.h", | 118 "devtools_window.h", |
122 "remote_debugging_server.cc", | 119 "remote_debugging_server.cc", |
123 "remote_debugging_server.h" | 120 "remote_debugging_server.h" |
124 ] | 121 ] |
125 } | 122 } |
126 } | 123 } |
OLD | NEW |