blob: 27d64b1c14816aef7064b5f54f8b6fbe5d1a7706 [file] [log] [blame]
[email protected]fb2799e2014-07-15 23:50:291# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
[email protected]fb2799e2014-07-15 23:50:295import("//build/config/features.gni")
Oscar Johanssone31b7122018-06-18 11:13:466import("//build/config/jumbo.gni")
[email protected]fb2799e2014-07-15 23:50:297import("//build/config/ui.gni")
thestig0e3086f2016-08-04 04:44:168import("//chrome/common/features.gni")
Dirk Prankeccc0c362017-09-28 22:15:119import("//components/nacl/features.gni")
Scott Violetc8240b02018-03-08 22:03:5910import("//extensions/buildflags/buildflags.gni")
catmullingsba539102017-05-26 19:45:1011import("//mojo/public/tools/bindings/mojom.gni")
Lei Zhangdffec592018-11-16 19:28:0712import("//pdf/features.gni")
Scott Violeta5f7ba12018-04-02 22:03:4013import("//rlz/buildflags/buildflags.gni")
[email protected]fb2799e2014-07-15 23:50:2914
thestiga52fbd22014-10-31 09:01:4915assert(enable_extensions)
16
Oscar Johanssone31b7122018-06-18 11:13:4617jumbo_static_library("extensions") {
Brett Wilson75f9cbd2016-08-29 22:19:4118 sources = [
19 # TODO These references to files in //chrome/browser/ should either be
20 # moved to the browser target or the files moved to this directory.
Brett Wilson75f9cbd2016-08-29 22:19:4121 "../ui/app_icon_loader.cc",
22 "../ui/app_icon_loader.h",
23 "../ui/toolbar/toolbar_actions_model.cc",
24 "../ui/toolbar/toolbar_actions_model.h",
25 "../ui/toolbar/toolbar_actions_model_factory.cc",
26 "../ui/toolbar/toolbar_actions_model_factory.h",
Brett Wilson75f9cbd2016-08-29 22:19:4127 "active_install_data.cc",
28 "active_install_data.h",
29 "active_tab_permission_granter.cc",
30 "active_tab_permission_granter.h",
31 "activity_log/activity_action_constants.cc",
32 "activity_log/activity_action_constants.h",
33 "activity_log/activity_actions.cc",
34 "activity_log/activity_actions.h",
35 "activity_log/activity_database.cc",
36 "activity_log/activity_database.h",
37 "activity_log/activity_log.cc",
38 "activity_log/activity_log.h",
39 "activity_log/activity_log_policy.cc",
40 "activity_log/activity_log_policy.h",
rdevlin.cronin6fa6b152017-08-01 22:47:1841 "activity_log/activity_log_task_runner.cc",
42 "activity_log/activity_log_task_runner.h",
Brett Wilson75f9cbd2016-08-29 22:19:4143 "activity_log/counting_policy.cc",
44 "activity_log/counting_policy.h",
45 "activity_log/database_string_table.cc",
46 "activity_log/database_string_table.h",
47 "activity_log/fullstream_ui_policy.cc",
48 "activity_log/fullstream_ui_policy.h",
49 "api/activity_log_private/activity_log_private_api.cc",
50 "api/activity_log_private/activity_log_private_api.h",
51 "api/autofill_private/autofill_private_api.cc",
52 "api/autofill_private/autofill_private_api.h",
53 "api/autofill_private/autofill_private_event_router.cc",
54 "api/autofill_private/autofill_private_event_router.h",
55 "api/autofill_private/autofill_private_event_router_factory.cc",
56 "api/autofill_private/autofill_private_event_router_factory.h",
57 "api/autofill_private/autofill_util.cc",
58 "api/autofill_private/autofill_util.h",
Brett Wilson75f9cbd2016-08-29 22:19:4159 "api/automation_internal/automation_event_router.cc",
60 "api/automation_internal/automation_event_router.h",
61 "api/automation_internal/automation_internal_api.cc",
62 "api/automation_internal/automation_internal_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:4163 "api/bookmark_manager_private/bookmark_manager_private_api.cc",
64 "api/bookmark_manager_private/bookmark_manager_private_api.h",
65 "api/bookmarks/bookmark_api_constants.cc",
66 "api/bookmarks/bookmark_api_constants.h",
67 "api/bookmarks/bookmark_api_helpers.cc",
68 "api/bookmarks/bookmark_api_helpers.h",
69 "api/bookmarks/bookmarks_api.cc",
70 "api/bookmarks/bookmarks_api.h",
71 "api/braille_display_private/braille_controller.h",
72 "api/braille_display_private/braille_controller_brlapi.h",
73 "api/braille_display_private/braille_display_private_api.cc",
74 "api/braille_display_private/braille_display_private_api.h",
75 "api/braille_display_private/stub_braille_controller.cc",
76 "api/braille_display_private/stub_braille_controller.h",
Brett Wilson75f9cbd2016-08-29 22:19:4177 "api/browsing_data/browsing_data_api.cc",
78 "api/browsing_data/browsing_data_api.h",
79 "api/chrome_device_permissions_prompt.h",
80 "api/chrome_extensions_api_client.cc",
81 "api/chrome_extensions_api_client.h",
Brett Wilson75f9cbd2016-08-29 22:19:4182 "api/command_line_private/command_line_private_api.cc",
83 "api/command_line_private/command_line_private_api.h",
84 "api/commands/command_service.cc",
85 "api/commands/command_service.h",
86 "api/commands/commands.cc",
87 "api/commands/commands.h",
88 "api/content_settings/content_settings_api.cc",
89 "api/content_settings/content_settings_api.h",
90 "api/content_settings/content_settings_api_constants.cc",
91 "api/content_settings/content_settings_api_constants.h",
92 "api/content_settings/content_settings_custom_extension_provider.cc",
93 "api/content_settings/content_settings_custom_extension_provider.h",
94 "api/content_settings/content_settings_helpers.cc",
95 "api/content_settings/content_settings_helpers.h",
96 "api/content_settings/content_settings_service.cc",
97 "api/content_settings/content_settings_service.h",
98 "api/content_settings/content_settings_store.cc",
99 "api/content_settings/content_settings_store.h",
100 "api/context_menus/context_menus_api.cc",
101 "api/context_menus/context_menus_api.h",
102 "api/context_menus/context_menus_api_helpers.cc",
103 "api/context_menus/context_menus_api_helpers.h",
104 "api/cookies/cookies_api.cc",
105 "api/cookies/cookies_api.h",
106 "api/cookies/cookies_api_constants.cc",
107 "api/cookies/cookies_api_constants.h",
108 "api/cookies/cookies_helpers.cc",
109 "api/cookies/cookies_helpers.h",
110 "api/cryptotoken_private/cryptotoken_private_api.cc",
111 "api/cryptotoken_private/cryptotoken_private_api.h",
112 "api/dashboard_private/dashboard_private_api.cc",
113 "api/dashboard_private/dashboard_private_api.h",
114 "api/data_reduction_proxy/data_reduction_proxy_api.cc",
115 "api/data_reduction_proxy/data_reduction_proxy_api.h",
116 "api/debugger/debugger_api.cc",
117 "api/debugger/debugger_api.h",
118 "api/debugger/debugger_api_constants.cc",
119 "api/debugger/debugger_api_constants.h",
Peter Kasting37db76f82018-01-06 02:39:16120 "api/debugger/extension_dev_tools_infobar.cc",
121 "api/debugger/extension_dev_tools_infobar.h",
Brett Wilson75f9cbd2016-08-29 22:19:41122 "api/declarative_content/chrome_content_rules_registry.cc",
123 "api/declarative_content/chrome_content_rules_registry.h",
124 "api/declarative_content/content_action.cc",
125 "api/declarative_content/content_action.h",
126 "api/declarative_content/content_condition.cc",
127 "api/declarative_content/content_condition.h",
Brett Wilson75f9cbd2016-08-29 22:19:41128 "api/declarative_content/content_predicate.cc",
129 "api/declarative_content/content_predicate.h",
130 "api/declarative_content/content_predicate_evaluator.cc",
131 "api/declarative_content/content_predicate_evaluator.h",
132 "api/declarative_content/declarative_content_css_condition_tracker.cc",
133 "api/declarative_content/declarative_content_css_condition_tracker.h",
134 "api/declarative_content/declarative_content_is_bookmarked_condition_tracker.cc",
135 "api/declarative_content/declarative_content_is_bookmarked_condition_tracker.h",
136 "api/declarative_content/declarative_content_page_url_condition_tracker.cc",
137 "api/declarative_content/declarative_content_page_url_condition_tracker.h",
138 "api/declarative_content/default_content_predicate_evaluators.cc",
139 "api/declarative_content/default_content_predicate_evaluators.h",
140 "api/desktop_capture/desktop_capture_api.cc",
141 "api/desktop_capture/desktop_capture_api.h",
142 "api/desktop_capture/desktop_capture_base.cc",
143 "api/desktop_capture/desktop_capture_base.h",
144 "api/developer_private/developer_private_api.cc",
145 "api/developer_private/developer_private_api.h",
146 "api/developer_private/developer_private_mangle.cc",
147 "api/developer_private/developer_private_mangle.h",
148 "api/developer_private/entry_picker.cc",
149 "api/developer_private/entry_picker.h",
150 "api/developer_private/extension_info_generator.cc",
151 "api/developer_private/extension_info_generator.h",
152 "api/developer_private/inspectable_views_finder.cc",
153 "api/developer_private/inspectable_views_finder.h",
154 "api/developer_private/show_permissions_dialog_helper.cc",
155 "api/developer_private/show_permissions_dialog_helper.h",
Brett Wilson75f9cbd2016-08-29 22:19:41156 "api/downloads/downloads_api.cc",
157 "api/downloads/downloads_api.h",
158 "api/downloads_internal/downloads_internal_api.cc",
159 "api/downloads_internal/downloads_internal_api.h",
Guido Urdaneta433c5212018-09-01 01:37:12160 "api/enterprise_hardware_platform/enterprise_hardware_platform_api.cc",
161 "api/enterprise_hardware_platform/enterprise_hardware_platform_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:41162 "api/extension_action/extension_action_api.cc",
163 "api/extension_action/extension_action_api.h",
164 "api/extension_action/extension_page_actions_api_constants.cc",
165 "api/extension_action/extension_page_actions_api_constants.h",
Michael Giuffrida675f13c2017-08-08 18:46:05166 "api/feedback_private/chrome_feedback_private_delegate.cc",
167 "api/feedback_private/chrome_feedback_private_delegate.h",
michaelpg75d89e72017-02-07 01:34:29168 "api/file_handlers/non_native_file_system_delegate_chromeos.cc",
169 "api/file_handlers/non_native_file_system_delegate_chromeos.h",
michaelpg56c27b32017-07-14 01:35:29170 "api/file_system/chrome_file_system_delegate.cc",
171 "api/file_system/chrome_file_system_delegate.h",
michaelpgb35720f52017-07-06 18:16:20172 "api/file_system/file_entry_picker.cc",
173 "api/file_system/file_entry_picker.h",
Brett Wilson75f9cbd2016-08-29 22:19:41174 "api/font_settings/font_settings_api.cc",
175 "api/font_settings/font_settings_api.h",
176 "api/gcm/gcm_api.cc",
177 "api/gcm/gcm_api.h",
178 "api/history/history_api.cc",
179 "api/history/history_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:41180 "api/i18n/i18n_api.cc",
181 "api/i18n/i18n_api.h",
182 "api/identity/extension_token_key.cc",
183 "api/identity/extension_token_key.h",
184 "api/identity/gaia_web_auth_flow.cc",
185 "api/identity/gaia_web_auth_flow.h",
186 "api/identity/identity_api.cc",
187 "api/identity/identity_api.h",
blundella13e6042017-02-01 07:16:40188 "api/identity/identity_constants.cc",
189 "api/identity/identity_constants.h",
blundelle1b2a782017-02-03 15:00:05190 "api/identity/identity_get_accounts_function.cc",
191 "api/identity/identity_get_accounts_function.h",
blundelle1b2ceb2017-02-03 13:03:15192 "api/identity/identity_get_auth_token_function.cc",
193 "api/identity/identity_get_auth_token_function.h",
blundell06fb5482017-02-01 17:27:27194 "api/identity/identity_get_profile_user_info_function.cc",
195 "api/identity/identity_get_profile_user_info_function.h",
blundell19151642017-01-27 08:50:56196 "api/identity/identity_launch_web_auth_flow_function.cc",
197 "api/identity/identity_launch_web_auth_flow_function.h",
Brett Wilson75f9cbd2016-08-29 22:19:41198 "api/identity/identity_mint_queue.cc",
199 "api/identity/identity_mint_queue.h",
blundellfb7f1c572017-01-27 15:45:00200 "api/identity/identity_remove_cached_auth_token_function.cc",
201 "api/identity/identity_remove_cached_auth_token_function.h",
Brett Wilson75f9cbd2016-08-29 22:19:41202 "api/identity/web_auth_flow.cc",
203 "api/identity/web_auth_flow.h",
204 "api/idltest/idltest_api.cc",
205 "api/idltest/idltest_api.h",
206 "api/image_writer_private/destroy_partitions_operation.cc",
207 "api/image_writer_private/destroy_partitions_operation.h",
208 "api/image_writer_private/error_messages.cc",
209 "api/image_writer_private/error_messages.h",
210 "api/image_writer_private/image_writer_private_api.cc",
211 "api/image_writer_private/image_writer_private_api.h",
212 "api/image_writer_private/image_writer_utility_client.cc",
213 "api/image_writer_private/image_writer_utility_client.h",
214 "api/image_writer_private/operation.cc",
215 "api/image_writer_private/operation.h",
216 "api/image_writer_private/operation_chromeos.cc",
217 "api/image_writer_private/operation_manager.cc",
218 "api/image_writer_private/operation_manager.h",
219 "api/image_writer_private/removable_storage_provider.cc",
220 "api/image_writer_private/removable_storage_provider.h",
221 "api/image_writer_private/removable_storage_provider_chromeos.cc",
222 "api/image_writer_private/removable_storage_provider_mac.cc",
223 "api/image_writer_private/removable_storage_provider_win.cc",
Istiaque Ahmed3eb3d0d2017-08-09 20:33:36224 "api/image_writer_private/unzip_helper.cc",
225 "api/image_writer_private/unzip_helper.h",
Brett Wilson75f9cbd2016-08-29 22:19:41226 "api/image_writer_private/write_from_file_operation.cc",
227 "api/image_writer_private/write_from_file_operation.h",
228 "api/image_writer_private/write_from_url_operation.cc",
229 "api/image_writer_private/write_from_url_operation.h",
Brett Wilson75f9cbd2016-08-29 22:19:41230 "api/instance_id/instance_id_api.cc",
231 "api/instance_id/instance_id_api.h",
232 "api/language_settings_private/language_settings_private_api.cc",
233 "api/language_settings_private/language_settings_private_api.h",
234 "api/language_settings_private/language_settings_private_delegate.cc",
235 "api/language_settings_private/language_settings_private_delegate.h",
236 "api/language_settings_private/language_settings_private_delegate_factory.cc",
237 "api/language_settings_private/language_settings_private_delegate_factory.h",
238 "api/management/chrome_management_api_delegate.cc",
239 "api/management/chrome_management_api_delegate.h",
Michael Giuffrida9e1a9f82017-08-08 14:23:29240 "api/messaging/chrome_messaging_delegate.cc",
241 "api/messaging/chrome_messaging_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41242 "api/messaging/incognito_connectability.cc",
243 "api/messaging/incognito_connectability.h",
Peter Kasting72ed57502018-01-08 23:19:24244 "api/messaging/incognito_connectability_infobar_delegate.cc",
245 "api/messaging/incognito_connectability_infobar_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41246 "api/messaging/native_message_port.cc",
247 "api/messaging/native_message_port.h",
248 "api/messaging/native_messaging_host_manifest.cc",
249 "api/messaging/native_messaging_host_manifest.h",
250 "api/messaging/native_messaging_policy_handler.cc",
251 "api/messaging/native_messaging_policy_handler.h",
michaelpg49dc7dbf2016-10-06 05:26:47252 "api/metrics_private/chrome_metrics_private_delegate.cc",
253 "api/metrics_private/chrome_metrics_private_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41254 "api/module/module.cc",
255 "api/module/module.h",
Brett Wilson75f9cbd2016-08-29 22:19:41256 "api/networking_private/networking_private_ui_delegate_chromeos.cc",
257 "api/networking_private/networking_private_ui_delegate_chromeos.h",
258 "api/networking_private/networking_private_ui_delegate_factory_impl.cc",
259 "api/networking_private/networking_private_ui_delegate_factory_impl.h",
peter28d8b732017-04-11 17:36:17260 "api/notifications/extension_notification_display_helper.cc",
261 "api/notifications/extension_notification_display_helper.h",
262 "api/notifications/extension_notification_display_helper_factory.cc",
263 "api/notifications/extension_notification_display_helper_factory.h",
264 "api/notifications/extension_notification_handler.cc",
265 "api/notifications/extension_notification_handler.h",
Brett Wilson75f9cbd2016-08-29 22:19:41266 "api/notifications/notifications_api.cc",
267 "api/notifications/notifications_api.h",
268 "api/omnibox/omnibox_api.cc",
269 "api/omnibox/omnibox_api.h",
270 "api/page_capture/page_capture_api.cc",
271 "api/page_capture/page_capture_api.h",
272 "api/passwords_private/passwords_private_api.cc",
273 "api/passwords_private/passwords_private_api.h",
274 "api/passwords_private/passwords_private_delegate.h",
275 "api/passwords_private/passwords_private_delegate_factory.cc",
276 "api/passwords_private/passwords_private_delegate_factory.h",
277 "api/passwords_private/passwords_private_delegate_impl.cc",
278 "api/passwords_private/passwords_private_delegate_impl.h",
279 "api/passwords_private/passwords_private_event_router.cc",
280 "api/passwords_private/passwords_private_event_router.h",
281 "api/passwords_private/passwords_private_event_router_factory.cc",
282 "api/passwords_private/passwords_private_event_router_factory.h",
jdoerrie2d3f81e2017-05-18 06:17:50283 "api/passwords_private/passwords_private_utils.cc",
284 "api/passwords_private/passwords_private_utils.h",
Brett Wilson75f9cbd2016-08-29 22:19:41285 "api/permissions/permissions_api.cc",
286 "api/permissions/permissions_api.h",
287 "api/permissions/permissions_api_helpers.cc",
288 "api/permissions/permissions_api_helpers.h",
Brett Wilson75f9cbd2016-08-29 22:19:41289 "api/preference/preference_api.cc",
290 "api/preference/preference_api.h",
291 "api/preference/preference_api_constants.cc",
292 "api/preference/preference_api_constants.h",
293 "api/preference/preference_helpers.cc",
294 "api/preference/preference_helpers.h",
295 "api/proxy/proxy_api.cc",
296 "api/proxy/proxy_api.h",
297 "api/proxy/proxy_api_constants.cc",
298 "api/proxy/proxy_api_constants.h",
299 "api/proxy/proxy_api_helpers.cc",
300 "api/proxy/proxy_api_helpers.h",
301 "api/resources_private/resources_private_api.cc",
302 "api/resources_private/resources_private_api.h",
303 "api/runtime/chrome_runtime_api_delegate.cc",
304 "api/runtime/chrome_runtime_api_delegate.h",
Jialiu Lin22e9e142018-04-18 06:28:46305 "api/safe_browsing_private/safe_browsing_private_event_router.cc",
306 "api/safe_browsing_private/safe_browsing_private_event_router.h",
307 "api/safe_browsing_private/safe_browsing_private_event_router_factory.cc",
308 "api/safe_browsing_private/safe_browsing_private_event_router_factory.h",
Brett Wilson75f9cbd2016-08-29 22:19:41309 "api/sessions/session_id.cc",
310 "api/sessions/session_id.h",
311 "api/sessions/sessions_api.cc",
312 "api/sessions/sessions_api.h",
313 "api/settings_overrides/settings_overrides_api.cc",
314 "api/settings_overrides/settings_overrides_api.h",
Alexander Alekseev9ee29442018-01-08 23:42:34315 "api/settings_private/generated_pref.cc",
316 "api/settings_private/generated_pref.h",
317 "api/settings_private/generated_prefs.cc",
318 "api/settings_private/generated_prefs.h",
319 "api/settings_private/generated_prefs_factory.cc",
320 "api/settings_private/generated_prefs_factory.h",
Brett Wilson75f9cbd2016-08-29 22:19:41321 "api/settings_private/prefs_util.cc",
322 "api/settings_private/prefs_util.h",
323 "api/settings_private/settings_private_api.cc",
324 "api/settings_private/settings_private_api.h",
325 "api/settings_private/settings_private_delegate.cc",
326 "api/settings_private/settings_private_delegate.h",
327 "api/settings_private/settings_private_delegate_factory.cc",
328 "api/settings_private/settings_private_delegate_factory.h",
329 "api/settings_private/settings_private_event_router.cc",
330 "api/settings_private/settings_private_event_router.h",
331 "api/settings_private/settings_private_event_router_factory.cc",
332 "api/settings_private/settings_private_event_router_factory.h",
333 "api/signed_in_devices/id_mapping_helper.cc",
334 "api/signed_in_devices/id_mapping_helper.h",
335 "api/signed_in_devices/signed_in_devices_api.cc",
336 "api/signed_in_devices/signed_in_devices_api.h",
337 "api/signed_in_devices/signed_in_devices_manager.cc",
338 "api/signed_in_devices/signed_in_devices_manager.h",
339 "api/spellcheck/spellcheck_api.cc",
340 "api/spellcheck/spellcheck_api.h",
341 "api/storage/managed_value_store_cache.cc",
342 "api/storage/managed_value_store_cache.h",
343 "api/storage/policy_value_store.cc",
344 "api/storage/policy_value_store.h",
345 "api/storage/setting_sync_data.cc",
346 "api/storage/setting_sync_data.h",
347 "api/storage/settings_sync_processor.cc",
348 "api/storage/settings_sync_processor.h",
349 "api/storage/settings_sync_util.cc",
350 "api/storage/settings_sync_util.h",
351 "api/storage/sync_storage_backend.cc",
352 "api/storage/sync_storage_backend.h",
353 "api/storage/sync_value_store_cache.cc",
354 "api/storage/sync_value_store_cache.h",
355 "api/storage/syncable_settings_storage.cc",
356 "api/storage/syncable_settings_storage.h",
357 "api/streams_private/streams_private_api.cc",
358 "api/streams_private/streams_private_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:41359 "api/system_indicator/system_indicator_api.h",
360 "api/system_indicator/system_indicator_manager.cc",
361 "api/system_indicator/system_indicator_manager.h",
362 "api/system_indicator/system_indicator_manager_factory.cc",
363 "api/system_indicator/system_indicator_manager_factory.h",
364 "api/system_private/system_private_api.cc",
365 "api/system_private/system_private_api.h",
Xiangjun Zhanga8e7bbd42018-08-25 01:48:56366 "api/tab_capture/offscreen_tabs_owner.cc",
367 "api/tab_capture/offscreen_tabs_owner.h",
Brett Wilson75f9cbd2016-08-29 22:19:41368 "api/tab_capture/tab_capture_api.cc",
369 "api/tab_capture/tab_capture_api.h",
370 "api/tab_capture/tab_capture_registry.cc",
371 "api/tab_capture/tab_capture_registry.h",
372 "api/tabs/app_base_window.cc",
373 "api/tabs/app_base_window.h",
374 "api/tabs/app_window_controller.cc",
375 "api/tabs/app_window_controller.h",
376 "api/tabs/tabs_api.cc",
377 "api/tabs/tabs_api.h",
378 "api/tabs/tabs_constants.cc",
379 "api/tabs/tabs_constants.h",
380 "api/tabs/tabs_event_router.cc",
381 "api/tabs/tabs_event_router.h",
382 "api/tabs/tabs_windows_api.cc",
383 "api/tabs/tabs_windows_api.h",
384 "api/tabs/windows_event_router.cc",
385 "api/tabs/windows_event_router.h",
386 "api/tabs/windows_util.cc",
387 "api/tabs/windows_util.h",
388 "api/top_sites/top_sites_api.cc",
389 "api/top_sites/top_sites_api.h",
390 "api/web_navigation/frame_navigation_state.cc",
391 "api/web_navigation/frame_navigation_state.h",
392 "api/web_navigation/web_navigation_api.cc",
393 "api/web_navigation/web_navigation_api.h",
394 "api/web_navigation/web_navigation_api_constants.cc",
395 "api/web_navigation/web_navigation_api_constants.h",
396 "api/web_navigation/web_navigation_api_helpers.cc",
397 "api/web_navigation/web_navigation_api_helpers.h",
Brett Wilson75f9cbd2016-08-29 22:19:41398 "api/web_view/chrome_web_view_internal_api.cc",
399 "api/web_view/chrome_web_view_internal_api.h",
400 "api/webrtc_audio_private/webrtc_audio_private_api.cc",
401 "api/webrtc_audio_private/webrtc_audio_private_api.h",
402 "api/webrtc_desktop_capture_private/webrtc_desktop_capture_private_api.cc",
403 "api/webrtc_desktop_capture_private/webrtc_desktop_capture_private_api.h",
Patrik Höglundd98b020f2018-05-07 12:17:44404 "api/webrtc_logging_private/webrtc_logging_private_api.cc",
Brett Wilson75f9cbd2016-08-29 22:19:41405 "api/webrtc_logging_private/webrtc_logging_private_api.h",
406 "api/webstore_private/webstore_private_api.cc",
407 "api/webstore_private/webstore_private_api.h",
408 "app_data_migrator.cc",
409 "app_data_migrator.h",
410 "blacklist.cc",
411 "blacklist.h",
michaelpgc0145e62017-03-18 03:00:15412 "blacklist_check.cc",
413 "blacklist_check.h",
Brett Wilson75f9cbd2016-08-29 22:19:41414 "blacklist_factory.cc",
415 "blacklist_factory.h",
416 "blacklist_state_fetcher.cc",
417 "blacklist_state_fetcher.h",
Giovanni Ortuño Urquidiba5d9af2018-03-02 03:19:46418 "bookmark_app_experimental_navigation_throttle.cc",
419 "bookmark_app_experimental_navigation_throttle.h",
Brett Wilson75f9cbd2016-08-29 22:19:41420 "bookmark_app_helper.cc",
421 "bookmark_app_helper.h",
Giovanni Ortuño Urquidi79bd8f42018-03-08 02:14:09422 "bookmark_app_navigation_throttle.cc",
423 "bookmark_app_navigation_throttle.h",
424 "bookmark_app_navigation_throttle_utils.cc",
425 "bookmark_app_navigation_throttle_utils.h",
Brett Wilson75f9cbd2016-08-29 22:19:41426 "browser_context_keyed_service_factories.cc",
427 "browser_context_keyed_service_factories.h",
428 "browser_extension_window_controller.cc",
429 "browser_extension_window_controller.h",
khmel8c1f6622017-05-11 19:14:50430 "chrome_app_icon.cc",
431 "chrome_app_icon.h",
432 "chrome_app_icon_delegate.h",
433 "chrome_app_icon_loader.cc",
434 "chrome_app_icon_loader.h",
435 "chrome_app_icon_service.cc",
436 "chrome_app_icon_service.h",
437 "chrome_app_icon_service_factory.cc",
438 "chrome_app_icon_service_factory.h",
Brett Wilson75f9cbd2016-08-29 22:19:41439 "chrome_app_sorting.cc",
440 "chrome_app_sorting.h",
441 "chrome_component_extension_resource_manager.cc",
442 "chrome_component_extension_resource_manager.h",
443 "chrome_content_browser_client_extensions_part.cc",
444 "chrome_content_browser_client_extensions_part.h",
445 "chrome_content_verifier_delegate.cc",
446 "chrome_content_verifier_delegate.h",
447 "chrome_extension_api_frame_id_map_helper.cc",
448 "chrome_extension_api_frame_id_map_helper.h",
Devlin Cronin5d43d982018-09-15 00:08:49449 "chrome_extension_browser_constants.cc",
450 "chrome_extension_browser_constants.h",
Brett Wilson75f9cbd2016-08-29 22:19:41451 "chrome_extension_chooser_dialog.h",
452 "chrome_extension_function.cc",
453 "chrome_extension_function.h",
454 "chrome_extension_function_details.cc",
455 "chrome_extension_function_details.h",
456 "chrome_extension_host_delegate.cc",
457 "chrome_extension_host_delegate.h",
458 "chrome_extension_web_contents_observer.cc",
459 "chrome_extension_web_contents_observer.h",
Devlin Croninbc8177d2018-08-23 03:51:09460 "chrome_extensions_browser_api_provider.cc",
461 "chrome_extensions_browser_api_provider.h",
Brett Wilson75f9cbd2016-08-29 22:19:41462 "chrome_extensions_browser_client.cc",
463 "chrome_extensions_browser_client.h",
Ben Goodgerb6169152017-07-22 04:09:43464 "chrome_extensions_interface_registration.cc",
465 "chrome_extensions_interface_registration.h",
steelc8e6ede2016-09-29 00:56:27466 "chrome_kiosk_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41467 "chrome_process_manager_delegate.cc",
468 "chrome_process_manager_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41469 "chrome_url_request_util.cc",
470 "chrome_url_request_util.h",
Jay Civellia0fb48fd2018-03-01 17:58:33471 "chrome_zipfile_installer.cc",
472 "chrome_zipfile_installer.h",
jennyz6298fc52017-01-05 01:33:29473 "clipboard_extension_helper_chromeos.cc",
474 "clipboard_extension_helper_chromeos.h",
Brett Wilson75f9cbd2016-08-29 22:19:41475 "component_extensions_whitelist/whitelist.cc",
476 "component_extensions_whitelist/whitelist.h",
477 "component_loader.cc",
478 "component_loader.h",
Brett Wilson75f9cbd2016-08-29 22:19:41479 "context_menu_matcher.cc",
480 "context_menu_matcher.h",
481 "convert_user_script.cc",
482 "convert_user_script.h",
483 "convert_web_app.cc",
484 "convert_web_app.h",
485 "crx_installer.cc",
486 "crx_installer.h",
487 "data_deleter.cc",
488 "data_deleter.h",
489 "dev_mode_bubble_delegate.cc",
490 "dev_mode_bubble_delegate.h",
juncai43003622016-11-29 20:43:18491 "device_permissions_dialog_controller.cc",
492 "device_permissions_dialog_controller.h",
Brett Wilson75f9cbd2016-08-29 22:19:41493 "devtools_util.cc",
494 "devtools_util.h",
Brett Wilson75f9cbd2016-08-29 22:19:41495 "error_console/error_console.cc",
496 "error_console/error_console.h",
497 "error_console/error_console_factory.cc",
498 "error_console/error_console_factory.h",
499 "event_router_forwarder.cc",
500 "event_router_forwarder.h",
501 "extension_action.cc",
502 "extension_action.h",
503 "extension_action_icon_factory.cc",
504 "extension_action_icon_factory.h",
505 "extension_action_manager.cc",
506 "extension_action_manager.h",
507 "extension_action_runner.cc",
508 "extension_action_runner.h",
509 "extension_action_storage_manager.cc",
510 "extension_action_storage_manager.h",
Brett Wilson75f9cbd2016-08-29 22:19:41511 "extension_assets_manager.cc",
512 "extension_assets_manager.h",
513 "extension_assets_manager_chromeos.cc",
514 "extension_assets_manager_chromeos.h",
515 "extension_commands_global_registry.cc",
516 "extension_commands_global_registry.h",
517 "extension_context_menu_model.cc",
518 "extension_context_menu_model.h",
Randy Smith0a522662017-08-30 19:35:34519 "extension_cookie_notifier.cc",
520 "extension_cookie_notifier.h",
Brett Wilson75f9cbd2016-08-29 22:19:41521 "extension_disabled_ui.cc",
522 "extension_disabled_ui.h",
523 "extension_error_controller.cc",
524 "extension_error_controller.h",
Brett Wilson75f9cbd2016-08-29 22:19:41525 "extension_error_ui.cc",
526 "extension_error_ui.h",
527 "extension_error_ui_default.cc",
528 "extension_error_ui_default.h",
529 "extension_garbage_collector.cc",
530 "extension_garbage_collector.h",
531 "extension_garbage_collector_chromeos.cc",
532 "extension_garbage_collector_chromeos.h",
533 "extension_garbage_collector_factory.cc",
534 "extension_garbage_collector_factory.h",
535 "extension_gcm_app_handler.cc",
536 "extension_gcm_app_handler.h",
537 "extension_icon_manager.cc",
538 "extension_icon_manager.h",
Brett Wilson75f9cbd2016-08-29 22:19:41539 "extension_install_error_menu_item_id_provider.cc",
540 "extension_install_error_menu_item_id_provider.h",
541 "extension_install_prompt.cc",
542 "extension_install_prompt.h",
543 "extension_install_prompt_show_params.cc",
544 "extension_install_prompt_show_params.h",
Brett Wilson75f9cbd2016-08-29 22:19:41545 "extension_keybinding_registry.cc",
546 "extension_keybinding_registry.h",
547 "extension_management.cc",
548 "extension_management.h",
549 "extension_management_constants.cc",
550 "extension_management_constants.h",
551 "extension_management_internal.cc",
552 "extension_management_internal.h",
553 "extension_message_bubble_controller.cc",
554 "extension_message_bubble_controller.h",
555 "extension_migrator.cc",
556 "extension_migrator.h",
Brett Wilson75f9cbd2016-08-29 22:19:41557 "extension_service.cc",
558 "extension_service.h",
559 "extension_special_storage_policy.cc",
560 "extension_special_storage_policy.h",
561 "extension_storage_monitor.cc",
562 "extension_storage_monitor.h",
563 "extension_storage_monitor_factory.cc",
564 "extension_storage_monitor_factory.h",
565 "extension_sync_data.cc",
566 "extension_sync_data.h",
567 "extension_sync_service.cc",
568 "extension_sync_service.h",
569 "extension_sync_service_factory.cc",
570 "extension_sync_service_factory.h",
571 "extension_system_factory.cc",
572 "extension_system_factory.h",
573 "extension_system_impl.cc",
574 "extension_system_impl.h",
575 "extension_tab_util.cc",
576 "extension_tab_util.h",
577 "extension_ui_util.cc",
578 "extension_ui_util.h",
579 "extension_uninstall_dialog.cc",
580 "extension_uninstall_dialog.h",
581 "extension_util.cc",
582 "extension_util.h",
wychen589d05e2017-03-31 00:06:36583 "extension_view.h",
Brett Wilson75f9cbd2016-08-29 22:19:41584 "extension_view_host.cc",
585 "extension_view_host.h",
586 "extension_view_host_factory.cc",
587 "extension_view_host_factory.h",
588 "extension_web_ui.cc",
589 "extension_web_ui.h",
590 "extension_web_ui_override_registrar.cc",
591 "extension_web_ui_override_registrar.h",
592 "extension_webkit_preferences.cc",
593 "extension_webkit_preferences.h",
594 "external_component_loader.cc",
595 "external_component_loader.h",
596 "external_install_error.cc",
597 "external_install_error.h",
probergebc529d62018-04-24 14:48:26598 "external_install_error_constants.cc",
599 "external_install_error_constants.h",
Brett Wilson75f9cbd2016-08-29 22:19:41600 "external_install_manager.cc",
601 "external_install_manager.h",
602 "external_loader.cc",
603 "external_loader.h",
604 "external_policy_loader.cc",
605 "external_policy_loader.h",
606 "external_pref_loader.cc",
607 "external_pref_loader.h",
608 "external_provider_impl.cc",
609 "external_provider_impl.h",
610 "external_registry_loader_win.cc",
611 "external_registry_loader_win.h",
Sergey Poromov296de0a2018-10-11 21:44:08612 "forced_extensions/installation_failures.cc",
613 "forced_extensions/installation_failures.h",
Sergey Poromov0360b9e72018-04-19 17:37:29614 "forced_extensions/installation_tracker.cc",
615 "forced_extensions/installation_tracker.h",
Brett Wilson75f9cbd2016-08-29 22:19:41616 "global_shortcut_listener.cc",
617 "global_shortcut_listener.h",
Brett Wilson75f9cbd2016-08-29 22:19:41618 "global_shortcut_listener_mac.h",
619 "global_shortcut_listener_mac.mm",
Brett Wilson75f9cbd2016-08-29 22:19:41620 "global_shortcut_listener_win.cc",
621 "global_shortcut_listener_win.h",
Brett Wilson75f9cbd2016-08-29 22:19:41622 "install_gate.h",
623 "install_observer.cc",
624 "install_observer.h",
625 "install_signer.cc",
626 "install_signer.h",
627 "install_tracker.cc",
628 "install_tracker.h",
629 "install_tracker_factory.cc",
630 "install_tracker_factory.h",
631 "install_verifier.cc",
632 "install_verifier.h",
633 "install_verifier_factory.cc",
634 "install_verifier_factory.h",
635 "installed_loader.cc",
636 "installed_loader.h",
637 "launch_util.cc",
638 "launch_util.h",
Devlin Cronin9722a722017-12-16 03:35:10639 "load_error_reporter.cc",
640 "load_error_reporter.h",
Brett Wilson75f9cbd2016-08-29 22:19:41641 "menu_manager.cc",
642 "menu_manager.h",
643 "menu_manager_factory.cc",
644 "menu_manager_factory.h",
645 "navigation_observer.cc",
646 "navigation_observer.h",
647 "ntp_overridden_bubble_delegate.cc",
648 "ntp_overridden_bubble_delegate.h",
649 "pack_extension_job.cc",
650 "pack_extension_job.h",
Brett Wilson75f9cbd2016-08-29 22:19:41651 "pending_extension_info.cc",
652 "pending_extension_info.h",
653 "pending_extension_manager.cc",
654 "pending_extension_manager.h",
655 "permissions_based_management_policy_provider.cc",
656 "permissions_based_management_policy_provider.h",
657 "permissions_updater.cc",
658 "permissions_updater.h",
659 "plugin_manager.cc",
660 "plugin_manager.h",
lazyboy77214d3c2017-04-04 16:46:12661 "policy_extension_reinstaller.cc",
662 "policy_extension_reinstaller.h",
Brett Wilson75f9cbd2016-08-29 22:19:41663 "policy_handlers.cc",
664 "policy_handlers.h",
665 "proxy_overridden_bubble_delegate.cc",
666 "proxy_overridden_bubble_delegate.h",
667 "scripting_permissions_modifier.cc",
668 "scripting_permissions_modifier.h",
669 "settings_api_bubble_delegate.cc",
670 "settings_api_bubble_delegate.h",
671 "settings_api_helpers.cc",
672 "settings_api_helpers.h",
673 "shared_module_service.cc",
674 "shared_module_service.h",
Brett Wilson75f9cbd2016-08-29 22:19:41675 "signin/gaia_auth_extension_loader.cc",
676 "signin/gaia_auth_extension_loader.h",
677 "signin/scoped_gaia_auth_extension.cc",
678 "signin/scoped_gaia_auth_extension.h",
679 "standard_management_policy_provider.cc",
680 "standard_management_policy_provider.h",
681 "startup_helper.cc",
682 "startup_helper.h",
683 "state_store_notification_observer.cc",
684 "state_store_notification_observer.h",
685 "suspicious_extension_bubble_delegate.cc",
686 "suspicious_extension_bubble_delegate.h",
687 "sync_bundle.cc",
688 "sync_bundle.h",
Steven Bennettseb2190042018-04-12 16:20:01689 "system_display/display_info_provider_chromeos.cc",
690 "system_display/display_info_provider_chromeos.h",
691 "system_display/display_info_provider_mac.cc",
692 "system_display/display_info_provider_mac.h",
693 "system_display/display_info_provider_win.cc",
694 "system_display/display_info_provider_win.h",
Brett Wilson75f9cbd2016-08-29 22:19:41695 "tab_helper.cc",
696 "tab_helper.h",
697 "theme_installed_infobar_delegate.cc",
698 "theme_installed_infobar_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41699 "unpacked_installer.cc",
700 "unpacked_installer.h",
701 "update_install_gate.cc",
702 "update_install_gate.h",
703 "updater/chrome_extension_downloader_factory.cc",
704 "updater/chrome_extension_downloader_factory.h",
705 "updater/chrome_update_client_config.cc",
706 "updater/chrome_update_client_config.h",
Minh X. Nguyen55afbe42018-05-18 22:04:26707 "updater/extension_update_client_command_line_config_policy.cc",
708 "updater/extension_update_client_command_line_config_policy.h",
Brett Wilson75f9cbd2016-08-29 22:19:41709 "updater/extension_updater.cc",
710 "updater/extension_updater.h",
Minh X. Nguyen55afbe42018-05-18 22:04:26711 "updater/extension_updater_switches.cc",
712 "updater/extension_updater_switches.h",
Brett Wilson75f9cbd2016-08-29 22:19:41713 "user_script_listener.cc",
714 "user_script_listener.h",
715 "warning_badge_service.cc",
716 "warning_badge_service.h",
717 "warning_badge_service_factory.cc",
718 "warning_badge_service_factory.h",
719 "webstore_data_fetcher.cc",
720 "webstore_data_fetcher.h",
721 "webstore_data_fetcher_delegate.cc",
722 "webstore_data_fetcher_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41723 "webstore_install_helper.cc",
724 "webstore_install_helper.h",
725 "webstore_install_with_prompt.cc",
726 "webstore_install_with_prompt.h",
727 "webstore_installer.cc",
728 "webstore_installer.h",
729 "webstore_reinstaller.cc",
730 "webstore_reinstaller.h",
731 "webstore_standalone_installer.cc",
732 "webstore_standalone_installer.h",
Brett Wilson75f9cbd2016-08-29 22:19:41733 "window_controller.cc",
734 "window_controller.h",
735 "window_controller_list.cc",
736 "window_controller_list.h",
737 "window_controller_list_observer.h",
Brett Wilson75f9cbd2016-08-29 22:19:41738 ]
[email protected]94e77192014-08-12 03:00:02739
rsesek99679aa2016-06-28 21:24:17740 configs += [
741 "//build/config:precompiled_headers",
742 "//build/config/compiler:wexit_time_destructors",
743 ]
[email protected]fb2799e2014-07-15 23:50:29744 defines = []
745
Daniel Rubery2d36b2f12019-01-26 00:34:19746 allow_circular_includes_from = [
747 # TODO(loyso): Remove this circular dependency. http://crbug.com/876576.
748 "//chrome/browser/web_applications/extensions",
749
750 # TODO(crbug/925153): Remove this circular dependency.
751 "//chrome/browser/safe_browsing",
752 ]
Alexey Baskakov3f6c31f02018-08-23 00:28:09753
[email protected]fb2799e2014-07-15 23:50:29754 # Since browser and browser_extensions actually depend on each other,
755 # we must omit the dependency from browser_extensions to browser.
756 # However, this means browser_extensions and browser should more or less
757 # have the same dependencies. Once browser_extensions is untangled from
758 # browser, then we can clean up these dependencies.
Brett Wilsone53895272014-09-23 23:41:46759 public_deps = [
Devlin Cronin07997f72018-07-18 01:30:53760 "//chrome/browser/extensions/api:api_registration",
Brett Wilsone53895272014-09-23 23:41:46761 "//chrome/common/extensions/api",
Greg Thompsone40723a2018-06-27 08:04:46762 "//components/safe_browsing:csd_proto",
Tim Volodinee45938472017-09-21 10:08:22763 "//components/safe_browsing/db:util",
Brett Wilsone53895272014-09-23 23:41:46764 "//content/public/browser",
765 ]
[email protected]fb2799e2014-07-15 23:50:29766 deps = [
michaelpgdbdcdcc2017-04-06 01:40:56767 "//apps",
[email protected]fb2799e2014-07-15 23:50:29768 "//chrome:extra_resources",
769 "//chrome:resources",
770 "//chrome:strings",
brettw98a87012016-07-26 22:15:45771 "//chrome/app:command_ids",
[email protected]fb2799e2014-07-15 23:50:29772 "//chrome/app/resources:platform_locale_settings",
thestigab068272016-08-30 18:58:55773 "//chrome/app/theme:chrome_unscaled_resources",
[email protected]fb2799e2014-07-15 23:50:29774 "//chrome/app/theme:theme_resources",
estadebd859082017-02-24 21:53:43775 "//chrome/app/vector_icons",
David Bertoni3cd201f72018-11-15 21:37:23776 "//chrome/browser:theme_properties",
[email protected]55699f392014-08-20 22:16:30777 "//chrome/browser/devtools",
Devlin Cronin8c5174492018-07-02 20:01:41778 "//chrome/browser/engagement:mojo_bindings",
thakis678822e2017-04-20 17:20:34779 "//chrome/browser/media/router",
zhaobincbc843e2017-03-23 22:21:57780 "//chrome/browser/media/router/discovery",
Devlin Cronin8c5174492018-07-02 20:01:41781 "//chrome/browser/resource_coordinator:mojo_bindings",
yzshena3471062017-06-21 01:56:15782 "//chrome/browser/safe_browsing",
Nigel Tao6618fc12018-07-27 01:22:09783 "//chrome/browser/web_applications/components",
Alexey Baskakovd538ba32018-07-12 01:36:47784 "//chrome/browser/web_applications/extensions",
[email protected]fb2799e2014-07-15 23:50:29785 "//chrome/common",
rdevlin.cronin5c6849832016-07-25 18:04:45786 "//chrome/common/extensions/api:extensions_features",
[email protected]fb2799e2014-07-15 23:50:29787 "//chrome/common/safe_browsing:proto",
Ken Rockot2ad4db32018-02-10 16:24:10788 "//chrome/services/removable_storage_writer/public/mojom",
brettwafa8f542016-08-24 05:16:24789 "//components/app_modal",
brettw98a87012016-07-26 22:15:45790 "//components/autofill/content/browser",
brettwafa8f542016-08-24 05:16:24791 "//components/bookmarks/browser",
792 "//components/bookmarks/managed",
maxbogue26f40222016-09-16 20:22:18793 "//components/browser_sync",
brettwafa8f542016-08-24 05:16:24794 "//components/browsing_data/core",
brettw98a87012016-07-26 22:15:45795 "//components/bubble",
796 "//components/content_settings/core/browser",
797 "//components/crx_file",
brettwafa8f542016-08-24 05:16:24798 "//components/data_reduction_proxy/core/browser",
tfarinac439a452015-05-29 00:35:36799 "//components/dom_distiller/core",
Xing Liu5c41b0a2017-07-14 19:16:46800 "//components/download/content/public",
Min Qineb78b7a2018-02-03 00:43:16801 "//components/download/public/common:public",
stevenjbffcb7a62016-11-04 21:56:57802 "//components/drive",
brettw98a87012016-07-26 22:15:45803 "//components/favicon/content",
brettwafa8f542016-08-24 05:16:24804 "//components/feedback",
brettw98a87012016-07-26 22:15:45805 "//components/gcm_driver",
brettwafa8f542016-08-24 05:16:24806 "//components/guest_view/browser",
807 "//components/history/core/browser",
brettw98a87012016-07-26 22:15:45808 "//components/infobars/core",
809 "//components/keyed_service/content",
Claudio Magnie0a80bb2018-01-31 02:52:58810 "//components/language/core/browser",
811 "//components/language/core/common",
Scott Violet9ae82892018-03-01 18:38:12812 "//components/nacl/common:buildflags",
brettwafa8f542016-08-24 05:16:24813 "//components/navigation_interception",
814 "//components/net_log",
815 "//components/omnibox/browser",
[email protected]fb2799e2014-07-15 23:50:29816 "//components/onc",
brettwafa8f542016-08-24 05:16:24817 "//components/password_manager/core/browser",
Mathieu Perreaultcacb85e2018-06-06 20:40:13818 "//components/payments/core",
brettwafa8f542016-08-24 05:16:24819 "//components/pdf/browser",
brettw083632b2016-08-25 20:24:46820 "//components/policy:generated",
821 "//components/policy/core/browser",
brettw98a87012016-07-26 22:15:45822 "//components/pref_registry",
brettw98a87012016-07-26 22:15:45823 "//components/proxy_config",
brettwafa8f542016-08-24 05:16:24824 "//components/rappor",
sdefresne1802d1392016-02-03 09:53:08825 "//components/resources",
Jialiu Linfc668ec12018-01-31 01:28:44826 "//components/safe_browsing:csd_proto",
827 "//components/safe_browsing:features",
timvolodine89cf11712017-05-15 18:05:07828 "//components/safe_browsing/common:safe_browsing_prefs",
Tim Volodinee45938472017-09-21 10:08:22829 "//components/safe_browsing/db:database_manager",
brettw98a87012016-07-26 22:15:45830 "//components/search_engines",
Colin Blundell6a897c72018-03-16 11:14:14831 "//components/services/unzip/public/cpp",
brettw98a87012016-07-26 22:15:45832 "//components/sessions",
833 "//components/signin/core/browser",
brettwafa8f542016-08-24 05:16:24834 "//components/spellcheck/browser",
835 "//components/storage_monitor",
[email protected]fb2799e2014-07-15 23:50:29836 "//components/strings",
Max Boguefef332d2016-07-28 22:09:09837 "//components/sync",
maxbogueea16ff412016-10-28 16:35:29838 "//components/sync_preferences",
brettwafa8f542016-08-24 05:16:24839 "//components/sync_sessions",
brettwafa8f542016-08-24 05:16:24840 "//components/translate/core/browser",
841 "//components/undo",
Thomas Tangld2d27a42018-06-20 18:22:09842 "//components/unified_consent",
sorin39eab2f2015-01-06 01:09:08843 "//components/update_client",
[email protected]fb2799e2014-07-15 23:50:29844 "//components/url_matcher",
brettwafa8f542016-08-24 05:16:24845 "//components/user_prefs",
Evan Stade619a89be2017-07-17 20:24:26846 "//components/vector_icons",
brettw98a87012016-07-26 22:15:45847 "//components/web_modal",
brettwafa8f542016-08-24 05:16:24848 "//components/zoom",
[email protected]a9ca8d52014-08-22 10:21:08849 "//content/app/resources",
[email protected]fb2799e2014-07-15 23:50:29850 "//content/public/common",
851 "//crypto",
[email protected]55699f392014-08-20 22:16:30852 "//device/bluetooth",
Casey Piperb4213422018-11-21 00:09:54853 "//device/fido",
agrieved7a71c882015-11-20 19:53:28854 "//extensions:extensions_resources",
[email protected]55699f392014-08-20 22:16:30855 "//extensions/browser",
Devlin Croninbc8177d2018-08-23 03:51:09856 "//extensions/browser:core_api_provider",
Scott Violetc8240b02018-03-08 22:03:59857 "//extensions/buildflags",
noelc8702c42017-03-16 08:51:19858 "//extensions/common",
[email protected]fb2799e2014-07-15 23:50:29859 "//extensions/common/api",
860 "//extensions/strings",
David Roger1f0a8bf72017-09-01 12:44:45861 "//google_apis",
Scott Violeta35f9a42018-03-22 22:00:44862 "//media:media_buildflags",
[email protected]fb2799e2014-07-15 23:50:29863 "//net",
Scott Violet02e38b92018-03-27 23:42:14864 "//ppapi/buildflags",
Scott Violet318a55f2018-03-30 19:08:19865 "//printing/buildflags",
Scott Violeta5f7ba12018-04-02 22:03:40866 "//rlz/buildflags",
Olga Sharonovaa234a0a2018-02-16 11:12:23867 "//services/audio/public/cpp",
Jay Civelliab99a9c2017-10-13 17:48:23868 "//services/data_decoder/public/cpp",
Ke He31d0bb02018-02-24 07:16:24869 "//services/device/public/mojom",
Sergio Villar Seninb2020d32018-10-17 17:04:37870 "//services/identity/public/cpp",
Colin Blundellde1ec682018-02-06 11:13:36871 "//services/identity/public/mojom",
Ken Rockot54311e62018-02-10 19:01:52872 "//services/network/public/mojom",
blundellb85bd3b2017-03-24 13:56:27873 "//services/service_manager/public/cpp",
Ken Rockot543f5e32018-02-04 02:13:50874 "//services/service_manager/public/mojom",
[email protected]fb2799e2014-07-15 23:50:29875 "//skia",
brettwafa8f542016-08-24 05:16:24876 "//sql",
agrieved7a71c882015-11-20 19:53:28877 "//storage/browser",
pilgrimf55d19fc2014-09-04 00:05:24878 "//storage/common",
Blink Reformata30d4232018-04-07 15:31:06879 "//third_party/blink/public:resources",
880 "//third_party/blink/public:scaled_resources",
[email protected]fb2799e2014-07-15 23:50:29881 "//third_party/cacheinvalidation",
882 "//third_party/icu",
883 "//third_party/leveldatabase",
khorimotoc067a1dc2015-05-06 02:38:57884 "//third_party/libaddressinput:util",
[email protected]fb2799e2014-07-15 23:50:29885 "//third_party/re2",
Victor Costand50644d2018-07-23 20:42:47886 "//third_party/sqlite",
Sam McNally20b9be02019-01-30 02:29:00887 "//third_party/zlib/google:compression_utils",
manzagop55aebef2017-06-21 14:38:48888 "//third_party/zlib/google:zip",
Dominic Mazzonidcef1b732018-01-26 17:57:04889 "//ui/accessibility:ax_enums_mojo",
[email protected]fb2799e2014-07-15 23:50:29890 "//ui/base",
Maksim Sisova33072d22019-01-24 15:44:25891 "//ui/base/clipboard",
spang1c36fac2015-02-05 19:55:12892 "//ui/base/ime",
kylechar731f85f92016-12-01 20:50:46893 "//ui/display/manager",
[email protected]fb2799e2014-07-15 23:50:29894 "//ui/gfx",
895 "//ui/gfx/geometry",
Evan Stade353058c2017-09-08 21:31:13896 "//ui/message_center",
897 "//ui/message_center/public/cpp",
brettw98a87012016-07-26 22:15:45898 "//ui/native_theme",
[email protected]fb2799e2014-07-15 23:50:29899 "//ui/resources",
brettwafa8f542016-08-24 05:16:24900 "//ui/shell_dialogs",
[email protected]fb2799e2014-07-15 23:50:29901 "//ui/strings",
902 "//url",
[email protected]fb2799e2014-07-15 23:50:29903 ]
904
[email protected]fb2799e2014-07-15 23:50:29905 if (is_chromeos) {
Brett Wilson75f9cbd2016-08-29 22:19:41906 sources += [
Brett Wilson75f9cbd2016-08-29 22:19:41907 "api/certificate_provider/certificate_provider_api.cc",
908 "api/certificate_provider/certificate_provider_api.h",
909 "api/enterprise_device_attributes/enterprise_device_attributes_api.cc",
910 "api/enterprise_device_attributes/enterprise_device_attributes_api.h",
911 "api/enterprise_platform_keys/enterprise_platform_keys_api.cc",
912 "api/enterprise_platform_keys/enterprise_platform_keys_api.h",
913 "api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc",
914 "api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h",
michaelpgc1c49322017-06-09 18:22:37915 "api/file_system/consent_provider.cc",
916 "api/file_system/consent_provider.h",
Brett Wilson75f9cbd2016-08-29 22:19:41917 "api/file_system/request_file_system_notification.cc",
918 "api/file_system/request_file_system_notification.h",
919 "api/input_ime/input_ime_api.cc",
920 "api/input_ime/input_ime_api.h",
921 "api/input_ime/input_ime_api_chromeos.cc",
922 "api/input_ime/input_ime_api_chromeos.h",
923 "api/input_ime/input_ime_event_router_base.cc",
924 "api/input_ime/input_ime_event_router_base.h",
Luke Sorenson8daa8e622017-11-29 05:51:25925 "api/media_perception_private/media_perception_api_delegate_chromeos.cc",
926 "api/media_perception_private/media_perception_api_delegate_chromeos.h",
Brett Wilson75f9cbd2016-08-29 22:19:41927 "api/messaging/native_message_host_chromeos.cc",
tbarzicd2ff1ae2c2017-03-16 18:04:42928 "api/networking_cast_private/chrome_networking_cast_private_delegate.cc",
929 "api/networking_cast_private/chrome_networking_cast_private_delegate.h",
930 "api/networking_cast_private/networking_cast_private_api.cc",
931 "api/networking_cast_private/networking_cast_private_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:41932 "api/platform_keys/platform_keys_api.cc",
933 "api/platform_keys/platform_keys_api.h",
934 "api/platform_keys/verify_trust_api.cc",
935 "api/platform_keys/verify_trust_api.h",
Wenzhao Zangde3a07f2018-01-18 09:33:26936 "api/settings_private/chromeos_resolve_time_zone_by_geolocation_method_short.cc",
937 "api/settings_private/chromeos_resolve_time_zone_by_geolocation_method_short.h",
938 "api/settings_private/chromeos_resolve_time_zone_by_geolocation_on_off.cc",
939 "api/settings_private/chromeos_resolve_time_zone_by_geolocation_on_off.h",
940 "api/settings_private/generated_time_zone_pref_base.cc",
941 "api/settings_private/generated_time_zone_pref_base.h",
Brett Wilson75f9cbd2016-08-29 22:19:41942 "api/terminal/terminal_extension_helper.cc",
943 "api/terminal/terminal_extension_helper.h",
944 "api/terminal/terminal_private_api.cc",
945 "api/terminal/terminal_private_api.h",
946 "api/virtual_keyboard_private/chrome_virtual_keyboard_delegate.cc",
947 "api/virtual_keyboard_private/chrome_virtual_keyboard_delegate.h",
948 "api/vpn_provider/vpn_service_factory.cc",
Lei Zhang49555f12017-11-30 01:30:47949 "chrome_kiosk_delegate_chromeos.cc",
Brett Wilson75f9cbd2016-08-29 22:19:41950 "updater/chromeos_extension_cache_delegate.cc",
951 "updater/chromeos_extension_cache_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41952 "updater/extension_cache_impl.cc",
953 "updater/extension_cache_impl.h",
954 "updater/local_extension_cache.cc",
955 "updater/local_extension_cache.h",
956 ]
957
mbjorgea12e5a52016-05-31 22:15:17958 if (use_dbus) {
959 configs += [ "//build/config/linux/dbus" ]
960 }
[email protected]fb2799e2014-07-15 23:50:29961 deps += [
Scott Violetb84f2292017-11-20 18:06:32962 "//ash/public/cpp",
Steven Bennettsc5f108132019-01-09 20:20:34963 "//chromeos/attestation",
James Hawkins813085e2018-03-30 18:56:41964 "//chromeos/components/proximity_auth",
Steven Bennettsd7bd9ce2019-01-04 17:47:58965 "//chromeos/cryptohome",
Steven Bennettsa992e432019-01-11 00:21:12966 "//chromeos/dbus",
Steven Bennetts0ac86392019-01-09 19:05:51967 "//chromeos/disks",
Steven Bennetts2e6eaf72019-01-04 16:52:39968 "//chromeos/login/login_state",
Steven Bennetts8e97939f2019-01-11 16:11:31969 "//chromeos/network",
Leo Zhang84ce09e92018-08-25 01:55:36970 "//chromeos/services/ime/public/mojom",
Luke Sorenson39dc3462018-10-03 19:12:51971 "//chromeos/services/machine_learning/public/cpp",
972 "//chromeos/services/machine_learning/public/mojom",
973 "//chromeos/services/media_perception/public/mojom",
Steven Bennetts036b9b62019-01-11 17:47:57974 "//chromeos/settings",
Steven Bennetts1b9e54bf2019-01-09 23:09:37975 "//chromeos/tpm",
Ahmed Fakhry9ef29e042017-09-01 16:32:00976 "//components/arc",
brettwafa8f542016-08-24 05:16:24977 "//components/constrained_window",
978 "//components/drive",
979 "//components/user_manager",
jamiewalchcf2cc682017-05-06 00:51:47980 "//remoting/base",
brettwafa8f542016-08-24 05:16:24981 "//remoting/host",
Denis Kuznetsovcfd11742018-08-14 15:56:42982 "//remoting/host/it2me:chrome_os_host",
Luke Sorenson32c070f2018-07-19 20:12:07983 "//services/video_capture/public/mojom:constants",
agrieved7a71c882015-11-20 19:53:28984 "//third_party/protobuf:protobuf_lite",
brettwafa8f542016-08-24 05:16:24985 "//ui/chromeos",
penghuange5df2822017-03-16 22:54:36986 "//ui/chromeos/events",
brettwafa8f542016-08-24 05:16:24987 "//ui/file_manager",
Yuichiro Hanadae56d0272018-06-12 10:18:08988 "//ui/keyboard",
989 "//ui/keyboard:resources",
Elliot Glaysher71afb0ec2017-09-19 21:51:33990 "//ui/ozone",
991 "//ui/views",
[email protected]fb2799e2014-07-15 23:50:29992 ]
Yuki Awanof7fa8b02017-07-11 11:52:28993 if (enable_nacl) {
994 deps += [ "//chrome/browser/resources/chromeos/zip_archiver" ]
995 }
[email protected]fb2799e2014-07-15 23:50:29996 } else {
997 sources += [
Owen Min614a8262018-04-13 12:02:02998 "api/enterprise_reporting_private/chrome_desktop_report_request_helper.cc",
999 "api/enterprise_reporting_private/chrome_desktop_report_request_helper.h",
Owen Minfdada01a2018-04-13 04:36:231000 "api/enterprise_reporting_private/enterprise_reporting_private_api.cc",
1001 "api/enterprise_reporting_private/enterprise_reporting_private_api.h",
Nicolas Ouellet-Payeur7f9a63ef2018-08-28 17:26:061002 "api/enterprise_reporting_private/prefs.cc",
1003 "api/enterprise_reporting_private/prefs.h",
Brett Wilson75f9cbd2016-08-29 22:19:411004 "api/image_writer_private/operation_nonchromeos.cc",
1005 "api/image_writer_private/removable_storage_provider_linux.cc",
1006 "api/messaging/native_message_process_host.cc",
1007 "api/messaging/native_message_process_host.h",
1008 "api/messaging/native_process_launcher.cc",
1009 "api/messaging/native_process_launcher.h",
Brett Wilson75f9cbd2016-08-29 22:19:411010 "api/messaging/native_process_launcher_win.cc",
Lei Zhang49555f12017-11-30 01:30:471011 "chrome_kiosk_delegate.cc",
[email protected]fb2799e2014-07-15 23:50:291012 "default_apps.cc",
Brett Wilson75f9cbd2016-08-29 22:19:411013 "default_apps.h",
[email protected]fb2799e2014-07-15 23:50:291014 ]
Fabrice de Gans-Riberi810b741f2018-04-20 21:00:491015 if (is_posix) {
1016 sources += [ "api/messaging/native_process_launcher_posix.cc" ]
1017 }
[email protected]fb2799e2014-07-15 23:50:291018 }
1019
kylechar0acbe052017-08-21 21:10:241020 if (use_x11) {
1021 sources += [
thestig0e3086f2016-08-04 04:44:161022 "global_shortcut_listener_x11.cc",
1023 "global_shortcut_listener_x11.h",
paulmeyer27b328b2015-06-17 21:26:121024 ]
kylechar0acbe052017-08-21 21:10:241025 } else if (use_ozone) {
1026 sources += [
1027 "global_shortcut_listener_ozone.cc",
1028 "global_shortcut_listener_ozone.h",
1029 ]
paulmeyer27b328b2015-06-17 21:26:121030 }
1031
[email protected]94e77192014-08-12 03:00:021032 if (is_linux) {
rchfd3053f22017-06-08 22:34:151033 deps += [ "//third_party/fontconfig" ]
mbjorgea12e5a52016-05-31 22:15:171034
1035 if (use_dbus) {
1036 deps += [ "//dbus" ]
1037 }
brettwafa8f542016-08-24 05:16:241038 if (use_udev) {
1039 deps += [ "//device/udev_linux" ]
1040 }
mbjorgea12e5a52016-05-31 22:15:171041
[email protected]94e77192014-08-12 03:00:021042 if (use_x11) {
scottmga266f952014-12-03 20:47:101043 configs += [ "//build/config/linux:x11" ]
[email protected]94e77192014-08-12 03:00:021044 deps += [
Brett Wilson4263a742014-09-10 00:02:241045 "//ui/events:events_base",
[email protected]94e77192014-08-12 03:00:021046 "//ui/events/platform",
1047 "//ui/events/platform/x11",
1048 ]
1049 }
[email protected]94e77192014-08-12 03:00:021050 }
[email protected]fb2799e2014-07-15 23:50:291051
brettwee486bb2016-12-08 17:56:341052 if (!is_android) {
1053 sources += [
1054 "api/processes/processes_api.cc",
1055 "api/processes/processes_api.h",
1056 ]
brettwafa8f542016-08-24 05:16:241057 }
1058
[email protected]94e77192014-08-12 03:00:021059 if (is_win || is_mac) {
Brett Wilson75f9cbd2016-08-29 22:19:411060 sources += [
tbarzicd2ff1ae2c2017-03-16 18:04:421061 "api/networking_cast_private/chrome_networking_cast_private_delegate.cc",
1062 "api/networking_cast_private/chrome_networking_cast_private_delegate.h",
1063 "api/networking_cast_private/networking_cast_private_api.cc",
1064 "api/networking_cast_private/networking_cast_private_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:411065 ]
[email protected]94e77192014-08-12 03:00:021066 deps += [ "//components/wifi" ]
zentaroc0f330b2014-10-09 19:44:371067 }
1068
tfarinae3f8d5232016-10-30 11:32:051069 if (is_win || is_mac || is_chromeos) {
1070 sources += [
1071 "api/networking_private/networking_private_crypto.cc",
1072 "api/networking_private/networking_private_crypto.h",
1073 ]
1074
1075 # networking_private_crypto.cc depends on boringssl.
1076 public_deps += [ "//third_party/boringssl" ]
1077 }
1078
[email protected]94e77192014-08-12 03:00:021079 if (is_win) {
1080 deps += [
Ken Rockotfba9e742018-02-10 16:36:201081 "//chrome/services/wifi_util_win/public/mojom",
[email protected]94e77192014-08-12 03:00:021082 "//third_party/iaccessible2",
1083 "//third_party/isimpledom",
1084 ]
brettw22488ad2015-05-02 00:42:591085 } else if (use_aura && !is_chromeos) {
[email protected]723b76b2014-08-21 23:48:591086 sources += [
Steven Bennettseb2190042018-04-12 16:20:011087 "system_display/display_info_provider_aura.cc",
1088 "system_display/display_info_provider_aura.h",
[email protected]723b76b2014-08-21 23:48:591089 ]
[email protected]94e77192014-08-12 03:00:021090 }
[email protected]fb2799e2014-07-15 23:50:291091
Brett Wilson75f9cbd2016-08-29 22:19:411092 if (is_win || (is_linux && !is_chromeos)) {
1093 sources += [
1094 "api/input_ime/input_ime_api.cc",
1095 "api/input_ime/input_ime_api.h",
1096 "api/input_ime/input_ime_api_nonchromeos.cc",
1097 "api/input_ime/input_ime_api_nonchromeos.h",
1098 "api/input_ime/input_ime_event_router_base.cc",
1099 "api/input_ime/input_ime_event_router_base.h",
1100 ]
1101 }
1102
Lei Zhang49555f12017-11-30 01:30:471103 if (enable_print_preview && !is_chromeos) {
1104 sources += [
1105 "api/cloud_print_private/cloud_print_private_api.cc",
1106 "api/cloud_print_private/cloud_print_private_api.h",
1107 ]
Sam McNally9015c1ff2018-01-29 18:55:591108 deps += [ "//chrome/common:service_process_mojom" ]
Lei Zhang49555f12017-11-30 01:30:471109 }
1110
thestig0e3086f2016-08-04 04:44:161111 if (enable_service_discovery) {
Brett Wilson75f9cbd2016-08-29 22:19:411112 sources += [
Brett Wilson75f9cbd2016-08-29 22:19:411113 "api/mdns/mdns_api.cc",
1114 "api/mdns/mdns_api.h",
1115 ]
thestig0e3086f2016-08-04 04:44:161116 }
1117
Lei Zhangdffec592018-11-16 19:28:071118 if (enable_pdf) {
1119 deps += [
1120 "//pdf:buildflags",
1121 "//pdf:features",
1122 ]
1123 }
1124
brettwafa8f542016-08-24 05:16:241125 if (enable_rlz_support) {
1126 deps += [ "//rlz:rlz_lib" ]
1127 }
1128
thestig0e3086f2016-08-04 04:44:161129 if (toolkit_views) {
1130 deps += [ "//ui/views" ]
1131 }
1132
thestig0e3086f2016-08-04 04:44:161133 if (use_aura) {
Yuichiro Hanadae56d0272018-06-12 10:18:081134 deps += [ "//ui/aura" ]
thestig0e3086f2016-08-04 04:44:161135 }
1136
1137 if (use_brlapi) {
Brett Wilson75f9cbd2016-08-29 22:19:411138 sources += [
1139 "api/braille_display_private/braille_controller_brlapi.cc",
1140 "api/braille_display_private/brlapi_connection.cc",
1141 "api/braille_display_private/brlapi_connection.h",
1142 "api/braille_display_private/brlapi_keycode_map.cc",
1143 "api/braille_display_private/brlapi_keycode_map.h",
1144 ]
thestig0e3086f2016-08-04 04:44:161145 deps += [ "//build/linux/libbrlapi" ]
thestig0e3086f2016-08-04 04:44:161146 } else {
1147 sources += [ "api/braille_display_private/braille_controller_stub.cc" ]
[email protected]fb2799e2014-07-15 23:50:291148 }
[email protected]fb2799e2014-07-15 23:50:291149}