1 # Copyright (c) 2012 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.
8 'target_name': 'browser_extensions',
9 'type': 'static_library',
10 'variables': { 'enable_wexit_time_destructors': 1, },
11 # Since browser and browser_extensions actually depend on each other,
12 # we must omit the dependency from browser_extensions to browser.
13 # However, this means browser_extensions and browser should more or less
14 # have the same dependencies. Once browser_extensions is untangled from
15 # browser, then we can clean up these dependencies.
17 'app/policy/cloud_policy_codegen.gyp:policy',
18 '../sync/protocol/sync_proto.gyp:sync_proto',
19 'chrome_resources.gyp:chrome_extra_resources',
20 'chrome_resources.gyp:chrome_resources',
21 'chrome_resources.gyp:chrome_strings',
22 'chrome_resources.gyp:platform_locale_settings',
23 'chrome_resources.gyp:theme_resources',
25 'common/extensions/api/api.gyp:api',
29 'in_memory_url_index_cache_proto',
31 '../build/temp_gyp/googleurl.gyp:googleurl',
32 '../content/content.gyp:content_browser',
33 '../crypto/crypto.gyp:crypto',
35 '../skia/skia.gyp:skia',
36 '../sync/sync.gyp:sync_notifier',
37 '../third_party/bzip2/bzip2.gyp:bzip2',
38 '../third_party/icu/icu.gyp:icui18n',
39 '../third_party/icu/icu.gyp:icuuc',
40 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
41 '../third_party/libusb/libusb.gyp:libusb',
42 '../third_party/re2/re2.gyp:re2',
43 '../ui/base/strings/ui_strings.gyp:ui_strings',
45 '../ui/ui.gyp:ui_resources',
46 '../webkit/support/webkit_support.gyp:appcache',
47 '../webkit/support/webkit_support.gyp:blob',
48 '../webkit/support/webkit_support.gyp:database',
49 '../webkit/support/webkit_support.gyp:fileapi',
50 '../webkit/support/webkit_support.gyp:glue',
51 '../webkit/support/webkit_support.gyp:quota',
52 '../webkit/support/webkit_support.gyp:user_agent',
53 '../webkit/support/webkit_support.gyp:webkit_base',
54 '../webkit/support/webkit_support.gyp:webkit_resources',
58 '<(INTERMEDIATE_DIR)',
61 # All .cc, .h, .m, and .mm files under browser/extensions except for
63 'browser/extensions/active_tab_permission_granter.cc',
64 'browser/extensions/active_tab_permission_granter.h',
65 'browser/extensions/activity_log.cc',
66 'browser/extensions/activity_log.h',
67 'browser/extensions/admin_policy.cc',
68 'browser/extensions/admin_policy.h',
69 'browser/extensions/api/api_function.cc',
70 'browser/extensions/api/api_function.h',
71 'browser/extensions/api/api_resource.cc',
72 'browser/extensions/api/api_resource.h',
73 'browser/extensions/api/api_resource_manager.h',
74 'browser/extensions/api/api_resource_event_notifier.cc',
75 'browser/extensions/api/api_resource_event_notifier.h',
76 'browser/extensions/api/alarms/alarm_manager.cc',
77 'browser/extensions/api/alarms/alarm_manager.h',
78 'browser/extensions/api/alarms/alarms_api.cc',
79 'browser/extensions/api/alarms/alarms_api.h',
80 'browser/extensions/api/app/app_api.cc',
81 'browser/extensions/api/app/app_api.h',
82 'browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc',
83 'browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h',
84 'browser/extensions/api/app_runtime/app_runtime_api.cc',
85 'browser/extensions/api/app_runtime/app_runtime_api.h',
86 'browser/extensions/api/app_window/app_window_api.cc',
87 'browser/extensions/api/app_window/app_window_api.h',
88 'browser/extensions/api/bluetooth/bluetooth_api.cc',
89 'browser/extensions/api/bluetooth/bluetooth_api.h',
90 'browser/extensions/api/bluetooth/bluetooth_api_utils.cc',
91 'browser/extensions/api/bluetooth/bluetooth_api_utils.h',
92 'browser/extensions/api/browsing_data/browsing_data_api.cc',
93 'browser/extensions/api/browsing_data/browsing_data_api.h',
94 'browser/extensions/api/cloud_print_private/cloud_print_private_api.cc',
95 'browser/extensions/api/cloud_print_private/cloud_print_private_api.h',
96 'browser/extensions/api/commands/command_service.cc',
97 'browser/extensions/api/commands/command_service.h',
98 'browser/extensions/api/commands/command_service_factory.cc',
99 'browser/extensions/api/commands/command_service_factory.h',
100 'browser/extensions/api/content_settings/content_settings_api.cc',
101 'browser/extensions/api/content_settings/content_settings_api.h',
102 'browser/extensions/api/content_settings/content_settings_api_constants.cc',
103 'browser/extensions/api/content_settings/content_settings_api_constants.h',
104 'browser/extensions/api/content_settings/content_settings_helpers.cc',
105 'browser/extensions/api/content_settings/content_settings_helpers.h',
106 'browser/extensions/api/content_settings/content_settings_store.cc',
107 'browser/extensions/api/content_settings/content_settings_store.h',
108 'browser/extensions/api/commands/commands.cc',
109 'browser/extensions/api/commands/commands.h',
110 'browser/extensions/api/context_menu/context_menu_api.cc',
111 'browser/extensions/api/context_menu/context_menu_api.h',
112 'browser/extensions/api/cookies/cookies_api.cc',
113 'browser/extensions/api/cookies/cookies_api.h',
114 'browser/extensions/api/cookies/cookies_api_constants.cc',
115 'browser/extensions/api/cookies/cookies_api_constants.h',
116 'browser/extensions/api/cookies/cookies_helpers.cc',
117 'browser/extensions/api/cookies/cookies_helpers.h',
118 'browser/extensions/api/debugger/debugger_api.cc',
119 'browser/extensions/api/debugger/debugger_api.h',
120 'browser/extensions/api/debugger/debugger_api_constants.cc',
121 'browser/extensions/api/debugger/debugger_api_constants.h',
122 'browser/extensions/api/declarative/declarative_api.cc',
123 'browser/extensions/api/declarative/declarative_api.h',
124 'browser/extensions/api/declarative/initializing_rules_registry.cc',
125 'browser/extensions/api/declarative/initializing_rules_registry.h',
126 'browser/extensions/api/declarative/rules_registry.cc',
127 'browser/extensions/api/declarative/rules_registry.h',
128 'browser/extensions/api/declarative/rules_registry_service.cc',
129 'browser/extensions/api/declarative/rules_registry_service.h',
130 'browser/extensions/api/declarative/rules_registry_storage_delegate.cc',
131 'browser/extensions/api/declarative/rules_registry_storage_delegate.h',
132 'browser/extensions/api/declarative/rules_registry_with_cache.cc',
133 'browser/extensions/api/declarative/rules_registry_with_cache.h',
134 'browser/extensions/api/declarative/test_rules_registry.cc',
135 'browser/extensions/api/declarative/test_rules_registry.h',
136 'browser/extensions/api/declarative_webrequest/request_stage.h',
137 'browser/extensions/api/declarative_webrequest/webrequest_action.cc',
138 'browser/extensions/api/declarative_webrequest/webrequest_action.h',
139 'browser/extensions/api/declarative_webrequest/webrequest_condition.cc',
140 'browser/extensions/api/declarative_webrequest/webrequest_condition.h',
141 'browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc',
142 'browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h',
143 'browser/extensions/api/declarative_webrequest/webrequest_constants.cc',
144 'browser/extensions/api/declarative_webrequest/webrequest_constants.h',
145 'browser/extensions/api/declarative_webrequest/webrequest_rule.cc',
146 'browser/extensions/api/declarative_webrequest/webrequest_rule.h',
147 'browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc',
148 'browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h',
149 'browser/extensions/api/discovery/discovery_api.cc',
150 'browser/extensions/api/discovery/discovery_api.h',
151 'browser/extensions/api/discovery/suggested_link.cc',
152 'browser/extensions/api/discovery/suggested_link.h',
153 'browser/extensions/api/discovery/suggested_links_registry.cc',
154 'browser/extensions/api/discovery/suggested_links_registry.h',
155 'browser/extensions/api/discovery/suggested_links_registry_factory.cc',
156 'browser/extensions/api/discovery/suggested_links_registry_factory.h',
157 'browser/extensions/api/dns/dns_api.cc',
158 'browser/extensions/api/dns/dns_api.h',
159 'browser/extensions/api/dns/host_resolver_wrapper.cc',
160 'browser/extensions/api/dns/host_resolver_wrapper.h',
161 'browser/extensions/api/downloads/downloads_api.cc',
162 'browser/extensions/api/downloads/downloads_api.h',
163 'browser/extensions/api/extension_action/extension_actions_api.cc',
164 'browser/extensions/api/extension_action/extension_actions_api.h',
165 'browser/extensions/api/extension_action/extension_browser_actions_api.h',
166 'browser/extensions/api/extension_action/extension_page_actions_api.cc',
167 'browser/extensions/api/extension_action/extension_page_actions_api.h',
168 'browser/extensions/api/extension_action/extension_page_actions_api_constants.cc',
169 'browser/extensions/api/extension_action/extension_page_actions_api_constants.h',
170 'browser/extensions/api/extension_action/extension_script_badge_api.cc',
171 'browser/extensions/api/extension_action/extension_script_badge_api.h',
172 'browser/extensions/api/file_system/file_system_api.cc',
173 'browser/extensions/api/file_system/file_system_api.h',
174 'browser/extensions/api/font_settings/font_settings_api.cc',
175 'browser/extensions/api/font_settings/font_settings_api.h',
176 'browser/extensions/api/i18n/i18n_api.cc',
177 'browser/extensions/api/i18n/i18n_api.h',
178 'browser/extensions/api/identity/identity_api.cc',
179 'browser/extensions/api/identity/identity_api.h',
180 'browser/extensions/api/identity/web_auth_flow.cc',
181 'browser/extensions/api/identity/web_auth_flow.h',
182 'browser/extensions/api/idle/idle_api.cc',
183 'browser/extensions/api/idle/idle_api.h',
184 'browser/extensions/api/idle/idle_api_constants.cc',
185 'browser/extensions/api/idle/idle_api_constants.h',
186 'browser/extensions/api/idltest/idltest_api.cc',
187 'browser/extensions/api/idltest/idltest_api.h',
188 'browser/extensions/api/input_ime/input_ime_api.cc',
189 'browser/extensions/api/input_ime/input_ime_api.h',
190 'browser/extensions/api/managed_mode/managed_mode_api.cc',
191 'browser/extensions/api/managed_mode/managed_mode_api.h',
192 'browser/extensions/api/management/management_api.cc',
193 'browser/extensions/api/management/management_api.h',
194 'browser/extensions/api/management/management_api_constants.cc',
195 'browser/extensions/api/management/management_api_constants.h',
196 'browser/extensions/api/media_galleries/media_galleries_api.cc',
197 'browser/extensions/api/media_galleries/media_galleries_api.h',
198 'browser/extensions/api/media_galleries_private/media_galleries_private_event_router.cc',
199 'browser/extensions/api/media_galleries_private/media_galleries_private_event_router.h',
200 'browser/extensions/api/messaging/message_service.cc',
201 'browser/extensions/api/messaging/message_service.h',
202 'browser/extensions/api/metrics/metrics.cc',
203 'browser/extensions/api/metrics/metrics.h',
204 'browser/extensions/api/notification/notification_api.cc',
205 'browser/extensions/api/notification/notification_api.h',
206 'browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc',
207 'browser/extensions/api/offscreen_tabs/offscreen_tabs_api.h',
208 'browser/extensions/api/offscreen_tabs/offscreen_tabs_constants.cc',
209 'browser/extensions/api/offscreen_tabs/offscreen_tabs_constants.h',
210 'browser/extensions/api/omnibox/omnibox_api.cc',
211 'browser/extensions/api/omnibox/omnibox_api.h',
212 'browser/extensions/api/page_capture/page_capture_api.cc',
213 'browser/extensions/api/page_capture/page_capture_api.h',
214 'browser/extensions/api/permissions/permissions_api.cc',
215 'browser/extensions/api/permissions/permissions_api.h',
216 'browser/extensions/api/permissions/permissions_api_helpers.cc',
217 'browser/extensions/api/permissions/permissions_api_helpers.h',
218 'browser/extensions/api/preference/preference_api.cc',
219 'browser/extensions/api/preference/preference_api.h',
220 'browser/extensions/api/preference/preference_api_constants.cc',
221 'browser/extensions/api/preference/preference_api_constants.h',
222 'browser/extensions/api/preference/preference_helpers.cc',
223 'browser/extensions/api/preference/preference_helpers.h',
224 'browser/extensions/api/processes/processes_api.cc',
225 'browser/extensions/api/processes/processes_api.h',
226 'browser/extensions/api/processes/processes_api_constants.cc',
227 'browser/extensions/api/processes/processes_api_constants.h',
228 'browser/extensions/api/proxy/proxy_api.cc',
229 'browser/extensions/api/proxy/proxy_api.h',
230 'browser/extensions/api/proxy/proxy_api_constants.cc',
231 'browser/extensions/api/proxy/proxy_api_constants.h',
232 'browser/extensions/api/proxy/proxy_api_helpers.cc',
233 'browser/extensions/api/proxy/proxy_api_helpers.h',
234 'browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc',
235 'browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.h',
236 'browser/extensions/api/push_messaging/push_messaging_api.cc',
237 'browser/extensions/api/push_messaging/push_messaging_api.h',
238 'browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc',
239 'browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h',
240 'browser/extensions/api/push_messaging/push_messaging_invalidation_handler_delegate.h',
241 'browser/extensions/api/push_messaging/push_messaging_invalidation_mapper.h',
242 'browser/extensions/api/record/record_api.cc',
243 'browser/extensions/api/record/record_api.h',
244 'browser/extensions/api/rtc_private/rtc_private_api.cc',
245 'browser/extensions/api/rtc_private/rtc_private_api.h',
246 'browser/extensions/api/runtime/runtime_api.cc',
247 'browser/extensions/api/runtime/runtime_api.h',
248 'browser/extensions/api/serial/serial_api.cc',
249 'browser/extensions/api/serial/serial_api.h',
250 'browser/extensions/api/serial/serial_connection.cc',
251 'browser/extensions/api/serial/serial_connection.h',
252 'browser/extensions/api/serial/serial_connection_posix.cc',
253 'browser/extensions/api/serial/serial_connection_win.cc',
254 'browser/extensions/api/serial/serial_port_enumerator.cc',
255 'browser/extensions/api/serial/serial_port_enumerator.h',
256 'browser/extensions/api/serial/serial_port_enumerator_posix.cc',
257 'browser/extensions/api/serial/serial_port_enumerator_win.cc',
258 'browser/extensions/api/socket/socket.cc',
259 'browser/extensions/api/socket/socket.h',
260 'browser/extensions/api/socket/socket_api.cc',
261 'browser/extensions/api/socket/socket_api.h',
262 'browser/extensions/api/socket/tcp_socket.cc',
263 'browser/extensions/api/socket/tcp_socket.h',
264 'browser/extensions/api/socket/udp_socket.cc',
265 'browser/extensions/api/socket/udp_socket.h',
266 'browser/extensions/api/sync_file_system/sync_file_system_api.cc',
267 'browser/extensions/api/sync_file_system/sync_file_system_api.h',
268 'browser/extensions/api/system_info_cpu/cpu_info_provider.cc',
269 'browser/extensions/api/system_info_cpu/cpu_info_provider.h',
270 'browser/extensions/api/system_info_cpu/cpu_info_provider_linux.cc',
271 'browser/extensions/api/system_info_cpu/cpu_info_provider_mac.cc',
272 'browser/extensions/api/system_info_cpu/cpu_info_provider_win.cc',
273 'browser/extensions/api/system_info_cpu/cpu_info_provider_android.cc',
274 'browser/extensions/api/system_info_cpu/system_info_cpu_api.cc',
275 'browser/extensions/api/system_info_cpu/system_info_cpu_api.h',
276 'browser/extensions/api/system_info_storage/storage_info_provider.cc',
277 'browser/extensions/api/system_info_storage/storage_info_provider.h',
278 'browser/extensions/api/system_info_storage/storage_info_provider_linux.cc',
279 'browser/extensions/api/system_info_storage/storage_info_provider_mac.cc',
280 'browser/extensions/api/system_info_storage/storage_info_provider_win.cc',
281 'browser/extensions/api/system_info_storage/system_info_storage_api.cc',
282 'browser/extensions/api/system_info_storage/system_info_storage_api.h',
283 'browser/extensions/api/tabs/execute_code_in_tab_function.cc',
284 'browser/extensions/api/tabs/execute_code_in_tab_function.h',
285 'browser/extensions/api/tabs/tabs.cc',
286 'browser/extensions/api/tabs/tabs.h',
287 'browser/extensions/api/tabs/tabs_constants.cc',
288 'browser/extensions/api/tabs/tabs_constants.h',
289 'browser/extensions/api/terminal/terminal_extension_helper.cc',
290 'browser/extensions/api/terminal/terminal_extension_helper.h',
291 'browser/extensions/api/terminal/terminal_private_api.cc',
292 'browser/extensions/api/terminal/terminal_private_api.h',
293 'browser/extensions/api/test/test_api.cc',
294 'browser/extensions/api/test/test_api.h',
295 'browser/extensions/api/usb/usb_api.cc',
296 'browser/extensions/api/usb/usb_api.h',
297 'browser/extensions/api/usb/usb_device_resource.cc',
298 'browser/extensions/api/usb/usb_device_resource.h',
299 'browser/extensions/api/web_navigation/frame_navigation_state.cc',
300 'browser/extensions/api/web_navigation/frame_navigation_state.h',
301 'browser/extensions/api/web_navigation/web_navigation_api.cc',
302 'browser/extensions/api/web_navigation/web_navigation_api.h',
303 'browser/extensions/api/web_navigation/web_navigation_api_constants.cc',
304 'browser/extensions/api/web_navigation/web_navigation_api_constants.h',
305 'browser/extensions/api/web_navigation/web_navigation_api_helpers.cc',
306 'browser/extensions/api/web_navigation/web_navigation_api_helpers.h',
307 'browser/extensions/api/web_request/form_data_parser.cc',
308 'browser/extensions/api/web_request/form_data_parser.h',
309 'browser/extensions/api/web_request/upload_data_presenter.cc',
310 'browser/extensions/api/web_request/upload_data_presenter.h',
311 'browser/extensions/api/web_request/web_request_api.cc',
312 'browser/extensions/api/web_request/web_request_api.h',
313 'browser/extensions/api/web_request/web_request_api_constants.cc',
314 'browser/extensions/api/web_request/web_request_api_constants.h',
315 'browser/extensions/api/web_request/web_request_api_helpers.cc',
316 'browser/extensions/api/web_request/web_request_api_helpers.h',
317 'browser/extensions/api/web_request/web_request_permissions.cc',
318 'browser/extensions/api/web_request/web_request_permissions.h',
319 'browser/extensions/api/web_request/web_request_time_tracker.cc',
320 'browser/extensions/api/web_request/web_request_time_tracker.h',
321 'browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.cc',
322 'browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.h',
323 'browser/extensions/api/webstore_private/webstore_private_api.cc',
324 'browser/extensions/api/webstore_private/webstore_private_api.h',
325 'browser/extensions/app_notification.cc',
326 'browser/extensions/app_notification.h',
327 'browser/extensions/app_notification_manager.cc',
328 'browser/extensions/app_notification_manager.h',
329 'browser/extensions/app_notification_storage.cc',
330 'browser/extensions/app_notification_storage.h',
331 'browser/extensions/app_notify_channel_setup.cc',
332 'browser/extensions/app_notify_channel_setup.h',
333 'browser/extensions/app_notify_channel_ui.h',
334 'browser/extensions/app_notify_channel_ui_impl.cc',
335 'browser/extensions/app_notify_channel_ui_impl.h',
336 'browser/extensions/app_notify_channel_ui_android.cc',
337 'browser/extensions/app_notify_channel_ui_android.h',
338 'browser/extensions/app_restore_service.cc',
339 'browser/extensions/app_restore_service.h',
340 'browser/extensions/app_restore_service_factory.cc',
341 'browser/extensions/app_restore_service_factory.h',
342 'browser/extensions/app_shortcut_manager.cc',
343 'browser/extensions/app_shortcut_manager.h',
344 'browser/extensions/app_sync_bundle.cc',
345 'browser/extensions/app_sync_bundle.h',
346 'browser/extensions/app_sync_data.cc',
347 'browser/extensions/app_sync_data.h',
348 'browser/extensions/browser_action_test_util.h',
349 'browser/extensions/browser_action_test_util_gtk.cc',
350 'browser/extensions/browser_action_test_util_mac.mm',
351 'browser/extensions/browser_event_router.cc',
352 'browser/extensions/browser_event_router.h',
353 'browser/extensions/browser_extension_window_controller.cc',
354 'browser/extensions/browser_extension_window_controller.h',
355 'browser/extensions/bundle_installer.cc',
356 'browser/extensions/bundle_installer.h',
357 'browser/extensions/component_loader.cc',
358 'browser/extensions/component_loader.h',
359 'browser/extensions/context_menu_matcher.cc',
360 'browser/extensions/context_menu_matcher.h',
361 'browser/extensions/convert_user_script.cc',
362 'browser/extensions/convert_user_script.h',
363 'browser/extensions/convert_web_app.cc',
364 'browser/extensions/convert_web_app.h',
365 'browser/extensions/crx_file.cc',
366 'browser/extensions/crx_file.h',
367 'browser/extensions/crx_installer.cc',
368 'browser/extensions/crx_installer.h',
369 'browser/extensions/crx_installer_error.h',
370 'browser/extensions/data_deleter.cc',
371 'browser/extensions/data_deleter.h',
372 'browser/extensions/default_apps.cc',
373 'browser/extensions/default_apps.h',
374 'browser/extensions/default_apps_trial.cc',
375 'browser/extensions/default_apps_trial.h',
376 'browser/extensions/event_listener_map.cc',
377 'browser/extensions/event_listener_map.h',
378 'browser/extensions/event_names.cc',
379 'browser/extensions/event_names.h',
380 'browser/extensions/event_router.cc',
381 'browser/extensions/event_router.h',
382 'browser/extensions/event_router_forwarder.cc',
383 'browser/extensions/event_router_forwarder.h',
384 'browser/extensions/extension_action.cc',
385 'browser/extensions/extension_action.h',
386 'browser/extensions/extension_action_icon_factory.cc',
387 'browser/extensions/extension_action_icon_factory.h',
388 'browser/extensions/extension_action_manager.cc',
389 'browser/extensions/extension_action_manager.h',
390 'browser/extensions/extension_context_menu_model.cc',
391 'browser/extensions/extension_context_menu_model.h',
392 'browser/extensions/extension_creator.cc',
393 'browser/extensions/extension_creator.h',
394 'browser/extensions/extension_creator_filter.cc',
395 'browser/extensions/extension_creator_filter.h',
396 'browser/extensions/extension_devtools_bridge.cc',
397 'browser/extensions/extension_devtools_bridge.h',
398 'browser/extensions/extension_devtools_events.cc',
399 'browser/extensions/extension_devtools_events.h',
400 'browser/extensions/extension_devtools_manager.cc',
401 'browser/extensions/extension_devtools_manager.h',
402 'browser/extensions/extension_disabled_ui.cc',
403 'browser/extensions/extension_disabled_ui.h',
404 'browser/extensions/extension_error_reporter.cc',
405 'browser/extensions/extension_error_reporter.h',
406 'browser/extensions/extension_error_ui.cc',
407 'browser/extensions/extension_error_ui.h',
408 'browser/extensions/extension_error_ui_default.cc',
409 'browser/extensions/extension_error_ui_default.h',
410 'browser/extensions/extension_function.cc',
411 'browser/extensions/extension_function.h',
412 'browser/extensions/extension_function_dispatcher.cc',
413 'browser/extensions/extension_function_dispatcher.h',
414 'browser/extensions/extension_function_registry.cc',
415 'browser/extensions/extension_function_registry.h',
416 'browser/extensions/extension_function_util.cc',
417 'browser/extensions/extension_function_util.h',
418 'browser/extensions/extension_global_error_badge.cc',
419 'browser/extensions/extension_global_error_badge.h',
420 'browser/extensions/extension_host.cc',
421 'browser/extensions/extension_host.h',
422 'browser/extensions/extension_host_mac.h',
423 'browser/extensions/extension_host_mac.mm',
424 'browser/extensions/extension_icon_image.cc',
425 'browser/extensions/extension_icon_image.h',
426 'browser/extensions/extension_icon_manager.cc',
427 'browser/extensions/extension_icon_manager.h',
428 'browser/extensions/extension_info_map.cc',
429 'browser/extensions/extension_info_map.h',
430 'browser/extensions/extension_infobar_delegate.cc',
431 'browser/extensions/extension_infobar_delegate.h',
432 'browser/extensions/extension_input_api.cc',
433 'browser/extensions/extension_input_api.h',
434 'browser/extensions/extension_input_method_api.cc',
435 'browser/extensions/extension_input_method_api.h',
436 'browser/extensions/extension_input_module_constants.cc',
437 'browser/extensions/extension_input_module_constants.h',
438 'browser/extensions/extension_install_prompt.cc',
439 'browser/extensions/extension_install_prompt.h',
440 'browser/extensions/extension_install_ui.cc',
441 'browser/extensions/extension_install_ui.h',
442 'browser/extensions/extension_install_ui_default.cc',
443 'browser/extensions/extension_install_ui_default.h',
444 'browser/extensions/extension_keybinding_registry.cc',
445 'browser/extensions/extension_keybinding_registry.h',
446 'browser/extensions/extension_module.cc',
447 'browser/extensions/extension_module.h',
448 'browser/extensions/extension_pref_store.cc',
449 'browser/extensions/extension_pref_store.h',
450 'browser/extensions/extension_pref_value_map.cc',
451 'browser/extensions/extension_pref_value_map.h',
452 'browser/extensions/extension_pref_value_map_factory.cc',
453 'browser/extensions/extension_pref_value_map_factory.h',
454 'browser/extensions/extension_prefs.cc',
455 'browser/extensions/extension_prefs.h',
456 'browser/extensions/extension_prefs_scope.h',
457 'browser/extensions/extension_process_manager.cc',
458 'browser/extensions/extension_process_manager.h',
459 'browser/extensions/extension_protocols.cc',
460 'browser/extensions/extension_protocols.h',
461 'browser/extensions/extension_resource_protocols.cc',
462 'browser/extensions/extension_resource_protocols.h',
463 'browser/extensions/extension_scoped_prefs.h',
464 'browser/extensions/extension_service.cc',
465 'browser/extensions/extension_service.h',
466 'browser/extensions/extension_sorting.cc',
467 'browser/extensions/extension_sorting.h',
468 'browser/extensions/extension_special_storage_policy.cc',
469 'browser/extensions/extension_special_storage_policy.h',
470 'browser/extensions/extension_system.cc',
471 'browser/extensions/extension_system.h',
472 'browser/extensions/extension_sync_bundle.cc',
473 'browser/extensions/extension_sync_bundle.h',
474 'browser/extensions/extension_system_factory.cc',
475 'browser/extensions/extension_system_factory.h',
476 'browser/extensions/extension_sync_data.cc',
477 'browser/extensions/extension_sync_data.h',
478 'browser/extensions/extension_tab_id_map.cc',
479 'browser/extensions/extension_tab_id_map.h',
480 'browser/extensions/extension_tab_util.cc',
481 'browser/extensions/extension_tab_util.h',
482 'browser/extensions/extension_toolbar_model.cc',
483 'browser/extensions/extension_toolbar_model.h',
484 'browser/extensions/extension_uninstall_dialog.cc',
485 'browser/extensions/extension_uninstall_dialog.h',
486 'browser/extensions/extension_warning_set.cc',
487 'browser/extensions/extension_warning_set.h',
488 'browser/extensions/extension_web_ui.cc',
489 'browser/extensions/extension_web_ui.h',
490 'browser/extensions/extension_webkit_preferences.cc',
491 'browser/extensions/extension_webkit_preferences.h',
492 'browser/extensions/extensions_quota_service.cc',
493 'browser/extensions/extensions_quota_service.h',
494 'browser/extensions/external_loader.cc',
495 'browser/extensions/external_loader.h',
496 'browser/extensions/external_policy_loader.cc',
497 'browser/extensions/external_policy_loader.h',
498 'browser/extensions/external_pref_loader.cc',
499 'browser/extensions/external_pref_loader.h',
500 'browser/extensions/external_provider_impl.cc',
501 'browser/extensions/external_provider_impl.h',
502 'browser/extensions/external_provider_interface.h',
503 'browser/extensions/external_registry_loader_win.cc',
504 'browser/extensions/external_registry_loader_win.h',
505 'browser/extensions/file_reader.cc',
506 'browser/extensions/file_reader.h',
507 'browser/extensions/image_loading_tracker.cc',
508 'browser/extensions/image_loading_tracker.h',
509 'browser/extensions/installed_loader.cc',
510 'browser/extensions/installed_loader.h',
511 'browser/extensions/key_identifier_conversion_views.cc',
512 'browser/extensions/key_identifier_conversion_views.h',
513 'browser/extensions/lazy_background_task_queue.cc',
514 'browser/extensions/lazy_background_task_queue.h',
515 'browser/extensions/location_bar_controller.h',
516 'browser/extensions/management_policy.cc',
517 'browser/extensions/management_policy.h',
518 'browser/extensions/menu_manager.cc',
519 'browser/extensions/menu_manager.h',
520 'browser/extensions/message_handler.cc',
521 'browser/extensions/message_handler.h',
522 'browser/extensions/navigation_observer.cc',
523 'browser/extensions/navigation_observer.h',
524 'browser/extensions/pack_extension_job.cc',
525 'browser/extensions/pack_extension_job.h',
526 'browser/extensions/page_action_controller.cc',
527 'browser/extensions/page_action_controller.h',
528 'browser/extensions/pending_extension_info.cc',
529 'browser/extensions/pending_extension_info.h',
530 'browser/extensions/pending_extension_manager.cc',
531 'browser/extensions/pending_extension_manager.h',
532 'browser/extensions/permissions_updater.cc',
533 'browser/extensions/permissions_updater.h',
534 'browser/extensions/platform_app_launcher.cc',
535 'browser/extensions/platform_app_launcher.h',
536 'browser/extensions/process_map.cc',
537 'browser/extensions/process_map.h',
538 'browser/extensions/requirements_checker.cc',
539 'browser/extensions/requirements_checker.h',
540 'browser/extensions/sandboxed_unpacker.cc',
541 'browser/extensions/sandboxed_unpacker.h',
542 'browser/extensions/script_badge_controller.cc',
543 'browser/extensions/script_badge_controller.h',
544 'browser/extensions/script_bubble_controller.cc',
545 'browser/extensions/script_bubble_controller.h',
546 'browser/extensions/script_executor.cc',
547 'browser/extensions/script_executor.h',
548 'browser/extensions/settings/leveldb_settings_storage_factory.cc',
549 'browser/extensions/settings/leveldb_settings_storage_factory.h',
550 'browser/extensions/settings/managed_value_store_cache.cc',
551 'browser/extensions/settings/managed_value_store_cache.h',
552 'browser/extensions/settings/setting_sync_data.cc',
553 'browser/extensions/settings/setting_sync_data.h',
554 'browser/extensions/settings/settings_api.cc',
555 'browser/extensions/settings/settings_api.h',
556 'browser/extensions/settings/settings_backend.cc',
557 'browser/extensions/settings/settings_backend.h',
558 'browser/extensions/settings/settings_frontend.cc',
559 'browser/extensions/settings/settings_frontend.h',
560 'browser/extensions/settings/settings_namespace.cc',
561 'browser/extensions/settings/settings_namespace.h',
562 'browser/extensions/settings/settings_observer.h',
563 'browser/extensions/settings/settings_storage_factory.h',
564 'browser/extensions/settings/settings_storage_quota_enforcer.cc',
565 'browser/extensions/settings/settings_storage_quota_enforcer.h',
566 'browser/extensions/settings/settings_sync_processor.cc',
567 'browser/extensions/settings/settings_sync_processor.h',
568 'browser/extensions/settings/settings_sync_util.cc',
569 'browser/extensions/settings/settings_sync_util.h',
570 'browser/extensions/settings/sync_or_local_value_store_cache.cc',
571 'browser/extensions/settings/sync_or_local_value_store_cache.h',
572 'browser/extensions/settings/syncable_settings_storage.cc',
573 'browser/extensions/settings/syncable_settings_storage.h',
574 'browser/extensions/settings/value_store_cache.cc',
575 'browser/extensions/settings/value_store_cache.h',
576 'browser/extensions/settings/weak_unlimited_settings_storage.cc',
577 'browser/extensions/settings/weak_unlimited_settings_storage.h',
578 'browser/extensions/shell_window_geometry_cache.cc',
579 'browser/extensions/shell_window_geometry_cache.h',
580 'browser/extensions/shell_window_registry.cc',
581 'browser/extensions/shell_window_registry.h',
582 'browser/extensions/startup_helper.cc',
583 'browser/extensions/startup_helper.h',
584 'browser/extensions/state_store.cc',
585 'browser/extensions/state_store.h',
586 'browser/extensions/system/system_api.cc',
587 'browser/extensions/system/system_api.h',
588 'browser/extensions/system_info_provider.h',
589 'browser/extensions/system_info_event_router.cc',
590 'browser/extensions/system_info_event_router.h',
591 'browser/extensions/tab_helper.cc',
592 'browser/extensions/tab_helper.h',
593 'browser/extensions/theme_installed_infobar_delegate.cc',
594 'browser/extensions/theme_installed_infobar_delegate.h',
595 'browser/extensions/unpacked_installer.cc',
596 'browser/extensions/unpacked_installer.h',
597 'browser/extensions/updater/extension_downloader.cc',
598 'browser/extensions/updater/extension_downloader.h',
599 'browser/extensions/updater/extension_downloader_delegate.cc',
600 'browser/extensions/updater/extension_downloader_delegate.h',
601 'browser/extensions/updater/extension_updater.cc',
602 'browser/extensions/updater/extension_updater.h',
603 'browser/extensions/updater/manifest_fetch_data.cc',
604 'browser/extensions/updater/manifest_fetch_data.h',
605 'browser/extensions/updater/safe_manifest_parser.cc',
606 'browser/extensions/updater/safe_manifest_parser.h',
607 'browser/extensions/user_script_listener.cc',
608 'browser/extensions/user_script_listener.h',
609 'browser/extensions/user_script_master.cc',
610 'browser/extensions/user_script_master.h',
611 'browser/extensions/web_intent_callbacks.cc',
612 'browser/extensions/web_intent_callbacks.h',
613 'browser/extensions/webstore_install_helper.cc',
614 'browser/extensions/webstore_install_helper.h',
615 'browser/extensions/webstore_installer.cc',
616 'browser/extensions/webstore_installer.h',
617 'browser/extensions/webstore_standalone_installer.cc',
618 'browser/extensions/webstore_standalone_installer.h',
619 'browser/extensions/window_controller.cc',
620 'browser/extensions/window_controller.h',
621 'browser/extensions/window_controller_list.cc',
622 'browser/extensions/window_controller_list.h',
623 'browser/extensions/window_controller_list_observer.h',
624 'browser/extensions/window_event_router.cc',
625 'browser/extensions/window_event_router.h',
630 ['exclude', '^browser/extensions/api/input_ime/input_ime_api.cc'],
631 ['exclude', '^browser/extensions/api/input_ime/input_ime_api.h'],
632 ['exclude', '^browser/extensions/api/rtc_private/rtc_private_api.cc'],
633 ['exclude', '^browser/extensions/api/rtc_private/rtc_private_api.h'],
634 ['exclude', '^browser/extensions/api/terminal/terminal_extension_helper.cc'],
635 ['exclude', '^browser/extensions/api/terminal/terminal_extension_helper.h'],
636 ['exclude', '^browser/extensions/api/terminal/terminal_private_api.cc'],
637 ['exclude', '^browser/extensions/api/terminal/terminal_private_api.h'],
638 ['exclude', '^browser/extensions/extension_input_method_api.cc'],
639 ['exclude', '^browser/extensions/extension_input_method_api.h'],
643 '../build/linux/system.gyp:dbus-glib',
644 '../third_party/libevent/libevent.gyp:libevent',
645 '../third_party/mozc/chrome/chromeos/renderer/chromeos_renderer.gyp:mozc_candidates_proto',
646 'browser/chromeos/input_method/input_method.gyp:gencode',
649 'browser/extensions/default_apps.cc',
650 'browser/extensions/default_apps.h',
653 ['enable_extensions==0', {
655 # Handle files in browser/extensions/api. Exclude everything by default, white list
656 # files if they are needed for linking.
657 # TODO: The re-includes should go away or shrink as extensions are refactored to be
658 # less intertwined in the main codebase.
659 ['exclude', '^browser/extensions/api/'],
660 ['exclude', '^browser/extensions/.*_api\.cc$'],
661 ['include', '^browser/extensions/api/alarms/alarm_manager.cc'],
662 ['include', '^browser/extensions/api/content_settings/content_settings_api_constants.cc'],
663 ['include', '^browser/extensions/api/content_settings/content_settings_helpers.cc'],
664 ['include', '^browser/extensions/api/content_settings/content_settings_store.cc'],
665 ['include', '^browser/extensions/api/declarative/initializing_rules_registry.cc'],
666 ['include', '^browser/extensions/api/declarative/rules_registry.cc'],
667 ['include', '^browser/extensions/api/declarative/rules_registry_service.cc'],
668 ['include', '^browser/extensions/api/declarative/rules_registry_storage_delegate.cc'],
669 ['include', '^browser/extensions/api/declarative/rules_registry_with_cache.cc'],
670 ['include', '^browser/extensions/api/declarative/substring_set_matcher.cc'],
671 ['include', '^browser/extensions/api/declarative/url_matcher.cc'],
672 ['include', '^browser/extensions/api/declarative_webrequest/webrequest_action.cc'],
673 ['include', '^browser/extensions/api/declarative_webrequest/webrequest_condition.cc'],
674 ['include', '^browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc'],
675 ['include', '^browser/extensions/api/declarative_webrequest/webrequest_constants.cc'],
676 ['include', '^browser/extensions/api/declarative_webrequest/webrequest_rule.cc'],
677 ['include', '^browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc'],
678 ['include', '^browser/extensions/api/extension_action/extension_page_actions_api_constants.cc'],
679 ['include', '^browser/extensions/api/messaging/message_service.cc'],
680 ['include', '^browser/extensions/api/omnibox/omnibox_api.cc'],
681 ['include', '^browser/extensions/api/permissions/permissions_api.cc'],
682 ['include', '^browser/extensions/api/permissions/permissions_api_helpers.cc'],
683 ['include', '^browser/extensions/api/processes/processes_api.cc'],
684 ['include', '^browser/extensions/api/processes/processes_api_constants.cc'],
685 ['include', '^browser/extensions/api/proxy/proxy_api.cc'],
686 ['include', '^browser/extensions/api/proxy/proxy_api_constants.cc'],
687 ['include', '^browser/extensions/api/push_messaging/push_messaging_api.cc'],
688 ['include', '^browser/extensions/api/runtime/runtime_api.cc'],
689 ['include', '^browser/extensions/api/system_info_cpu/cpu_info_provider.cc'],
690 ['include', '^browser/extensions/api/system_info_cpu/cpu_info_provider_android.cc'],
691 ['include', '^browser/extensions/api/tabs/tabs_constants.cc'],
692 ['include', '^browser/extensions/api/web_navigation/frame_navigation_state.cc'],
693 ['include', '^browser/extensions/api/web_navigation/web_navigation_api.cc'],
694 ['include', '^browser/extensions/api/web_navigation/web_navigation_api_constants.cc'],
695 ['include', '^browser/extensions/api/web_navigation/web_navigation_api_helpers.cc'],
696 ['include', '^browser/extensions/api/web_request/form_data_parser.cc'],
697 ['include', '^browser/extensions/api/web_request/upload_data_presenter.cc'],
698 ['include', '^browser/extensions/api/web_request/web_request_api.cc'],
699 ['include', '^browser/extensions/api/web_request/web_request_api_constants.cc'],
700 ['include', '^browser/extensions/api/web_request/web_request_api_helpers.cc'],
701 ['include', '^browser/extensions/api/web_request/web_request_permissions.cc'],
702 ['include', '^browser/extensions/api/web_request/web_request_time_tracker.cc'],
705 '../third_party/libusb/libusb.gyp:libusb',
708 ['OS=="linux" and use_aura==1', {
710 '../build/linux/system.gyp:dbus',
711 '../build/linux/system.gyp:fontconfig',
712 '../build/linux/system.gyp:x11',
713 '../dbus/dbus.gyp:dbus',
716 ['toolkit_uses_gtk == 1', {
718 '../build/linux/system.gyp:dbus',
719 '../build/linux/system.gyp:gconf',
720 '../build/linux/system.gyp:gtk',
721 '../build/linux/system.gyp:gtkprint',
722 '../build/linux/system.gyp:ssl',
723 '../build/linux/system.gyp:x11',
724 '../dbus/dbus.gyp:dbus',
725 '../third_party/undoview/undoview.gyp:undoview',
728 ['configuration_policy==0', {
730 'browser/extensions/settings/managed_value_store_cache.cc',
731 'browser/extensions/settings/managed_value_store_cache.h',
736 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
737 '../third_party/isimpledom/isimpledom.gyp:isimpledom',
740 ['win_use_allocator_shim==1', {
742 '<(allocator_target)',
748 ['OS=="linux" and toolkit_views==1',{
750 '<(INTERMEDIATE_DIR)',
751 '<(INTERMEDIATE_DIR)/chrome',
754 ['include', '^browser/extensions/'],
756 # Other excluded stuff.
757 ['exclude', '^browser/extensions/browser_action_test_util_gtk.cc'],
758 ['exclude', '^browser/extensions/extension_host_mac.h'],
759 ['exclude', '^browser/extensions/extension_host_mac.mm'],
760 ['exclude', '^browser/extensions/external_registry_loader_win.cc'],
761 ['exclude', '^browser/extensions/external_registry_loader_win.h'],
764 # Exclude these toolkit_views specific files again.
765 # (Required because of the '^browser/extensions/' include above)
766 ['toolkit_views==0', {
768 ['exclude', '^browser/extensions/extension_input_api.cc'],
769 ['exclude', '^browser/extensions/extension_input_api.h'],
770 ['exclude', '^browser/extensions/key_identifier_conversion_views.cc'],
771 ['exclude', '^browser/extensions/key_identifier_conversion_views.h'],
776 ['exclude', '^browser/extensions/extension_tts_api_linux.cc'],
779 '../dbus/dbus.gyp:dbus',
780 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
781 '../third_party/protobuf/protobuf.gyp:protoc#host',
788 'browser/extensions/extension_error_ui_android.cc',
789 'browser/extensions/extension_error_ui_android.h',
790 'browser/extensions/extension_install_ui_android.cc',
791 'browser/extensions/extension_install_ui_android.h',
792 'browser/extensions/extension_tab_util_android.cc',
795 'browser/extensions/app_notify_channel_ui_impl.cc',
796 'browser/extensions/app_notify_channel_ui_impl.h',
797 'browser/extensions/extension_error_ui_default.cc',
798 'browser/extensions/extension_error_ui_default.h',
799 'browser/extensions/extension_install_ui_default.cc',
800 'browser/extensions/extension_install_ui_default.h',
801 'browser/extensions/extension_tab_util.cc',
802 'browser/extensions/platform_app_launcher.cc',
803 'browser/extensions/platform_app_launcher.h',
809 # Protobuf compiler / generator for contacts-related protocol buffers.
810 'target_name': 'contacts_proto',
811 'type': 'static_library',
812 'sources': [ 'browser/chromeos/contacts/contact.proto' ],
814 'proto_in_dir': 'browser/chromeos/contacts',
815 'proto_out_dir': 'chrome/browser/chromeos/contacts',
817 'includes': [ '../build/protoc.gypi' ]
824 'target_name': 'app_host',
825 'type': 'executable',
829 'direct_dependent_settings': {
835 '<(DEPTH)/base/base.gyp:base',
836 '<(DEPTH)/chrome/chrome.gyp:chrome_version_resources',
837 '<(DEPTH)/chrome/chrome.gyp:launcher_support',
838 '<(DEPTH)/google_update/google_update.gyp:google_update',
841 'browser/extensions/app_host/app_host.rc',
842 'browser/extensions/app_host/app_host_main.cc',
843 'browser/extensions/app_host/binaries_installer.cc',
844 'browser/extensions/app_host/binaries_installer.h',
845 'browser/extensions/app_host/binaries_installer_internal.cc',
846 'browser/extensions/app_host/binaries_installer_internal.h',
847 'browser/extensions/app_host/update.cc',
848 'browser/extensions/app_host/update.h',
849 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/app_host_exe_version.rc',