Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Side by Side Diff: extensions/browser/BUILD.gn

Issue 434613003: Remove all the browser side extensions code from Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/features.gni") 5 import("//build/config/features.gni")
6 6
7 # GYP version: extensions/extensions.gyp:extensions_browser 7 # GYP version: extensions/extensions.gyp:extensions_browser
8 source_set("browser") { 8 source_set("browser") {
9 sources = [ 9 sources = [
10 "admin_policy.cc",
11 "admin_policy.h",
12 "api_activity_monitor.h",
13 "app_sorting.h",
14 "blacklist_state.h",
15 "blob_holder.cc",
16 "blob_holder.h",
17 "browser_context_keyed_api_factory.h",
18 "component_extension_resource_manager.h",
19 "computed_hashes.cc",
20 "computed_hashes.h",
21 "content_hash_fetcher.cc",
22 "content_hash_fetcher.h",
23 "content_hash_reader.cc",
24 "content_hash_reader.h",
25 "content_hash_tree.cc",
26 "content_hash_tree.h",
27 "content_verifier.cc",
28 "content_verifier.h",
29 "content_verifier_delegate.h",
30 "content_verifier_io_data.cc",
31 "content_verifier_io_data.h",
32 "content_verify_job.cc",
33 "content_verify_job.h",
34 "error_map.cc",
35 "error_map.h",
36 "event_listener_map.cc",
37 "event_listener_map.h",
38 "event_router.cc",
39 "event_router.h",
40 "extension_error.cc",
41 "extension_error.h",
42 "extension_function.cc",
43 "extension_function.h",
44 "extension_function_dispatcher.cc",
45 "extension_function_dispatcher.h",
46 "extension_function_registry.cc",
47 "extension_function_registry.h",
48 "extension_function_util.cc",
49 "extension_function_util.h",
50 "extension_host.cc",
51 "extension_host.h",
52 "extension_host_delegate.h",
53 "extension_icon_image.cc",
54 "extension_icon_image.h",
55 "extension_message_filter.cc",
56 "extension_message_filter.h",
57 "extension_pref_store.cc",
58 "extension_pref_store.h",
59 "extension_pref_value_map.cc",
60 "extension_pref_value_map.h",
61 "extension_pref_value_map_factory.cc",
62 "extension_pref_value_map_factory.h",
63 "extension_prefs.cc",
64 "extension_prefs.h",
65 "extension_prefs_factory.cc",
66 "extension_prefs_factory.h",
67 "extension_prefs_observer.h",
68 "extension_prefs_scope.h",
69 "extension_protocols.cc",
70 "extension_protocols.h",
71 "extension_registry.cc",
72 "extension_registry.h",
73 "extension_registry_factory.cc",
74 "extension_registry_factory.h",
75 "extension_registry_observer.h",
76 "extension_scoped_prefs.h",
77 "extension_system.cc",
78 "extension_system.h",
79 "extension_system_provider.cc",
80 "extension_system_provider.h",
81 "extension_util.cc",
82 "extension_util.h",
83 "extension_web_contents_observer.cc",
84 "extension_web_contents_observer.h",
85 "extensions_browser_client.cc",
86 "extensions_browser_client.h",
87 "external_provider_interface.h",
88 "file_highlighter.cc",
89 "file_highlighter.h",
90 "file_reader.cc",
91 "file_reader.h",
92 "granted_file_entry.cc",
93 "granted_file_entry.h",
94 "image_loader.cc",
95 "image_loader.h",
96 "image_loader_factory.cc",
97 "image_loader_factory.h",
98 "image_util.cc",
99 "image_util.h",
100 "info_map.cc",
101 "info_map.h",
102 "install_flag.h",
103 "lazy_background_task_queue.cc",
104 "lazy_background_task_queue.h",
105 "management_policy.cc",
106 "management_policy.h",
107 "pref_names.cc",
108 "pref_names.h",
109 "process_manager.cc",
110 "process_manager.h",
111 "process_manager_delegate.h",
112 "process_manager_observer.h",
113 "process_map.cc",
114 "process_map.h",
115 "process_map_factory.cc",
116 "process_map_factory.h",
117 "quota_service.cc",
118 "quota_service.h",
119 "renderer_startup_helper.cc",
120 "renderer_startup_helper.h",
121 "runtime_data.cc",
122 "runtime_data.h",
123 "state_store.cc",
124 "state_store.h",
125 "uninstall_reason.h",
126 "update_observer.h",
127 "value_store/leveldb_value_store.cc",
128 "value_store/leveldb_value_store.h",
129 "value_store/testing_value_store.cc",
130 "value_store/testing_value_store.h",
131 "value_store/value_store.cc",
132 "value_store/value_store.h",
133 "value_store/value_store_change.cc",
134 "value_store/value_store_change.h",
135 "value_store/value_store_frontend.cc",
136 "value_store/value_store_frontend.h",
137 "value_store/value_store_util.cc",
138 "value_store/value_store_util.h",
139 "verified_contents.cc",
140 "verified_contents.h",
141 "view_type_utils.cc",
142 "view_type_utils.h",
143 ] 10 ]
144 11
145 deps = [ 12 deps = [
146 "//components/keyed_service/content", 13 "//components/keyed_service/content",
147 "//components/keyed_service/core", 14 "//components/keyed_service/core",
148 "//components/pref_registry", 15 "//components/pref_registry",
149 "//content/public/browser", 16 "//content/public/browser",
150 "//extensions/common", 17 "//extensions/common",
151 "//extensions/common/api", 18 "//extensions/common/api",
152 "//extensions/strings", 19 "//extensions/strings",
153 "//skia", 20 "//skia",
154 "//third_party/leveldatabase", 21 "//third_party/leveldatabase",
155 ] 22 ]
156 23
157 if (enable_extensions) { 24 if (enable_extensions) {
158 # Includes all API implementations and the ExtensionsApiClient 25 # Includes all API implementations and the ExtensionsApiClient
159 # interface. Moving an API from src/chrome to src/extensions implies 26 # interface. Moving an API from src/chrome to src/extensions implies
160 # it can be cleanly disabled with enable_extensions=false. 27 # it can be cleanly disabled with enable_extensions=false.
161 # TODO: Eventually the entire extensions module should not be built 28 # TODO: Eventually the entire extensions module should not be built
162 # when enable_extensions=false. 29 # when enable_extensions=false.
163 sources += [ 30 sources += [
164 # NOTE: When moving an API out of Chrome be sure to verify that the 31 "admin_policy.cc",
165 # Android build still compiles. See conditions below. 32 "admin_policy.h",
166 "api/api_resource.cc", 33 "api/api_resource.cc",
167 "api/api_resource.h", 34 "api/api_resource.h",
168 "api/api_resource_manager.h", 35 "api/api_resource_manager.h",
169 "api/app_runtime/app_runtime_api.cc", 36 "api/app_runtime/app_runtime_api.cc",
170 "api/app_runtime/app_runtime_api.h", 37 "api/app_runtime/app_runtime_api.h",
171 "api/app_view/app_view_internal_api.cc", 38 "api/app_view/app_view_internal_api.cc",
172 "api/app_view/app_view_internal_api.h", 39 "api/app_view/app_view_internal_api.h",
173 "api/async_api_function.cc", 40 "api/async_api_function.cc",
174 "api/async_api_function.h", 41 "api/async_api_function.h",
175 "api/dns/dns_api.cc", 42 "api/dns/dns_api.cc",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 "api/storage/value_store_cache.cc", 96 "api/storage/value_store_cache.cc",
230 "api/storage/value_store_cache.h", 97 "api/storage/value_store_cache.h",
231 "api/storage/weak_unlimited_settings_storage.cc", 98 "api/storage/weak_unlimited_settings_storage.cc",
232 "api/storage/weak_unlimited_settings_storage.h", 99 "api/storage/weak_unlimited_settings_storage.h",
233 "api/test/test_api.cc", 100 "api/test/test_api.cc",
234 "api/test/test_api.h", 101 "api/test/test_api.h",
235 "api/usb/usb_api.cc", 102 "api/usb/usb_api.cc",
236 "api/usb/usb_api.h", 103 "api/usb/usb_api.h",
237 "api/usb/usb_device_resource.cc", 104 "api/usb/usb_device_resource.cc",
238 "api/usb/usb_device_resource.h", 105 "api/usb/usb_device_resource.h",
106 "api_activity_monitor.h",
107 "app_sorting.h",
108 "blacklist_state.h",
109 "blob_holder.cc",
110 "blob_holder.h",
111 "browser_context_keyed_api_factory.h",
239 "browser_context_keyed_service_factories.cc", 112 "browser_context_keyed_service_factories.cc",
240 "browser_context_keyed_service_factories.h", 113 "browser_context_keyed_service_factories.h",
114 "component_extension_resource_manager.h",
115 "computed_hashes.cc",
116 "computed_hashes.h",
117 "content_hash_fetcher.cc",
118 "content_hash_fetcher.h",
119 "content_hash_reader.cc",
120 "content_hash_reader.h",
121 "content_hash_tree.cc",
122 "content_hash_tree.h",
123 "content_verifier.cc",
124 "content_verifier.h",
125 "content_verifier_delegate.h",
126 "content_verifier_io_data.cc",
127 "content_verifier_io_data.h",
128 "content_verify_job.cc",
129 "content_verify_job.h",
130 "error_map.cc",
131 "error_map.h",
132 "event_listener_map.cc",
133 "event_listener_map.h",
134 "event_router.cc",
135 "event_router.h",
136 "extension_error.cc",
137 "extension_error.h",
138 "extension_function.cc",
139 "extension_function.h",
140 "extension_function_dispatcher.cc",
141 "extension_function_dispatcher.h",
142 "extension_function_registry.cc",
143 "extension_function_registry.h",
144 "extension_function_util.cc",
145 "extension_function_util.h",
146 "extension_host.cc",
147 "extension_host.h",
148 "extension_host_delegate.h",
149 "extension_icon_image.cc",
150 "extension_icon_image.h",
151 "extension_message_filter.cc",
152 "extension_message_filter.h",
153 "extension_pref_store.cc",
154 "extension_pref_store.h",
155 "extension_pref_value_map.cc",
156 "extension_pref_value_map.h",
157 "extension_pref_value_map_factory.cc",
158 "extension_pref_value_map_factory.h",
159 "extension_prefs.cc",
160 "extension_prefs.h",
161 "extension_prefs_factory.cc",
162 "extension_prefs_factory.h",
163 "extension_prefs_observer.h",
164 "extension_prefs_scope.h",
165 "extension_protocols.cc",
166 "extension_protocols.h",
167 "extension_registry.cc",
168 "extension_registry.h",
169 "extension_registry_factory.cc",
170 "extension_registry_factory.h",
171 "extension_registry_observer.h",
172 "extension_scoped_prefs.h",
173 "extension_system.cc",
174 "extension_system.h",
175 "extension_system_provider.cc",
176 "extension_system_provider.h",
177 "extension_util.cc",
178 "extension_util.h",
179 "extension_web_contents_observer.cc",
180 "extension_web_contents_observer.h",
181 "extensions_browser_client.cc",
182 "extensions_browser_client.h",
183 "external_provider_interface.h",
184 "file_highlighter.cc",
185 "file_highlighter.h",
186 "file_reader.cc",
187 "file_reader.h",
188 "granted_file_entry.cc",
189 "granted_file_entry.h",
190 "image_loader.cc",
191 "image_loader.h",
192 "image_loader_factory.cc",
193 "image_loader_factory.h",
194 "image_util.cc",
195 "image_util.h",
196 "info_map.cc",
197 "info_map.h",
198 "install_flag.h",
199 "lazy_background_task_queue.cc",
200 "lazy_background_task_queue.h",
201 "management_policy.cc",
202 "management_policy.h",
203 "pref_names.cc",
204 "pref_names.h",
205 "process_manager.cc",
206 "process_manager.h",
207 "process_manager_delegate.h",
208 "process_manager_observer.h",
209 "process_map.cc",
210 "process_map.h",
211 "process_map_factory.cc",
212 "process_map_factory.h",
213 "quota_service.cc",
214 "quota_service.h",
215 "renderer_startup_helper.cc",
216 "renderer_startup_helper.h",
217 "runtime_data.cc",
218 "runtime_data.h",
219 "state_store.cc",
220 "state_store.h",
221 "uninstall_reason.h",
222 "update_observer.h",
223 "value_store/leveldb_value_store.cc",
224 "value_store/leveldb_value_store.h",
225 "value_store/testing_value_store.cc",
226 "value_store/testing_value_store.h",
227 "value_store/value_store.cc",
228 "value_store/value_store.h",
229 "value_store/value_store_change.cc",
230 "value_store/value_store_change.h",
231 "value_store/value_store_frontend.cc",
232 "value_store/value_store_frontend.h",
233 "value_store/value_store_util.cc",
234 "value_store/value_store_util.h",
235 "verified_contents.cc",
236 "verified_contents.h",
237 "view_type_utils.cc",
238 "view_type_utils.h",
241 ] 239 ]
242 240
243 deps += [ 241 deps += [
244 "//components/usb_service", 242 "//components/usb_service",
245 "//device/serial", 243 "//device/serial",
246 ] 244 ]
247 } 245 }
248 246
249 if (is_win) { 247 if (is_win) {
250 cflags = [ 248 cflags = [
251 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 249 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
252 ] 250 ]
253 } 251 }
254 } 252 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698