| 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 = "devtools_protocol_constants_generator.py" | 6 script = "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 = [ |
| 11 blink_protocol, |
| 12 browser_protocol, |
| 13 ] |
| 11 outputs = [ | 14 outputs = [ |
| 12 "$target_gen_dir/devtools_protocol_constants.cc", | 15 "$target_gen_dir/devtools_protocol_constants.cc", |
| 13 "$target_gen_dir/devtools_protocol_constants.h", | 16 "$target_gen_dir/devtools_protocol_constants.h", |
| 14 ] | 17 ] |
| 15 | 18 |
| 16 args = [ "chrome" ] | 19 args = [ "chrome" ] |
| 17 args += rebase_path(outputs, root_build_dir) | 20 args += rebase_path(outputs, root_build_dir) |
| 18 args += [ rebase_path(blink_protocol, root_build_dir) ] | 21 args += [ rebase_path(blink_protocol, root_build_dir) ] |
| 19 args += [ rebase_path(browser_protocol, root_build_dir) ] | 22 args += [ rebase_path(browser_protocol, root_build_dir) ] |
| 20 } | 23 } |
| 21 | 24 |
| 22 # GYP version: chrome/chrome_debugger.gypi:debugger | 25 # GYP version: chrome/chrome_debugger.gypi:debugger |
| 23 static_library("devtools") { | 26 static_library("devtools") { |
| 24 # Note: new sources and deps should be generally added in (!is_android) below. | 27 # Note: new sources and deps should be generally added in (!is_android) below. |
| 25 sources = [ | 28 sources = [ |
| 26 "devtools_network_conditions.cc", | 29 "devtools_network_conditions.cc", |
| 27 "devtools_network_conditions.h", | 30 "devtools_network_conditions.h", |
| 28 "devtools_network_controller.cc", | 31 "devtools_network_controller.cc", |
| 29 "devtools_network_controller.h", | 32 "devtools_network_controller.h", |
| 30 "devtools_network_interceptor.cc", | 33 "devtools_network_interceptor.cc", |
| 31 "devtools_network_interceptor.h", | 34 "devtools_network_interceptor.h", |
| 32 "devtools_network_protocol_handler.cc", | 35 "devtools_network_protocol_handler.cc", |
| 33 "devtools_network_protocol_handler.h", | 36 "devtools_network_protocol_handler.h", |
| 34 "devtools_network_transaction.cc", | 37 "devtools_network_transaction.cc", |
| 35 "devtools_network_transaction.h", | 38 "devtools_network_transaction.h", |
| 36 "devtools_network_transaction_factory.cc", | 39 "devtools_network_transaction_factory.cc", |
| 37 "devtools_network_transaction_factory.h", | 40 "devtools_network_transaction_factory.h", |
| 38 "devtools_protocol.cc", | 41 "devtools_protocol.cc", |
| 39 "devtools_protocol.h" | 42 "devtools_protocol.h", |
| 40 ] | 43 ] |
| 41 sources += get_target_outputs(":devtools_protocol_constants") | 44 sources += get_target_outputs(":devtools_protocol_constants") |
| 42 | 45 |
| 43 if (is_win) { | 46 if (is_win) { |
| 44 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 47 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 45 cflags = [ "/wd4267" ] | 48 cflags = [ "/wd4267" ] |
| 46 } | 49 } |
| 47 configs += [ | 50 configs += [ |
| 48 "//build/config/compiler:wexit_time_destructors", | 51 "//build/config/compiler:wexit_time_destructors", |
| 49 "//third_party/WebKit/public:debug_devtools", | 52 "//third_party/WebKit/public:debug_devtools", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 61 "//chrome:extra_resources", | 64 "//chrome:extra_resources", |
| 62 "//chrome:resources", | 65 "//chrome:resources", |
| 63 "//chrome:strings", | 66 "//chrome:strings", |
| 64 "//chrome/app/theme:theme_resources", | 67 "//chrome/app/theme:theme_resources", |
| 65 "//chrome/common/extensions/api", | 68 "//chrome/common/extensions/api", |
| 66 "//chrome/common/extensions/api:api_registration", | 69 "//chrome/common/extensions/api:api_registration", |
| 67 "//net:http_server", | 70 "//net:http_server", |
| 68 "//skia", | 71 "//skia", |
| 69 "//third_party/icu", | 72 "//third_party/icu", |
| 70 "//third_party/leveldatabase", | 73 "//third_party/leveldatabase", |
| 71 "//third_party/libusb" | 74 "//third_party/libusb", |
| 72 ] | 75 ] |
| 73 sources += [ | 76 sources += [ |
| 74 "device/adb/adb_client_socket.cc", | 77 "device/adb/adb_client_socket.cc", |
| 75 "device/adb/adb_client_socket.h", | 78 "device/adb/adb_client_socket.h", |
| 76 "device/adb/adb_device_info_query.cc", | 79 "device/adb/adb_device_info_query.cc", |
| 77 "device/adb/adb_device_info_query.h", | 80 "device/adb/adb_device_info_query.h", |
| 78 "device/adb/adb_device_provider.cc", | 81 "device/adb/adb_device_provider.cc", |
| 79 "device/adb/adb_device_provider.h", | 82 "device/adb/adb_device_provider.h", |
| 80 "device/android_device_manager.cc", | 83 "device/android_device_manager.cc", |
| 81 "device/android_device_manager.h", | 84 "device/android_device_manager.h", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 110 "devtools_target_impl.h", | 113 "devtools_target_impl.h", |
| 111 "devtools_targets_ui.cc", | 114 "devtools_targets_ui.cc", |
| 112 "devtools_targets_ui.h", | 115 "devtools_targets_ui.h", |
| 113 "devtools_toggle_action.cc", | 116 "devtools_toggle_action.cc", |
| 114 "devtools_toggle_action.h", | 117 "devtools_toggle_action.h", |
| 115 "devtools_ui_bindings.cc", | 118 "devtools_ui_bindings.cc", |
| 116 "devtools_ui_bindings.h", | 119 "devtools_ui_bindings.h", |
| 117 "devtools_window.cc", | 120 "devtools_window.cc", |
| 118 "devtools_window.h", | 121 "devtools_window.h", |
| 119 "remote_debugging_server.cc", | 122 "remote_debugging_server.cc", |
| 120 "remote_debugging_server.h" | 123 "remote_debugging_server.h", |
| 121 ] | 124 ] |
| 122 } | 125 } |
| 123 } | 126 } |
| OLD | NEW |