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("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 | 7 |
8 # GYP version: extensions/extensions.gyp:extensions_browser | 8 # GYP version: extensions/extensions.gyp:extensions_browser |
9 source_set("browser") { | 9 source_set("browser") { |
10 sources = [ | 10 sources = [ |
11 ] | 11 ] |
12 | 12 |
13 deps = [ | 13 deps = [ |
14 "//components/keyed_service/content", | 14 "//components/keyed_service/content", |
15 "//components/keyed_service/core", | 15 "//components/keyed_service/core", |
16 "//components/pref_registry", | 16 "//components/pref_registry", |
17 "//components/sessions", | 17 "//components/sessions", |
18 "//components/web_modal", | 18 "//components/web_modal", |
19 "//content/public/browser", | 19 "//content/public/browser", |
20 "//extensions/common", | 20 "//extensions/common", |
21 "//extensions/common/api", | 21 "//extensions/common/api", |
22 "//extensions/common/api:api_registration", | 22 "//extensions/common/api:api_registration", |
23 "//extensions/strings", | 23 "//extensions/strings", |
24 "//skia", | 24 "//skia", |
25 "//third_party/leveldatabase", | 25 "//third_party/leveldatabase", |
| 26 "//third_party/re2" |
26 ] | 27 ] |
27 | 28 |
28 if (enable_extensions) { | 29 if (enable_extensions) { |
29 # Includes all API implementations and the ExtensionsApiClient | 30 # Includes all API implementations and the ExtensionsApiClient |
30 # interface. Moving an API from src/chrome to src/extensions implies | 31 # interface. Moving an API from src/chrome to src/extensions implies |
31 # it can be cleanly disabled with enable_extensions=false. | 32 # it can be cleanly disabled with enable_extensions=false. |
32 # TODO: Eventually the entire extensions module should not be built | 33 # TODO: Eventually the entire extensions module should not be built |
33 # when enable_extensions=false. | 34 # when enable_extensions=false. |
34 sources += [ | 35 sources += [ |
35 "api/api_resource.cc", | 36 "api/api_resource.cc", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 "api/declarative/declarative_rule.h", | 97 "api/declarative/declarative_rule.h", |
97 "api/declarative/deduping_factory.h", | 98 "api/declarative/deduping_factory.h", |
98 "api/declarative/rules_cache_delegate.cc", | 99 "api/declarative/rules_cache_delegate.cc", |
99 "api/declarative/rules_cache_delegate.h", | 100 "api/declarative/rules_cache_delegate.h", |
100 "api/declarative/rules_registry.cc", | 101 "api/declarative/rules_registry.cc", |
101 "api/declarative/rules_registry.h", | 102 "api/declarative/rules_registry.h", |
102 "api/declarative/test_rules_registry.cc", | 103 "api/declarative/test_rules_registry.cc", |
103 "api/declarative/test_rules_registry.h", | 104 "api/declarative/test_rules_registry.h", |
104 "api/declarative_webrequest/request_stage.cc", | 105 "api/declarative_webrequest/request_stage.cc", |
105 "api/declarative_webrequest/request_stage.h", | 106 "api/declarative_webrequest/request_stage.h", |
| 107 "api/declarative_webrequest/webrequest_action.cc", |
| 108 "api/declarative_webrequest/webrequest_action.h", |
106 "api/declarative_webrequest/webrequest_condition_attribute.cc", | 109 "api/declarative_webrequest/webrequest_condition_attribute.cc", |
107 "api/declarative_webrequest/webrequest_condition_attribute.h", | 110 "api/declarative_webrequest/webrequest_condition_attribute.h", |
108 "api/declarative_webrequest/webrequest_condition.cc", | 111 "api/declarative_webrequest/webrequest_condition.cc", |
109 "api/declarative_webrequest/webrequest_condition.h", | 112 "api/declarative_webrequest/webrequest_condition.h", |
110 "api/declarative_webrequest/webrequest_constants.cc", | 113 "api/declarative_webrequest/webrequest_constants.cc", |
111 "api/declarative_webrequest/webrequest_constants.h", | 114 "api/declarative_webrequest/webrequest_constants.h", |
| 115 "api/declarative_webrequest/webrequest_rules_registry.cc", |
| 116 "api/declarative_webrequest/webrequest_rules_registry.h", |
112 "api/dns/dns_api.cc", | 117 "api/dns/dns_api.cc", |
113 "api/dns/dns_api.h", | 118 "api/dns/dns_api.h", |
114 "api/dns/host_resolver_wrapper.cc", | 119 "api/dns/host_resolver_wrapper.cc", |
115 "api/dns/host_resolver_wrapper.h", | 120 "api/dns/host_resolver_wrapper.h", |
116 "api/execute_code_function.cc", | 121 "api/execute_code_function.cc", |
117 "api/execute_code_function.h", | 122 "api/execute_code_function.h", |
118 "api/extensions_api_client.cc", | 123 "api/extensions_api_client.cc", |
119 "api/extensions_api_client.h", | 124 "api/extensions_api_client.h", |
120 "api/hid/hid_api.cc", | 125 "api/hid/hid_api.cc", |
121 "api/hid/hid_api.h", | 126 "api/hid/hid_api.h", |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 "api/test/test_api.cc", | 210 "api/test/test_api.cc", |
206 "api/test/test_api.h", | 211 "api/test/test_api.h", |
207 "api/usb/usb_api.cc", | 212 "api/usb/usb_api.cc", |
208 "api/usb/usb_api.h", | 213 "api/usb/usb_api.h", |
209 "api/usb/usb_device_resource.cc", | 214 "api/usb/usb_device_resource.cc", |
210 "api/usb/usb_device_resource.h", | 215 "api/usb/usb_device_resource.h", |
211 "api/usb_private/usb_private_api.cc", | 216 "api/usb_private/usb_private_api.cc", |
212 "api/usb_private/usb_private_api.h", | 217 "api/usb_private/usb_private_api.h", |
213 "api/web_request/web_request_api_constants.cc", | 218 "api/web_request/web_request_api_constants.cc", |
214 "api/web_request/web_request_api_constants.h", | 219 "api/web_request/web_request_api_constants.h", |
| 220 "api/web_request/web_request_api_helpers.cc", |
| 221 "api/web_request/web_request_api_helpers.h", |
215 "api/web_request/web_request_api_utils.cc", | 222 "api/web_request/web_request_api_utils.cc", |
216 "api/web_request/web_request_api_utils.h", | 223 "api/web_request/web_request_api_utils.h", |
| 224 "api/web_request/web_request_permissions.cc", |
| 225 "api/web_request/web_request_permissions.h", |
217 "api/web_view/web_view_internal_api.cc", | 226 "api/web_view/web_view_internal_api.cc", |
218 "api/web_view/web_view_internal_api.h", | 227 "api/web_view/web_view_internal_api.h", |
219 "api_activity_monitor.h", | 228 "api_activity_monitor.h", |
220 "app_sorting.h", | 229 "app_sorting.h", |
221 "app_window/app_delegate.h", | 230 "app_window/app_delegate.h", |
222 "app_window/app_web_contents_helper.cc", | 231 "app_window/app_web_contents_helper.cc", |
223 "app_window/app_web_contents_helper.h", | 232 "app_window/app_web_contents_helper.h", |
224 "app_window/app_window.cc", | 233 "app_window/app_window.cc", |
225 "app_window/app_window.h", | 234 "app_window/app_window.h", |
226 "app_window/app_window_client.cc", | 235 "app_window/app_window_client.cc", |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 ] | 449 ] |
441 } | 450 } |
442 } | 451 } |
443 | 452 |
444 if (is_win) { | 453 if (is_win) { |
445 cflags = [ | 454 cflags = [ |
446 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 455 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
447 ] | 456 ] |
448 } | 457 } |
449 } | 458 } |
OLD | NEW |