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 import("//extensions/features/features.gni") |
| 6 |
5 if (!is_android) { | 7 if (!is_android) { |
6 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
7 import("//chrome/common/features.gni") | 9 import("//chrome/common/features.gni") |
8 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
9 } | 11 } |
10 | 12 |
11 action("devtools_protocol_constants") { | 13 action("devtools_protocol_constants") { |
12 script = "devtools_protocol_constants_generator.py" | 14 script = "devtools_protocol_constants_generator.py" |
13 deps = [ | 15 deps = [ |
14 "//third_party/WebKit/Source/core/inspector:protocol_version", | 16 "//third_party/WebKit/Source/core/inspector:protocol_version", |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 "//ui/events:dom_keycode_converter", | 68 "//ui/events:dom_keycode_converter", |
67 ] | 69 ] |
68 | 70 |
69 if (!is_android) { | 71 if (!is_android) { |
70 deps += [ | 72 deps += [ |
71 "//chrome:extra_resources", | 73 "//chrome:extra_resources", |
72 "//chrome:resources", | 74 "//chrome:resources", |
73 "//chrome:strings", | 75 "//chrome:strings", |
74 "//chrome/app/theme:theme_resources", | 76 "//chrome/app/theme:theme_resources", |
75 "//chrome/common", | 77 "//chrome/common", |
76 "//chrome/common/extensions/api", | |
77 "//net:http_server", | 78 "//net:http_server", |
78 "//skia", | 79 "//skia", |
79 "//third_party/icu", | 80 "//third_party/icu", |
80 "//third_party/leveldatabase", | 81 "//third_party/leveldatabase", |
81 ] | 82 ] |
82 sources += [ | 83 sources += [ |
83 "chrome_devtools_manager_delegate.cc", | 84 "chrome_devtools_manager_delegate.cc", |
84 "chrome_devtools_manager_delegate.h", | 85 "chrome_devtools_manager_delegate.h", |
85 "device/adb/adb_client_socket.cc", | 86 "device/adb/adb_client_socket.cc", |
86 "device/adb/adb_client_socket.h", | 87 "device/adb/adb_client_socket.h", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 "url_constants.cc", | 138 "url_constants.cc", |
138 "url_constants.h", | 139 "url_constants.h", |
139 ] | 140 ] |
140 if (enable_service_discovery) { | 141 if (enable_service_discovery) { |
141 sources += [ | 142 sources += [ |
142 "device/cast_device_provider.cc", | 143 "device/cast_device_provider.cc", |
143 "device/cast_device_provider.h", | 144 "device/cast_device_provider.h", |
144 ] | 145 ] |
145 } | 146 } |
146 } | 147 } |
| 148 |
| 149 if (enable_extensions) { |
| 150 deps += [ "//chrome/common/extensions/api" ] |
| 151 } |
147 } | 152 } |
OLD | NEW |