Fix build break
[chromium-blink-merge.git] / chrome / chrome_browser_extensions.gypi
blob74849439f9cb59fe2cb72516c803b833d9c346f8
1 # Copyright (c) 2013 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.
6   'targets': [
7     {
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.
16       'dependencies': [
17         'chrome_resources.gyp:chrome_extra_resources',
18         'chrome_resources.gyp:chrome_resources',
19         'chrome_resources.gyp:chrome_strings',
20         'chrome_resources.gyp:platform_locale_settings',
21         'chrome_resources.gyp:theme_resources',
22         'common',
23         'common/extensions/api/api.gyp:api',
24         'common_net',
25         'debugger',
26         'in_memory_url_index_cache_proto',
27         'installer_util',
28         '../build/temp_gyp/googleurl.gyp:googleurl',
29         '../content/content.gyp:content_browser',
30         '../crypto/crypto.gyp:crypto',
31         '../device/device.gyp:device_bluetooth',
32         '../net/net.gyp:net',
33         '../skia/skia.gyp:skia',
34         '../sync/sync.gyp:sync',
35         '../third_party/bzip2/bzip2.gyp:bzip2',
36         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
37         '../third_party/icu/icu.gyp:icui18n',
38         '../third_party/icu/icu.gyp:icuuc',
39         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
40         '../third_party/libusb/libusb.gyp:libusb',
41         '../third_party/re2/re2.gyp:re2',
42         '../ui/base/strings/ui_strings.gyp:ui_strings',
43         '../ui/ui.gyp:ui',
44         '../ui/ui.gyp:ui_resources',
45         '../webkit/support/webkit_support.gyp:glue',
46         '../webkit/support/webkit_support.gyp:user_agent',
47         '../webkit/support/webkit_support.gyp:webkit_base',
48         '../webkit/support/webkit_support.gyp:webkit_resources',
49         '../webkit/support/webkit_support.gyp:webkit_storage',
50       ],
51       'include_dirs': [
52         '..',
53         '<(INTERMEDIATE_DIR)',
54       ],
55       'sources': [
56         # All .cc, .h, .m, and .mm files under browser/extensions except for
57         # tests and mocks.
58         '../extensions/browser/file_reader.cc',
59         '../extensions/browser/file_reader.h',
60         '../extensions/browser/view_type_utils.cc',
61         '../extensions/browser/view_type_utils.h',
62         'browser/extensions/active_tab_permission_granter.cc',
63         'browser/extensions/active_tab_permission_granter.h',
64         'browser/extensions/activity_actions.h',
65         'browser/extensions/activity_actions.cc',
66         'browser/extensions/activity_database.cc',
67         'browser/extensions/activity_database.h',
68         'browser/extensions/activity_log.cc',
69         'browser/extensions/activity_log.h',
70         'browser/extensions/admin_policy.cc',
71         'browser/extensions/admin_policy.h',
72         'browser/extensions/api_actions.cc',
73         'browser/extensions/api_actions.h',
74         'browser/extensions/api/api_function.cc',
75         'browser/extensions/api/api_function.h',
76         'browser/extensions/api/api_resource.cc',
77         'browser/extensions/api/api_resource.h',
78         'browser/extensions/api/api_resource_manager.h',
79         'browser/extensions/api/alarms/alarm_manager.cc',
80         'browser/extensions/api/alarms/alarm_manager.h',
81         'browser/extensions/api/alarms/alarms_api.cc',
82         'browser/extensions/api/alarms/alarms_api.h',
83         'browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc',
84         'browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h',
85         'browser/extensions/api/app_runtime/app_runtime_api.cc',
86         'browser/extensions/api/app_runtime/app_runtime_api.h',
87         'browser/extensions/api/app_window/app_window_api.cc',
88         'browser/extensions/api/app_window/app_window_api.h',
89         'browser/extensions/api/autotest_private/autotest_private_api.cc',
90         'browser/extensions/api/autotest_private/autotest_private_api.h',
91         'browser/extensions/api/autotest_private/autotest_private_api_factory.cc',
92         'browser/extensions/api/autotest_private/autotest_private_api_factory.h',
93         'browser/extensions/api/bluetooth/bluetooth_api.cc',
94         'browser/extensions/api/bluetooth/bluetooth_api.h',
95         'browser/extensions/api/bluetooth/bluetooth_api_factory.cc',
96         'browser/extensions/api/bluetooth/bluetooth_api_factory.h',
97         'browser/extensions/api/bluetooth/bluetooth_api_utils.cc',
98         'browser/extensions/api/bluetooth/bluetooth_api_utils.h',
99         'browser/extensions/api/bluetooth/bluetooth_event_router.cc',
100         'browser/extensions/api/bluetooth/bluetooth_event_router.h',
101         'browser/extensions/api/bluetooth/bluetooth_extension_function.cc',
102         'browser/extensions/api/bluetooth/bluetooth_extension_function.h',
103         'browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc',
104         'browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h',
105         'browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api_constants.cc',
106         'browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api_constants.h',
107         'browser/extensions/api/bookmarks/bookmark_api_constants.cc',
108         'browser/extensions/api/bookmarks/bookmark_api_constants.h',
109         'browser/extensions/api/bookmarks/bookmark_api_helpers.cc',
110         'browser/extensions/api/bookmarks/bookmark_api_helpers.h',
111         'browser/extensions/api/bookmarks/bookmarks_api.cc',
112         'browser/extensions/api/bookmarks/bookmarks_api.h',
113         'browser/extensions/api/browsing_data/browsing_data_api.cc',
114         'browser/extensions/api/browsing_data/browsing_data_api.h',
115         'browser/extensions/api/cloud_print_private/cloud_print_private_api.cc',
116         'browser/extensions/api/cloud_print_private/cloud_print_private_api.h',
117         'browser/extensions/api/commands/command_service.cc',
118         'browser/extensions/api/commands/command_service.h',
119         'browser/extensions/api/content_settings/content_settings_api.cc',
120         'browser/extensions/api/content_settings/content_settings_api.h',
121         'browser/extensions/api/content_settings/content_settings_api_constants.cc',
122         'browser/extensions/api/content_settings/content_settings_api_constants.h',
123         'browser/extensions/api/content_settings/content_settings_helpers.cc',
124         'browser/extensions/api/content_settings/content_settings_helpers.h',
125         'browser/extensions/api/content_settings/content_settings_store.cc',
126         'browser/extensions/api/content_settings/content_settings_store.h',
127         'browser/extensions/api/commands/commands.cc',
128         'browser/extensions/api/commands/commands.h',
129         'browser/extensions/api/context_menus/context_menus_api.cc',
130         'browser/extensions/api/context_menus/context_menus_api.h',
131         'browser/extensions/api/cookies/cookies_api.cc',
132         'browser/extensions/api/cookies/cookies_api.h',
133         'browser/extensions/api/cookies/cookies_api_constants.cc',
134         'browser/extensions/api/cookies/cookies_api_constants.h',
135         'browser/extensions/api/cookies/cookies_helpers.cc',
136         'browser/extensions/api/cookies/cookies_helpers.h',
137         'browser/extensions/api/debugger/debugger_api.cc',
138         'browser/extensions/api/debugger/debugger_api.h',
139         'browser/extensions/api/debugger/debugger_api_constants.cc',
140         'browser/extensions/api/debugger/debugger_api_constants.h',
141         'browser/extensions/api/declarative/declarative_api.cc',
142         'browser/extensions/api/declarative/declarative_api.h',
143         'browser/extensions/api/declarative/declarative_rule.h',
144         'browser/extensions/api/declarative/initializing_rules_registry.cc',
145         'browser/extensions/api/declarative/initializing_rules_registry.h',
146         'browser/extensions/api/declarative/rules_registry.h',
147         'browser/extensions/api/declarative/rules_registry_service.cc',
148         'browser/extensions/api/declarative/rules_registry_service.h',
149         'browser/extensions/api/declarative/rules_registry_storage_delegate.cc',
150         'browser/extensions/api/declarative/rules_registry_storage_delegate.h',
151         'browser/extensions/api/declarative/rules_registry_with_cache.cc',
152         'browser/extensions/api/declarative/rules_registry_with_cache.h',
153         'browser/extensions/api/declarative/test_rules_registry.cc',
154         'browser/extensions/api/declarative/test_rules_registry.h',
155         'browser/extensions/api/declarative_content/content_action.cc',
156         'browser/extensions/api/declarative_content/content_action.h',
157         'browser/extensions/api/declarative_content/content_condition.cc',
158         'browser/extensions/api/declarative_content/content_condition.h',
159         'browser/extensions/api/declarative_content/content_constants.cc',
160         'browser/extensions/api/declarative_content/content_constants.h',
161         'browser/extensions/api/declarative_content/content_rules_registry.cc',
162         'browser/extensions/api/declarative_content/content_rules_registry.h',
163         'browser/extensions/api/declarative_webrequest/request_stage.cc',
164         'browser/extensions/api/declarative_webrequest/request_stage.h',
165         'browser/extensions/api/declarative_webrequest/webrequest_action.cc',
166         'browser/extensions/api/declarative_webrequest/webrequest_action.h',
167         'browser/extensions/api/declarative_webrequest/webrequest_condition.cc',
168         'browser/extensions/api/declarative_webrequest/webrequest_condition.h',
169         'browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc',
170         'browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.h',
171         'browser/extensions/api/declarative_webrequest/webrequest_constants.cc',
172         'browser/extensions/api/declarative_webrequest/webrequest_constants.h',
173         'browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc',
174         'browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h',
175         'browser/extensions/api/developer_private/developer_private_api.cc',
176         'browser/extensions/api/developer_private/developer_private_api.h',
177         'browser/extensions/api/developer_private/developer_private_api_factory.cc',
178         'browser/extensions/api/developer_private/developer_private_api_factory.h',
179         'browser/extensions/api/developer_private/entry_picker.cc',
180         'browser/extensions/api/developer_private/entry_picker.h',
181         'browser/extensions/api/dial/dial_api.cc',
182         'browser/extensions/api/dial/dial_api.h',
183         'browser/extensions/api/dial/dial_api_factory.cc',
184         'browser/extensions/api/dial/dial_api_factory.h',
185         'browser/extensions/api/dial/dial_device_data.cc',
186         'browser/extensions/api/dial/dial_device_data.h',
187         'browser/extensions/api/dial/dial_registry.cc',
188         'browser/extensions/api/dial/dial_registry.h',
189         'browser/extensions/api/dial/dial_service.cc',
190         'browser/extensions/api/dial/dial_service.h',
191         'browser/extensions/api/discovery/discovery_api.cc',
192         'browser/extensions/api/discovery/discovery_api.h',
193         'browser/extensions/api/discovery/suggested_link.cc',
194         'browser/extensions/api/discovery/suggested_link.h',
195         'browser/extensions/api/discovery/suggested_links_registry.cc',
196         'browser/extensions/api/discovery/suggested_links_registry.h',
197         'browser/extensions/api/discovery/suggested_links_registry_factory.cc',
198         'browser/extensions/api/discovery/suggested_links_registry_factory.h',
199         'browser/extensions/api/dns/dns_api.cc',
200         'browser/extensions/api/dns/dns_api.h',
201         'browser/extensions/api/dns/host_resolver_wrapper.cc',
202         'browser/extensions/api/dns/host_resolver_wrapper.h',
203         'browser/extensions/api/downloads/downloads_api.cc',
204         'browser/extensions/api/downloads/downloads_api.h',
205         'browser/extensions/api/extension_action/extension_action_api.cc',
206         'browser/extensions/api/extension_action/extension_action_api.h',
207         'browser/extensions/api/downloads_internal/downloads_internal_api.cc',
208         'browser/extensions/api/downloads_internal/downloads_internal_api.h',
209         'browser/extensions/api/extension_action/extension_page_actions_api_constants.cc',
210         'browser/extensions/api/extension_action/extension_page_actions_api_constants.h',
211         'browser/extensions/api/file_handlers/app_file_handler_util.cc',
212         'browser/extensions/api/file_handlers/app_file_handler_util.h',
213         'browser/extensions/api/file_handlers/file_handlers_api.cc',
214         'browser/extensions/api/file_handlers/file_handlers_api.h',
215         'browser/extensions/api/file_system/file_system_api.cc',
216         'browser/extensions/api/file_system/file_system_api.h',
217         'browser/extensions/api/font_settings/font_settings_api.cc',
218         'browser/extensions/api/font_settings/font_settings_api.h',
219         'browser/extensions/api/history/history_api.h',
220         'browser/extensions/api/history/history_api.cc',
221         'browser/extensions/api/i18n/i18n_api.cc',
222         'browser/extensions/api/i18n/i18n_api.h',
223         'browser/extensions/api/identity/identity_api.cc',
224         'browser/extensions/api/identity/identity_api.h',
225         'browser/extensions/api/identity/identity_signin_flow.cc',
226         'browser/extensions/api/identity/identity_signin_flow.h',
227         'browser/extensions/api/identity/web_auth_flow.cc',
228         'browser/extensions/api/identity/web_auth_flow.h',
229         'browser/extensions/api/idle/idle_api.cc',
230         'browser/extensions/api/idle/idle_api.h',
231         'browser/extensions/api/idle/idle_api_constants.cc',
232         'browser/extensions/api/idle/idle_api_constants.h',
233         'browser/extensions/api/idle/idle_manager.cc',
234         'browser/extensions/api/idle/idle_manager.h',
235         'browser/extensions/api/idle/idle_manager_factory.cc',
236         'browser/extensions/api/idle/idle_manager_factory.h',
237         'browser/extensions/api/idltest/idltest_api.cc',
238         'browser/extensions/api/idltest/idltest_api.h',
239         'browser/extensions/api/input/input.cc',
240         'browser/extensions/api/input/input.h',
241         'browser/extensions/api/managed_mode_private/managed_mode_private_api.cc',
242         'browser/extensions/api/managed_mode_private/managed_mode_private_api.h',
243         'browser/extensions/api/management/management_api.cc',
244         'browser/extensions/api/management/management_api.h',
245         'browser/extensions/api/management/management_api_constants.cc',
246         'browser/extensions/api/management/management_api_constants.h',
247         'browser/extensions/api/media_galleries/media_galleries_api.cc',
248         'browser/extensions/api/media_galleries/media_galleries_api.h',
249         'browser/extensions/api/media_galleries_private/gallery_watch_manager.cc',
250         'browser/extensions/api/media_galleries_private/gallery_watch_manager.h',
251         'browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc',
252         'browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.h',
253         'browser/extensions/api/media_galleries_private/media_galleries_private_api.cc',
254         'browser/extensions/api/media_galleries_private/media_galleries_private_api.h',
255         'browser/extensions/api/media_galleries_private/media_galleries_private_event_router.cc',
256         'browser/extensions/api/media_galleries_private/media_galleries_private_event_router.h',
257         'browser/extensions/api/messaging/extension_message_port.cc',
258         'browser/extensions/api/messaging/extension_message_port.h',
259         'browser/extensions/api/messaging/message_service.cc',
260         'browser/extensions/api/messaging/message_service.h',
261         'browser/extensions/api/messaging/native_message_process_host.cc',
262         'browser/extensions/api/messaging/native_message_process_host.h',
263         'browser/extensions/api/messaging/native_process_launcher_posix.cc',
264         'browser/extensions/api/messaging/native_process_launcher_win.cc',
265         'browser/extensions/api/messaging/native_process_launcher.cc',
266         'browser/extensions/api/messaging/native_process_launcher.h',
267         'browser/extensions/api/messaging/native_messaging_host_manifest.cc',
268         'browser/extensions/api/messaging/native_messaging_host_manifest.h',
269         'browser/extensions/api/messaging/native_message_port.cc',
270         'browser/extensions/api/messaging/native_message_port.h',
271         'browser/extensions/api/metrics_private/metrics_private_api.cc',
272         'browser/extensions/api/metrics_private/metrics_private_api.h',
273         'browser/extensions/api/module/module.cc',
274         'browser/extensions/api/module/module.h',
275         'browser/extensions/api/notifications/notifications_api.cc',
276         'browser/extensions/api/notifications/notifications_api.h',
277         'browser/extensions/api/omnibox/omnibox_api.cc',
278         'browser/extensions/api/omnibox/omnibox_api.h',
279         'browser/extensions/api/page_capture/page_capture_api.cc',
280         'browser/extensions/api/page_capture/page_capture_api.h',
281         'browser/extensions/api/page_launcher/page_launcher_api.cc',
282         'browser/extensions/api/page_launcher/page_launcher_api.h',
283         'browser/extensions/api/permissions/permissions_api.cc',
284         'browser/extensions/api/permissions/permissions_api.h',
285         'browser/extensions/api/permissions/permissions_api_helpers.cc',
286         'browser/extensions/api/permissions/permissions_api_helpers.h',
287         'browser/extensions/api/plugins/plugins_api.cc',
288         'browser/extensions/api/plugins/plugins_api.h',
289         'browser/extensions/api/power/power_api.cc',
290         'browser/extensions/api/power/power_api.h',
291         'browser/extensions/api/power/power_api_manager.cc',
292         'browser/extensions/api/power/power_api_manager.h',
293         'browser/extensions/api/preference/preference_api.cc',
294         'browser/extensions/api/preference/preference_api.h',
295         'browser/extensions/api/preference/preference_api_constants.cc',
296         'browser/extensions/api/preference/preference_api_constants.h',
297         'browser/extensions/api/preference/preference_helpers.cc',
298         'browser/extensions/api/preference/preference_helpers.h',
299         'browser/extensions/api/processes/processes_api.cc',
300         'browser/extensions/api/processes/processes_api.h',
301         'browser/extensions/api/processes/processes_api_constants.cc',
302         'browser/extensions/api/processes/processes_api_constants.h',
303         'browser/extensions/api/profile_keyed_api_factory.h',
304         'browser/extensions/api/proxy/proxy_api.cc',
305         'browser/extensions/api/proxy/proxy_api.h',
306         'browser/extensions/api/proxy/proxy_api_constants.cc',
307         'browser/extensions/api/proxy/proxy_api_constants.h',
308         'browser/extensions/api/proxy/proxy_api_helpers.cc',
309         'browser/extensions/api/proxy/proxy_api_helpers.h',
310         'browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.cc',
311         'browser/extensions/api/push_messaging/obfuscated_gaia_id_fetcher.h',
312         'browser/extensions/api/push_messaging/push_messaging_api.cc',
313         'browser/extensions/api/push_messaging/push_messaging_api.h',
314         'browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc',
315         'browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h',
316         'browser/extensions/api/push_messaging/push_messaging_invalidation_handler_delegate.h',
317         'browser/extensions/api/push_messaging/push_messaging_invalidation_mapper.h',
318         'browser/extensions/api/record/record_api.cc',
319         'browser/extensions/api/record/record_api.h',
320         'browser/extensions/api/runtime/runtime_api.cc',
321         'browser/extensions/api/runtime/runtime_api.h',
322         'browser/extensions/api/serial/serial_api.cc',
323         'browser/extensions/api/serial/serial_api.h',
324         'browser/extensions/api/serial/serial_connection.cc',
325         'browser/extensions/api/serial/serial_connection.h',
326         'browser/extensions/api/serial/serial_connection_posix.cc',
327         'browser/extensions/api/serial/serial_connection_win.cc',
328         'browser/extensions/api/serial/serial_port_enumerator.cc',
329         'browser/extensions/api/serial/serial_port_enumerator.h',
330         'browser/extensions/api/serial/serial_port_enumerator_posix.cc',
331         'browser/extensions/api/serial/serial_port_enumerator_win.cc',
332         'browser/extensions/api/session_restore/session_restore_api.cc',
333         'browser/extensions/api/session_restore/session_restore_api.h',
334         'browser/extensions/api/socket/socket.cc',
335         'browser/extensions/api/socket/socket.h',
336         'browser/extensions/api/socket/socket_api.cc',
337         'browser/extensions/api/socket/socket_api.h',
338         'browser/extensions/api/socket/tcp_socket.cc',
339         'browser/extensions/api/socket/tcp_socket.h',
340         'browser/extensions/api/socket/udp_socket.cc',
341         'browser/extensions/api/socket/udp_socket.h',
342         'browser/extensions/api/storage/leveldb_settings_storage_factory.cc',
343         'browser/extensions/api/storage/leveldb_settings_storage_factory.h',
344         'browser/extensions/api/storage/managed_value_store_cache.cc',
345         'browser/extensions/api/storage/managed_value_store_cache.h',
346         'browser/extensions/api/storage/policy_value_store.cc',
347         'browser/extensions/api/storage/policy_value_store.h',
348         'browser/extensions/api/storage/setting_sync_data.cc',
349         'browser/extensions/api/storage/setting_sync_data.h',
350         'browser/extensions/api/storage/settings_backend.cc',
351         'browser/extensions/api/storage/settings_backend.h',
352         'browser/extensions/api/storage/settings_frontend.cc',
353         'browser/extensions/api/storage/settings_frontend.h',
354         'browser/extensions/api/storage/settings_namespace.cc',
355         'browser/extensions/api/storage/settings_namespace.h',
356         'browser/extensions/api/storage/settings_observer.h',
357         'browser/extensions/api/storage/settings_storage_factory.h',
358         'browser/extensions/api/storage/settings_storage_quota_enforcer.cc',
359         'browser/extensions/api/storage/settings_storage_quota_enforcer.h',
360         'browser/extensions/api/storage/settings_sync_processor.cc',
361         'browser/extensions/api/storage/settings_sync_processor.h',
362         'browser/extensions/api/storage/settings_sync_util.cc',
363         'browser/extensions/api/storage/settings_sync_util.h',
364         'browser/extensions/api/storage/storage_api.cc',
365         'browser/extensions/api/storage/storage_api.h',
366         'browser/extensions/api/storage/sync_or_local_value_store_cache.cc',
367         'browser/extensions/api/storage/sync_or_local_value_store_cache.h',
368         'browser/extensions/api/storage/syncable_settings_storage.cc',
369         'browser/extensions/api/storage/syncable_settings_storage.h',
370         'browser/extensions/api/storage/value_store_cache.cc',
371         'browser/extensions/api/storage/value_store_cache.h',
372         'browser/extensions/api/storage/weak_unlimited_settings_storage.cc',
373         'browser/extensions/api/storage/weak_unlimited_settings_storage.h',
374         'browser/extensions/api/streams_private/streams_private_api.cc',
375         'browser/extensions/api/streams_private/streams_private_api.h',
376         'browser/extensions/api/sync_file_system/extension_sync_event_observer_factory.cc',
377         'browser/extensions/api/sync_file_system/extension_sync_event_observer_factory.h',
378         'browser/extensions/api/sync_file_system/extension_sync_event_observer.cc',
379         'browser/extensions/api/sync_file_system/extension_sync_event_observer.h',
380         'browser/extensions/api/sync_file_system/sync_file_system_api.cc',
381         'browser/extensions/api/sync_file_system/sync_file_system_api.h',
382         'browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc',
383         'browser/extensions/api/sync_file_system/sync_file_system_api_helpers.h',
384         'browser/extensions/api/system_indicator/system_indicator_api.cc',
385         'browser/extensions/api/system_indicator/system_indicator_api.h',
386         'browser/extensions/api/system_indicator/system_indicator_manager.cc',
387         'browser/extensions/api/system_indicator/system_indicator_manager.h',
388         'browser/extensions/api/system_indicator/system_indicator_manager_factory.cc',
389         'browser/extensions/api/system_indicator/system_indicator_manager_factory.h',
390         'browser/extensions/api/system_info_cpu/cpu_info_provider.cc',
391         'browser/extensions/api/system_info_cpu/cpu_info_provider.h',
392         'browser/extensions/api/system_info_cpu/cpu_info_provider_linux.cc',
393         'browser/extensions/api/system_info_cpu/cpu_info_provider_mac.cc',
394         'browser/extensions/api/system_info_cpu/cpu_info_provider_win.cc',
395         'browser/extensions/api/system_info_cpu/cpu_info_provider_android.cc',
396         'browser/extensions/api/system_info_cpu/system_info_cpu_api.cc',
397         'browser/extensions/api/system_info_cpu/system_info_cpu_api.h',
398         'browser/extensions/api/system_info_display/display_info_provider.cc',
399         'browser/extensions/api/system_info_display/display_info_provider.h',
400         'browser/extensions/api/system_info_display/display_info_provider_chromeos.cc',
401         'browser/extensions/api/system_info_display/display_info_provider_mac.cc',
402         'browser/extensions/api/system_info_display/display_info_provider_win.cc',
403         'browser/extensions/api/system_info_display/display_info_provider_x11.cc',
404         'browser/extensions/api/system_info_display/system_info_display_api.cc',
405         'browser/extensions/api/system_info_display/system_info_display_api.h',
406         'browser/extensions/api/system_info_memory/memory_info_provider.cc',
407         'browser/extensions/api/system_info_memory/memory_info_provider.h',
408         'browser/extensions/api/system_info_memory/system_info_memory_api.cc',
409         'browser/extensions/api/system_info_memory/system_info_memory_api.h',
410         'browser/extensions/api/system_info_storage/storage_info_observer.h',
411         'browser/extensions/api/system_info_storage/storage_info_provider.cc',
412         'browser/extensions/api/system_info_storage/storage_info_provider.h',
413         'browser/extensions/api/system_info_storage/storage_info_provider_android.cc',
414         'browser/extensions/api/system_info_storage/storage_info_provider_linux.cc',
415         'browser/extensions/api/system_info_storage/storage_info_provider_mac.cc',
416         'browser/extensions/api/system_info_storage/storage_info_provider_win.cc',
417         'browser/extensions/api/system_info_storage/system_info_storage_api.cc',
418         'browser/extensions/api/system_info_storage/system_info_storage_api.h',
419         'browser/extensions/api/tab_capture/tab_capture_api.cc',
420         'browser/extensions/api/tab_capture/tab_capture_api.h',
421         'browser/extensions/api/tab_capture/tab_capture_registry.cc',
422         'browser/extensions/api/tab_capture/tab_capture_registry.h',
423         'browser/extensions/api/tab_capture/tab_capture_registry_factory.cc',
424         'browser/extensions/api/tab_capture/tab_capture_registry_factory.h',
425         'browser/extensions/api/tabs/tabs_api.cc',
426         'browser/extensions/api/tabs/tabs_api.h',
427         'browser/extensions/api/tabs/tabs_windows_api.cc',
428         'browser/extensions/api/tabs/tabs_windows_api.h',
429         'browser/extensions/api/tabs/tabs_constants.cc',
430         'browser/extensions/api/tabs/tabs_constants.h',
431         'browser/extensions/api/tabs/windows_event_router.cc',
432         'browser/extensions/api/tabs/windows_event_router.h',
433         'browser/extensions/api/test/test_api.cc',
434         'browser/extensions/api/test/test_api.h',
435         'browser/extensions/api/top_sites/top_sites_api.cc',
436         'browser/extensions/api/top_sites/top_sites_api.h',
437         'browser/extensions/api/usb/usb_api.cc',
438         'browser/extensions/api/usb/usb_api.h',
439         'browser/extensions/api/usb/usb_device_resource.cc',
440         'browser/extensions/api/usb/usb_device_resource.h',
441         'browser/extensions/api/web_navigation/frame_navigation_state.cc',
442         'browser/extensions/api/web_navigation/frame_navigation_state.h',
443         'browser/extensions/api/web_navigation/web_navigation_api.cc',
444         'browser/extensions/api/web_navigation/web_navigation_api.h',
445         'browser/extensions/api/web_navigation/web_navigation_api_constants.cc',
446         'browser/extensions/api/web_navigation/web_navigation_api_constants.h',
447         'browser/extensions/api/web_navigation/web_navigation_api_helpers.cc',
448         'browser/extensions/api/web_navigation/web_navigation_api_helpers.h',
449         'browser/extensions/api/web_request/form_data_parser.cc',
450         'browser/extensions/api/web_request/form_data_parser.h',
451         'browser/extensions/api/web_request/upload_data_presenter.cc',
452         'browser/extensions/api/web_request/upload_data_presenter.h',
453         'browser/extensions/api/web_request/web_request_api.cc',
454         'browser/extensions/api/web_request/web_request_api.h',
455         'browser/extensions/api/web_request/web_request_api_constants.cc',
456         'browser/extensions/api/web_request/web_request_api_constants.h',
457         'browser/extensions/api/web_request/web_request_api_helpers.cc',
458         'browser/extensions/api/web_request/web_request_api_helpers.h',
459         'browser/extensions/api/web_request/web_request_permissions.cc',
460         'browser/extensions/api/web_request/web_request_permissions.h',
461         'browser/extensions/api/web_request/web_request_time_tracker.cc',
462         'browser/extensions/api/web_request/web_request_time_tracker.h',
463         'browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.cc',
464         'browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.h',
465         'browser/extensions/api/webstore_private/webstore_private_api.cc',
466         'browser/extensions/api/webstore_private/webstore_private_api.h',
467         'browser/extensions/api/webview/webview_api.cc',
468         'browser/extensions/api/webview/webview_api.h',
469         'browser/extensions/app_host_installer_win.cc',
470         'browser/extensions/app_host_installer_win.h',
471         'browser/extensions/app_icon_loader.h',
472         'browser/extensions/app_icon_loader_impl.cc',
473         'browser/extensions/app_icon_loader_impl.h',
474         'browser/extensions/app_sync_bundle.cc',
475         'browser/extensions/app_sync_bundle.h',
476         'browser/extensions/app_sync_data.cc',
477         'browser/extensions/app_sync_data.h',
478         'browser/extensions/app_window_contents.cc',
479         'browser/extensions/app_window_contents.h',
480         'browser/extensions/blacklist.cc',
481         'browser/extensions/blacklist.h',
482         'browser/extensions/blocked_actions.cc',
483         'browser/extensions/blocked_actions.h',
484         'browser/extensions/browser_action_test_util.h',
485         'browser/extensions/browser_event_router.cc',
486         'browser/extensions/browser_event_router.h',
487         'browser/extensions/browser_extension_window_controller.cc',
488         'browser/extensions/browser_extension_window_controller.h',
489         'browser/extensions/bundle_installer.cc',
490         'browser/extensions/bundle_installer.h',
491         'browser/extensions/component_loader.cc',
492         'browser/extensions/component_loader.h',
493         'browser/extensions/context_menu_matcher.cc',
494         'browser/extensions/context_menu_matcher.h',
495         'browser/extensions/convert_user_script.cc',
496         'browser/extensions/convert_user_script.h',
497         'browser/extensions/convert_web_app.cc',
498         'browser/extensions/convert_web_app.h',
499         'browser/extensions/crx_installer.cc',
500         'browser/extensions/crx_installer.h',
501         'browser/extensions/crx_installer_error.h',
502         'browser/extensions/content_scripts_parser.cc',
503         'browser/extensions/content_scripts_parser.h',
504         'browser/extensions/csp_parser.cc',
505         'browser/extensions/csp_parser.h',
506         'browser/extensions/data_deleter.cc',
507         'browser/extensions/data_deleter.h',
508         'browser/extensions/default_apps.cc',
509         'browser/extensions/default_apps.h',
510         'browser/extensions/dom_actions.cc',
511         'browser/extensions/dom_actions.h',
512         'browser/extensions/event_listener_map.cc',
513         'browser/extensions/event_listener_map.h',
514         'browser/extensions/event_names.cc',
515         'browser/extensions/event_names.h',
516         'browser/extensions/event_router.cc',
517         'browser/extensions/event_router.h',
518         'browser/extensions/event_router_forwarder.cc',
519         'browser/extensions/event_router_forwarder.h',
520         'browser/extensions/extension_action.cc',
521         'browser/extensions/extension_action.h',
522         'browser/extensions/extension_action_icon_factory.cc',
523         'browser/extensions/extension_action_icon_factory.h',
524         'browser/extensions/extension_action_manager.cc',
525         'browser/extensions/extension_action_manager.h',
526         'browser/extensions/extension_context_menu_model.cc',
527         'browser/extensions/extension_context_menu_model.h',
528         'browser/extensions/extension_creator.cc',
529         'browser/extensions/extension_creator.h',
530         'browser/extensions/extension_creator_filter.cc',
531         'browser/extensions/extension_creator_filter.h',
532         'browser/extensions/extension_disabled_ui.cc',
533         'browser/extensions/extension_disabled_ui.h',
534         'browser/extensions/extension_error_reporter.cc',
535         'browser/extensions/extension_error_reporter.h',
536         'browser/extensions/extension_error_ui.cc',
537         'browser/extensions/extension_error_ui.h',
538         'browser/extensions/extension_error_ui_default.cc',
539         'browser/extensions/extension_error_ui_default.h',
540         'browser/extensions/extension_function.cc',
541         'browser/extensions/extension_function.h',
542         'browser/extensions/extension_function_dispatcher.cc',
543         'browser/extensions/extension_function_dispatcher.h',
544         'browser/extensions/extension_function_registry.cc',
545         'browser/extensions/extension_function_registry.h',
546         'browser/extensions/extension_function_util.cc',
547         'browser/extensions/extension_function_util.h',
548         'browser/extensions/extension_host.cc',
549         'browser/extensions/extension_host.h',
550         'browser/extensions/extension_host_mac.h',
551         'browser/extensions/extension_host_mac.mm',
552         'browser/extensions/extension_icon_image.cc',
553         'browser/extensions/extension_icon_image.h',
554         'browser/extensions/extension_icon_manager.cc',
555         'browser/extensions/extension_icon_manager.h',
556         'browser/extensions/extension_info_map.cc',
557         'browser/extensions/extension_info_map.h',
558         'browser/extensions/extension_infobar_delegate.cc',
559         'browser/extensions/extension_infobar_delegate.h',
560         'browser/extensions/extension_input_module_constants.cc',
561         'browser/extensions/extension_input_module_constants.h',
562         'browser/extensions/extension_install_prompt.cc',
563         'browser/extensions/extension_install_prompt.h',
564         'browser/extensions/extension_install_ui.cc',
565         'browser/extensions/extension_install_ui.h',
566         'browser/extensions/extension_keybinding_registry.cc',
567         'browser/extensions/extension_keybinding_registry.h',
568         'browser/extensions/extension_pref_store.cc',
569         'browser/extensions/extension_pref_store.h',
570         'browser/extensions/extension_pref_value_map.cc',
571         'browser/extensions/extension_pref_value_map.h',
572         'browser/extensions/extension_pref_value_map_factory.cc',
573         'browser/extensions/extension_pref_value_map_factory.h',
574         'browser/extensions/extension_prefs.cc',
575         'browser/extensions/extension_prefs.h',
576         'browser/extensions/extension_prefs_scope.h',
577         'browser/extensions/extension_process_manager.cc',
578         'browser/extensions/extension_process_manager.h',
579         'browser/extensions/extension_protocols.cc',
580         'browser/extensions/extension_protocols.h',
581         'browser/extensions/extension_renderer_state.cc',
582         'browser/extensions/extension_renderer_state.h',
583         'browser/extensions/extension_resource_protocols.cc',
584         'browser/extensions/extension_resource_protocols.h',
585         'browser/extensions/extension_scoped_prefs.h',
586         'browser/extensions/extension_service.cc',
587         'browser/extensions/extension_service.h',
588         'browser/extensions/extension_sorting.cc',
589         'browser/extensions/extension_sorting.h',
590         'browser/extensions/extension_special_storage_policy.cc',
591         'browser/extensions/extension_special_storage_policy.h',
592         'browser/extensions/extension_system.cc',
593         'browser/extensions/extension_system.h',
594         'browser/extensions/extension_sync_bundle.cc',
595         'browser/extensions/extension_sync_bundle.h',
596         'browser/extensions/extension_system_factory.cc',
597         'browser/extensions/extension_system_factory.h',
598         'browser/extensions/extension_sync_data.cc',
599         'browser/extensions/extension_sync_data.h',
600         'browser/extensions/extension_tab_util.cc',
601         'browser/extensions/extension_tab_util.h',
602         'browser/extensions/extension_toolbar_model.cc',
603         'browser/extensions/extension_toolbar_model.h',
604         'browser/extensions/extension_uninstall_dialog.cc',
605         'browser/extensions/extension_uninstall_dialog.h',
606         'browser/extensions/extension_warning_badge_service.cc',
607         'browser/extensions/extension_warning_badge_service.h',
608         'browser/extensions/extension_warning_service.cc',
609         'browser/extensions/extension_warning_service.h',
610         'browser/extensions/extension_warning_set.cc',
611         'browser/extensions/extension_warning_set.h',
612         'browser/extensions/extension_web_ui.cc',
613         'browser/extensions/extension_web_ui.h',
614         'browser/extensions/extension_webkit_preferences.cc',
615         'browser/extensions/extension_webkit_preferences.h',
616         'browser/extensions/extensions_quota_service.cc',
617         'browser/extensions/extensions_quota_service.h',
618         'browser/extensions/external_install_ui.cc',
619         'browser/extensions/external_install_ui.h',
620         'browser/extensions/external_loader.cc',
621         'browser/extensions/external_loader.h',
622         'browser/extensions/external_policy_loader.cc',
623         'browser/extensions/external_policy_loader.h',
624         'browser/extensions/external_pref_loader.cc',
625         'browser/extensions/external_pref_loader.h',
626         'browser/extensions/external_provider_impl.cc',
627         'browser/extensions/external_provider_impl.h',
628         'browser/extensions/external_provider_interface.h',
629         'browser/extensions/external_registry_loader_win.cc',
630         'browser/extensions/external_registry_loader_win.h',
631         'browser/extensions/image_loader.cc',
632         'browser/extensions/image_loader.h',
633         'browser/extensions/image_loader_factory.cc',
634         'browser/extensions/image_loader_factory.h',
635         'browser/extensions/installed_loader.cc',
636         'browser/extensions/installed_loader.h',
637         'browser/extensions/install_observer.h',
638         'browser/extensions/install_tracker.cc',
639         'browser/extensions/install_tracker.h',
640         'browser/extensions/install_tracker_factory.cc',
641         'browser/extensions/install_tracker_factory.h',
642         'browser/extensions/lazy_background_task_queue.cc',
643         'browser/extensions/lazy_background_task_queue.h',
644         'browser/extensions/location_bar_controller.h',
645         'browser/extensions/management_policy.cc',
646         'browser/extensions/management_policy.h',
647         'browser/extensions/chrome_manifest_parser.cc',
648         'browser/extensions/chrome_manifest_parser.h',
649         'browser/extensions/media_galleries_handler.h',
650         'browser/extensions/media_galleries_handler.cc',
651         'browser/extensions/menu_manager.cc',
652         'browser/extensions/menu_manager.h',
653         'browser/extensions/message_handler.cc',
654         'browser/extensions/message_handler.h',
655         'browser/extensions/navigation_observer.cc',
656         'browser/extensions/navigation_observer.h',
657         'browser/extensions/pack_extension_job.cc',
658         'browser/extensions/pack_extension_job.h',
659         'browser/extensions/page_action_controller.cc',
660         'browser/extensions/page_action_controller.h',
661         'browser/extensions/pending_extension_info.cc',
662         'browser/extensions/pending_extension_info.h',
663         'browser/extensions/pending_extension_manager.cc',
664         'browser/extensions/pending_extension_manager.h',
665         'browser/extensions/permissions_updater.cc',
666         'browser/extensions/permissions_updater.h',
667         'browser/extensions/platform_app_launcher.cc',
668         'browser/extensions/platform_app_launcher.h',
669         'browser/extensions/process_map.cc',
670         'browser/extensions/process_map.h',
671         'browser/extensions/requirements_checker.cc',
672         'browser/extensions/requirements_checker.h',
673         'browser/extensions/sandboxed_unpacker.cc',
674         'browser/extensions/sandboxed_unpacker.h',
675         'browser/extensions/script_badge_controller.cc',
676         'browser/extensions/script_badge_controller.h',
677         'browser/extensions/script_bubble_controller.cc',
678         'browser/extensions/script_bubble_controller.h',
679         'browser/extensions/script_executor.cc',
680         'browser/extensions/script_executor.h',
681         'browser/extensions/shell_window_geometry_cache.cc',
682         'browser/extensions/shell_window_geometry_cache.h',
683         'browser/extensions/shell_window_registry.cc',
684         'browser/extensions/shell_window_registry.h',
685         'browser/extensions/standard_management_policy_provider.cc',
686         'browser/extensions/standard_management_policy_provider.h',
687         'browser/extensions/startup_helper.cc',
688         'browser/extensions/startup_helper.h',
689         'browser/extensions/state_store.cc',
690         'browser/extensions/state_store.h',
691         'browser/extensions/suggest_permission_util.h',
692         'browser/extensions/suggest_permission_util.cc',
693         'browser/extensions/api/system_info/system_info_api.cc',
694         'browser/extensions/api/system_info/system_info_api.h',
695         'browser/extensions/api/system_info/system_info_provider.h',
696         'browser/extensions/api/system_private/system_private_api.cc',
697         'browser/extensions/api/system_private/system_private_api.h',
698         'browser/extensions/tab_helper.cc',
699         'browser/extensions/tab_helper.h',
700         'browser/extensions/theme_installed_infobar_delegate.cc',
701         'browser/extensions/theme_installed_infobar_delegate.h',
702         'browser/extensions/unpacked_installer.cc',
703         'browser/extensions/unpacked_installer.h',
704         'browser/extensions/update_observer.h',
705         'browser/extensions/updater/extension_downloader.cc',
706         'browser/extensions/updater/extension_downloader.h',
707         'browser/extensions/updater/extension_downloader_delegate.cc',
708         'browser/extensions/updater/extension_downloader_delegate.h',
709         'browser/extensions/updater/extension_updater.cc',
710         'browser/extensions/updater/extension_updater.h',
711         'browser/extensions/updater/manifest_fetch_data.cc',
712         'browser/extensions/updater/manifest_fetch_data.h',
713         'browser/extensions/updater/request_queue.h',
714         'browser/extensions/updater/request_queue_impl.h',
715         'browser/extensions/updater/safe_manifest_parser.cc',
716         'browser/extensions/updater/safe_manifest_parser.h',
717         'browser/extensions/user_script_listener.cc',
718         'browser/extensions/user_script_listener.h',
719         'browser/extensions/user_script_master.cc',
720         'browser/extensions/user_script_master.h',
721         'browser/extensions/web_accessible_resources_parser.cc',
722         'browser/extensions/web_accessible_resources_parser.h',
723         'browser/extensions/webstore_data_fetcher.cc',
724         'browser/extensions/webstore_data_fetcher.h',
725         'browser/extensions/webstore_data_fetcher_delegate.h',
726         'browser/extensions/webstore_inline_installer.cc',
727         'browser/extensions/webstore_inline_installer.h',
728         'browser/extensions/webstore_install_helper.cc',
729         'browser/extensions/webstore_install_helper.h',
730         'browser/extensions/webstore_installer.cc',
731         'browser/extensions/webstore_installer.h',
732         'browser/extensions/webstore_standalone_installer.cc',
733         'browser/extensions/webstore_standalone_installer.h',
734         'browser/extensions/webstore_startup_installer.cc',
735         'browser/extensions/webstore_startup_installer.h',
736         'browser/extensions/window_controller.cc',
737         'browser/extensions/window_controller.h',
738         'browser/extensions/window_controller_list.cc',
739         'browser/extensions/window_controller_list.h',
740         'browser/extensions/window_controller_list_observer.h',
741       ],
742       'conditions': [
743         ['chromeos==1', {
744           'dependencies': [
745             '../build/linux/system.gyp:dbus',
746             '../chromeos/ime/input_method.gyp:gencode',
747             '../third_party/libevent/libevent.gyp:libevent',
748             'contacts_proto',
749           ],
750           'sources!': [
751             'browser/extensions/default_apps.cc',
752             'browser/extensions/default_apps.h',
753           ],
754           'sources': [
755             'browser/extensions/api/input_ime/input_ime_api.cc',
756             'browser/extensions/api/input_ime/input_ime_api.h',
757             'browser/extensions/api/rtc_private/rtc_private_api.cc',
758             'browser/extensions/api/rtc_private/rtc_private_api.h',
759             'browser/extensions/api/terminal/terminal_extension_helper.cc',
760             'browser/extensions/api/terminal/terminal_extension_helper.h',
761             'browser/extensions/api/terminal/terminal_private_api.cc',
762             'browser/extensions/api/terminal/terminal_private_api.h',
763           ],
764         }],
765         ['use_ash==1', {
766           'sources': [
767             'browser/extensions/api/tabs/ash_panel_contents.cc',
768             'browser/extensions/api/tabs/ash_panel_contents.h',
769           ],
770         }],
771         ['enable_extensions==0', {
772           'sources/': [
773             # Handle files in browser/extensions/api. Exclude everything by default, white list
774             # files if they are needed for linking.
775             # TODO: The re-includes should go away or shrink as extensions are refactored to be
776             # less intertwined in the main codebase.
777             ['exclude', '^browser/extensions/api/'],
778             ['exclude', '^browser/extensions/.*_api\.cc$'],
779             ['include', '^browser/extensions/api/alarms/alarm_manager.cc'],
780             ['include', '^browser/extensions/api/content_settings/content_settings_api_constants.cc'],
781             ['include', '^browser/extensions/api/content_settings/content_settings_helpers.cc'],
782             ['include', '^browser/extensions/api/content_settings/content_settings_store.cc'],
783             ['include', '^browser/extensions/api/declarative/initializing_rules_registry.cc'],
784             ['include', '^browser/extensions/api/declarative/rules_registry_service.cc'],
785             ['include', '^browser/extensions/api/declarative/rules_registry_storage_delegate.cc'],
786             ['include', '^browser/extensions/api/declarative/rules_registry_with_cache.cc'],
787             ['include', '^browser/extensions/api/declarative/substring_set_matcher.cc'],
788             ['include', '^browser/extensions/api/declarative/url_matcher.cc'],
789             ['include', '^browser/extensions/api/declarative_webrequest/request_stage.cc'],
790             ['include', '^browser/extensions/api/declarative_webrequest/webrequest_action.cc'],
791             ['include', '^browser/extensions/api/declarative_webrequest/webrequest_condition.cc'],
792             ['include', '^browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc'],
793             ['include', '^browser/extensions/api/declarative_webrequest/webrequest_constants.cc'],
794             ['include', '^browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc'],
795             ['include', '^browser/extensions/api/extension_action/extension_page_actions_api_constants.cc'],
796             ['include', '^browser/extensions/api/messaging/extension_message_port.cc'],
797             ['include', '^browser/extensions/api/messaging/message_service.cc'],
798             ['include', '^browser/extensions/api/omnibox/omnibox_api.cc'],
799             ['include', '^browser/extensions/api/processes/processes_api.cc'],
800             ['include', '^browser/extensions/api/processes/processes_api_constants.cc'],
801             ['include', '^browser/extensions/api/proxy/proxy_api.cc'],
802             ['include', '^browser/extensions/api/proxy/proxy_api_constants.cc'],
803             ['include', '^browser/extensions/api/push_messaging/push_messaging_api.cc'],
804             ['include', '^browser/extensions/api/runtime/runtime_api.cc'],
805             ['include', '^browser/extensions/api/storage/.*\.cc'],
806             ['include', '^browser/extensions/api/system_info_cpu/cpu_info_provider.cc'],
807             ['include', '^browser/extensions/api/system_info_cpu/cpu_info_provider_android.cc'],
808             ['include', '^browser/extensions/api/system_info_storage/storage_info_provider.cc'],
809             ['include', '^browser/extensions/api/system_info_storage/storage_info_provider_android.cc'],
810             ['include', '^browser/extensions/api/tabs/tabs_constants.cc'],
811             ['include', '^browser/extensions/api/web_navigation/frame_navigation_state.cc'],
812             ['include', '^browser/extensions/api/web_navigation/web_navigation_api.cc'],
813             ['include', '^browser/extensions/api/web_navigation/web_navigation_api_constants.cc'],
814             ['include', '^browser/extensions/api/web_navigation/web_navigation_api_helpers.cc'],
815             ['include', '^browser/extensions/api/web_request/form_data_parser.cc'],
816             ['include', '^browser/extensions/api/web_request/upload_data_presenter.cc'],
817             ['include', '^browser/extensions/api/web_request/web_request_api.cc'],
818             ['include', '^browser/extensions/api/web_request/web_request_api_constants.cc'],
819             ['include', '^browser/extensions/api/web_request/web_request_api_helpers.cc'],
820             ['include', '^browser/extensions/api/web_request/web_request_permissions.cc'],
821             ['include', '^browser/extensions/api/web_request/web_request_time_tracker.cc'],
822           ],
823           'dependencies!': [
824             '../device/device.gyp:device_bluetooth',
825             '../third_party/libusb/libusb.gyp:libusb'
826           ],
827         }],
828         ['OS=="linux" and use_aura==1', {
829           'dependencies': [
830             '../build/linux/system.gyp:dbus',
831             '../build/linux/system.gyp:fontconfig',
832             '../build/linux/system.gyp:x11',
833             '../dbus/dbus.gyp:dbus',
834           ],
835         }],
836         ['safe_browsing==1', {
837           'defines': [
838             'FULL_SAFE_BROWSING',
839           ],
840         }],
841         ['safe_browsing==2', {
842           'defines': [
843             'MOBILE_SAFE_BROWSING',
844           ],
845         }],
846         ['toolkit_uses_gtk == 1', {
847           'dependencies': [
848             '../build/linux/system.gyp:dbus',
849             '../build/linux/system.gyp:gconf',
850             '../build/linux/system.gyp:gtk',
851             '../build/linux/system.gyp:gtkprint',
852             '../build/linux/system.gyp:ssl',
853             '../build/linux/system.gyp:x11',
854             '../dbus/dbus.gyp:dbus',
855             '../third_party/undoview/undoview.gyp:undoview',
856           ],
857         }],
858         ['configuration_policy==1', {
859           'dependencies': [
860             'app/policy/cloud_policy_codegen.gyp:policy',
861           ],
862         }, {  # configuration_policy==0
863           'sources!': [
864             'browser/extensions/api/storage/managed_value_store_cache.cc',
865             'browser/extensions/api/storage/managed_value_store_cache.h',
866             'browser/extensions/api/storage/policy_value_store.cc',
867             'browser/extensions/api/storage/policy_value_store.h',
868           ],
869         }],
870         ['OS=="win"', {
871           'dependencies': [
872             'launcher_support',
873             '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
874             '../third_party/isimpledom/isimpledom.gyp:isimpledom',
875           ],
876           'conditions': [
877             ['win_use_allocator_shim==1', {
878               'dependencies': [
879                 '<(allocator_target)',
880               ],
881             }],
882           ],
883         }, {  # 'OS!="win"
884           'conditions': [
885             ['OS=="linux" and toolkit_views==1',{
886               'include_dirs': [
887                 '<(INTERMEDIATE_DIR)',
888                 '<(INTERMEDIATE_DIR)/chrome',
889               ],
890               'sources/': [
891                 ['include', '^browser/extensions/'],
893                 # Other excluded stuff.
894                 ['exclude', '^browser/extensions/extension_host_mac.h'],
895                 ['exclude', '^browser/extensions/extension_host_mac.mm'],
896                 ['exclude', '^browser/extensions/external_registry_loader_win.cc'],
897                 ['exclude', '^browser/extensions/external_registry_loader_win.h'],
898               ],
899             }],
900             ['chromeos==1',{
901               'dependencies': [
902                 '../dbus/dbus.gyp:dbus',
903                 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
904                 '../third_party/protobuf/protobuf.gyp:protoc#host',
905               ],
906             }],
907           ],
908         }],
909         ['OS=="android"', {
910           'sources': [
911             'browser/extensions/extension_error_ui_android.cc',
912             'browser/extensions/extension_error_ui_android.h',
913             'browser/extensions/extension_tab_util_android.cc',
914           ],
915           'sources!': [
916             'browser/extensions/extension_error_ui_default.cc',
917             'browser/extensions/extension_error_ui_default.h',
918             'browser/extensions/extension_tab_util.cc',
919             'browser/extensions/platform_app_launcher.cc',
920             'browser/extensions/platform_app_launcher.h',
921           ],
922         }],
923       ],
924     },
925   ],
926   'conditions': [
927     ['chromeos==1', {
928       'targets': [
929         {
930           # Protobuf compiler / generator for contacts-related protocol buffers.
931           'target_name': 'contacts_proto',
932           'type': 'static_library',
933           'sources': [ 'browser/chromeos/contacts/contact.proto' ],
934           'variables': {
935             'proto_in_dir': 'browser/chromeos/contacts',
936             'proto_out_dir': 'chrome/browser/chromeos/contacts',
937           },
938           'includes': [ '../build/protoc.gypi' ]
939         },
940       ],
941     },],  # 'chromeos=1'
942   ],  # 'conditions'