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

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

Issue 418763002: Add GN Build file for extensions_browser target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: includes 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
« no previous file with comments | « BUILD.gn ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/features.gni")
6
7 # GYP version: extensions/extensions.gyp:extensions_browser
8 source_set("browser") {
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 ]
144
145 deps = [
146 "//components/keyed_service/content",
147 "//components/keyed_service/core",
148 "//components/pref_registry",
149 "//content/public/browser",
150 "//extensions/common",
151 "//extensions/common/api",
152 "//extensions/strings",
153 "//skia",
154 "//third_party/leveldatabase",
155 ]
156
157 if (enable_extensions) {
158 # Includes all API implementations and the ExtensionsApiClient
159 # interface. Moving an API from src/chrome to src/extensions implies
160 # it can be cleanly disabled with enable_extensions=false.
161 # TODO: Eventually the entire extensions module should not be built
162 # when enable_extensions=false.
163 sources += [
164 # NOTE: When moving an API out of Chrome be sure to verify that the
165 # Android build still compiles. See conditions below.
166 "api/api_resource.cc",
167 "api/api_resource.h",
168 "api/api_resource_manager.h",
169 "api/app_runtime/app_runtime_api.cc",
170 "api/app_runtime/app_runtime_api.h",
171 "api/app_view/app_view_internal_api.cc",
172 "api/app_view/app_view_internal_api.h",
173 "api/async_api_function.cc",
174 "api/async_api_function.h",
175 "api/dns/dns_api.cc",
176 "api/dns/dns_api.h",
177 "api/dns/host_resolver_wrapper.cc",
178 "api/dns/host_resolver_wrapper.h",
179 "api/extensions_api_client.cc",
180 "api/extensions_api_client.h",
181 "api/power/power_api.cc",
182 "api/power/power_api.h",
183 "api/power/power_api_manager.cc",
184 "api/power/power_api_manager.h",
185 "api/runtime/runtime_api.cc",
186 "api/runtime/runtime_api.h",
187 "api/runtime/runtime_api_delegate.cc",
188 "api/runtime/runtime_api_delegate.h",
189 "api/serial/serial_api.cc",
190 "api/serial/serial_api.h",
191 "api/serial/serial_connection.cc",
192 "api/serial/serial_connection.h",
193 "api/serial/serial_event_dispatcher.cc",
194 "api/serial/serial_event_dispatcher.h",
195 "api/socket/socket.cc",
196 "api/socket/socket.h",
197 "api/socket/socket_api.cc",
198 "api/socket/socket_api.h",
199 "api/socket/tcp_socket.cc",
200 "api/socket/tcp_socket.h",
201 "api/socket/udp_socket.cc",
202 "api/socket/udp_socket.h",
203 "api/sockets_tcp/sockets_tcp_api.cc",
204 "api/sockets_tcp/sockets_tcp_api.h",
205 "api/sockets_tcp/tcp_socket_event_dispatcher.cc",
206 "api/sockets_tcp/tcp_socket_event_dispatcher.h",
207 "api/sockets_tcp_server/sockets_tcp_server_api.cc",
208 "api/sockets_tcp_server/sockets_tcp_server_api.h",
209 "api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc",
210 "api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h",
211 "api/sockets_udp/sockets_udp_api.cc",
212 "api/sockets_udp/sockets_udp_api.h",
213 "api/sockets_udp/udp_socket_event_dispatcher.cc",
214 "api/sockets_udp/udp_socket_event_dispatcher.h",
215 "api/storage/leveldb_settings_storage_factory.cc",
216 "api/storage/leveldb_settings_storage_factory.h",
217 "api/storage/local_value_store_cache.cc",
218 "api/storage/local_value_store_cache.h",
219 "api/storage/settings_namespace.cc",
220 "api/storage/settings_namespace.h",
221 "api/storage/settings_observer.h",
222 "api/storage/settings_storage_factory.h",
223 "api/storage/settings_storage_quota_enforcer.cc",
224 "api/storage/settings_storage_quota_enforcer.h",
225 "api/storage/storage_api.cc",
226 "api/storage/storage_api.h",
227 "api/storage/storage_frontend.cc",
228 "api/storage/storage_frontend.h",
229 "api/storage/value_store_cache.cc",
230 "api/storage/value_store_cache.h",
231 "api/storage/weak_unlimited_settings_storage.cc",
232 "api/storage/weak_unlimited_settings_storage.h",
233 "api/test/test_api.cc",
234 "api/test/test_api.h",
235 "api/usb/usb_api.cc",
236 "api/usb/usb_api.h",
237 "api/usb/usb_device_resource.cc",
238 "api/usb/usb_device_resource.h",
239 "browser_context_keyed_service_factories.cc",
240 "browser_context_keyed_service_factories.h",
241 ]
242
243 deps += [
244 "//components/usb_service",
245 "//device/serial",
246 ]
247 }
248
249 if (is_win) {
250 cflags = [
251 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
252 ]
253 }
254 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698