blob: 442f7ee5ff2366cc18af100957cc7c81f18585eb [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
Bruno Santos1e192622019-04-25 19:49:3715if (is_chromeos) {
16 import("//chrome/browser/chromeos/kiosk_next_home/kiosk_next.gni")
17}
18
thestiga52fbd22014-10-31 09:01:4919assert(enable_extensions)
20
Oscar Johanssone31b7122018-06-18 11:13:4621jumbo_static_library("extensions") {
Brett Wilson75f9cbd2016-08-29 22:19:4122 sources = [
23 # TODO These references to files in //chrome/browser/ should either be
24 # moved to the browser target or the files moved to this directory.
Daniel Bratell6fec1742019-03-27 09:16:2025 "../accessibility/accessibility_extension_api.cc",
26 "../accessibility/accessibility_extension_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:4127 "../ui/app_icon_loader.cc",
28 "../ui/app_icon_loader.h",
29 "../ui/toolbar/toolbar_actions_model.cc",
30 "../ui/toolbar/toolbar_actions_model.h",
31 "../ui/toolbar/toolbar_actions_model_factory.cc",
32 "../ui/toolbar/toolbar_actions_model_factory.h",
Brett Wilson75f9cbd2016-08-29 22:19:4133 "active_install_data.cc",
34 "active_install_data.h",
35 "active_tab_permission_granter.cc",
36 "active_tab_permission_granter.h",
37 "activity_log/activity_action_constants.cc",
38 "activity_log/activity_action_constants.h",
39 "activity_log/activity_actions.cc",
40 "activity_log/activity_actions.h",
41 "activity_log/activity_database.cc",
42 "activity_log/activity_database.h",
43 "activity_log/activity_log.cc",
44 "activity_log/activity_log.h",
45 "activity_log/activity_log_policy.cc",
46 "activity_log/activity_log_policy.h",
rdevlin.cronin6fa6b152017-08-01 22:47:1847 "activity_log/activity_log_task_runner.cc",
48 "activity_log/activity_log_task_runner.h",
Brett Wilson75f9cbd2016-08-29 22:19:4149 "activity_log/counting_policy.cc",
50 "activity_log/counting_policy.h",
51 "activity_log/database_string_table.cc",
52 "activity_log/database_string_table.h",
53 "activity_log/fullstream_ui_policy.cc",
54 "activity_log/fullstream_ui_policy.h",
55 "api/activity_log_private/activity_log_private_api.cc",
56 "api/activity_log_private/activity_log_private_api.h",
57 "api/autofill_private/autofill_private_api.cc",
58 "api/autofill_private/autofill_private_api.h",
59 "api/autofill_private/autofill_private_event_router.cc",
60 "api/autofill_private/autofill_private_event_router.h",
61 "api/autofill_private/autofill_private_event_router_factory.cc",
62 "api/autofill_private/autofill_private_event_router_factory.h",
63 "api/autofill_private/autofill_util.cc",
64 "api/autofill_private/autofill_util.h",
Randy Rossi9e3b5c52019-04-30 20:58:5865 "api/automation_internal/chrome_automation_internal_api_delegate.cc",
66 "api/automation_internal/chrome_automation_internal_api_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:4167 "api/bookmark_manager_private/bookmark_manager_private_api.cc",
68 "api/bookmark_manager_private/bookmark_manager_private_api.h",
69 "api/bookmarks/bookmark_api_constants.cc",
70 "api/bookmarks/bookmark_api_constants.h",
71 "api/bookmarks/bookmark_api_helpers.cc",
72 "api/bookmarks/bookmark_api_helpers.h",
73 "api/bookmarks/bookmarks_api.cc",
74 "api/bookmarks/bookmarks_api.h",
75 "api/braille_display_private/braille_controller.h",
76 "api/braille_display_private/braille_controller_brlapi.h",
77 "api/braille_display_private/braille_display_private_api.cc",
78 "api/braille_display_private/braille_display_private_api.h",
79 "api/braille_display_private/stub_braille_controller.cc",
80 "api/braille_display_private/stub_braille_controller.h",
Brett Wilson75f9cbd2016-08-29 22:19:4181 "api/browsing_data/browsing_data_api.cc",
82 "api/browsing_data/browsing_data_api.h",
83 "api/chrome_device_permissions_prompt.h",
84 "api/chrome_extensions_api_client.cc",
85 "api/chrome_extensions_api_client.h",
Brett Wilson75f9cbd2016-08-29 22:19:4186 "api/command_line_private/command_line_private_api.cc",
87 "api/command_line_private/command_line_private_api.h",
88 "api/commands/command_service.cc",
89 "api/commands/command_service.h",
90 "api/commands/commands.cc",
91 "api/commands/commands.h",
92 "api/content_settings/content_settings_api.cc",
93 "api/content_settings/content_settings_api.h",
94 "api/content_settings/content_settings_api_constants.cc",
95 "api/content_settings/content_settings_api_constants.h",
96 "api/content_settings/content_settings_custom_extension_provider.cc",
97 "api/content_settings/content_settings_custom_extension_provider.h",
98 "api/content_settings/content_settings_helpers.cc",
99 "api/content_settings/content_settings_helpers.h",
100 "api/content_settings/content_settings_service.cc",
101 "api/content_settings/content_settings_service.h",
102 "api/content_settings/content_settings_store.cc",
103 "api/content_settings/content_settings_store.h",
104 "api/context_menus/context_menus_api.cc",
105 "api/context_menus/context_menus_api.h",
106 "api/context_menus/context_menus_api_helpers.cc",
107 "api/context_menus/context_menus_api_helpers.h",
108 "api/cookies/cookies_api.cc",
109 "api/cookies/cookies_api.h",
110 "api/cookies/cookies_api_constants.cc",
111 "api/cookies/cookies_api_constants.h",
112 "api/cookies/cookies_helpers.cc",
113 "api/cookies/cookies_helpers.h",
114 "api/cryptotoken_private/cryptotoken_private_api.cc",
115 "api/cryptotoken_private/cryptotoken_private_api.h",
116 "api/dashboard_private/dashboard_private_api.cc",
117 "api/dashboard_private/dashboard_private_api.h",
118 "api/data_reduction_proxy/data_reduction_proxy_api.cc",
119 "api/data_reduction_proxy/data_reduction_proxy_api.h",
120 "api/debugger/debugger_api.cc",
121 "api/debugger/debugger_api.h",
122 "api/debugger/debugger_api_constants.cc",
123 "api/debugger/debugger_api_constants.h",
Peter Kasting37db76f82018-01-06 02:39:16124 "api/debugger/extension_dev_tools_infobar.cc",
125 "api/debugger/extension_dev_tools_infobar.h",
Brett Wilson75f9cbd2016-08-29 22:19:41126 "api/declarative_content/chrome_content_rules_registry.cc",
127 "api/declarative_content/chrome_content_rules_registry.h",
128 "api/declarative_content/content_action.cc",
129 "api/declarative_content/content_action.h",
130 "api/declarative_content/content_condition.cc",
131 "api/declarative_content/content_condition.h",
Brett Wilson75f9cbd2016-08-29 22:19:41132 "api/declarative_content/content_predicate.cc",
133 "api/declarative_content/content_predicate.h",
134 "api/declarative_content/content_predicate_evaluator.cc",
135 "api/declarative_content/content_predicate_evaluator.h",
136 "api/declarative_content/declarative_content_css_condition_tracker.cc",
137 "api/declarative_content/declarative_content_css_condition_tracker.h",
138 "api/declarative_content/declarative_content_is_bookmarked_condition_tracker.cc",
139 "api/declarative_content/declarative_content_is_bookmarked_condition_tracker.h",
140 "api/declarative_content/declarative_content_page_url_condition_tracker.cc",
141 "api/declarative_content/declarative_content_page_url_condition_tracker.h",
142 "api/declarative_content/default_content_predicate_evaluators.cc",
143 "api/declarative_content/default_content_predicate_evaluators.h",
144 "api/desktop_capture/desktop_capture_api.cc",
145 "api/desktop_capture/desktop_capture_api.h",
146 "api/desktop_capture/desktop_capture_base.cc",
147 "api/desktop_capture/desktop_capture_base.h",
148 "api/developer_private/developer_private_api.cc",
149 "api/developer_private/developer_private_api.h",
150 "api/developer_private/developer_private_mangle.cc",
151 "api/developer_private/developer_private_mangle.h",
152 "api/developer_private/entry_picker.cc",
153 "api/developer_private/entry_picker.h",
154 "api/developer_private/extension_info_generator.cc",
155 "api/developer_private/extension_info_generator.h",
156 "api/developer_private/inspectable_views_finder.cc",
157 "api/developer_private/inspectable_views_finder.h",
158 "api/developer_private/show_permissions_dialog_helper.cc",
159 "api/developer_private/show_permissions_dialog_helper.h",
Brett Wilson75f9cbd2016-08-29 22:19:41160 "api/downloads/downloads_api.cc",
161 "api/downloads/downloads_api.h",
162 "api/downloads_internal/downloads_internal_api.cc",
163 "api/downloads_internal/downloads_internal_api.h",
Guido Urdaneta433c5212018-09-01 01:37:12164 "api/enterprise_hardware_platform/enterprise_hardware_platform_api.cc",
165 "api/enterprise_hardware_platform/enterprise_hardware_platform_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:41166 "api/extension_action/extension_action_api.cc",
167 "api/extension_action/extension_action_api.h",
168 "api/extension_action/extension_page_actions_api_constants.cc",
169 "api/extension_action/extension_page_actions_api_constants.h",
Michael Giuffrida675f13c2017-08-08 18:46:05170 "api/feedback_private/chrome_feedback_private_delegate.cc",
171 "api/feedback_private/chrome_feedback_private_delegate.h",
michaelpg75d89e72017-02-07 01:34:29172 "api/file_handlers/non_native_file_system_delegate_chromeos.cc",
173 "api/file_handlers/non_native_file_system_delegate_chromeos.h",
michaelpg56c27b32017-07-14 01:35:29174 "api/file_system/chrome_file_system_delegate.cc",
175 "api/file_system/chrome_file_system_delegate.h",
michaelpgb35720f52017-07-06 18:16:20176 "api/file_system/file_entry_picker.cc",
177 "api/file_system/file_entry_picker.h",
Brett Wilson75f9cbd2016-08-29 22:19:41178 "api/font_settings/font_settings_api.cc",
179 "api/font_settings/font_settings_api.h",
180 "api/gcm/gcm_api.cc",
181 "api/gcm/gcm_api.h",
182 "api/history/history_api.cc",
183 "api/history/history_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:41184 "api/i18n/i18n_api.cc",
185 "api/i18n/i18n_api.h",
186 "api/identity/extension_token_key.cc",
187 "api/identity/extension_token_key.h",
188 "api/identity/gaia_web_auth_flow.cc",
189 "api/identity/gaia_web_auth_flow.h",
190 "api/identity/identity_api.cc",
191 "api/identity/identity_api.h",
blundella13e6042017-02-01 07:16:40192 "api/identity/identity_constants.cc",
193 "api/identity/identity_constants.h",
blundelle1b2a782017-02-03 15:00:05194 "api/identity/identity_get_accounts_function.cc",
195 "api/identity/identity_get_accounts_function.h",
blundelle1b2ceb2017-02-03 13:03:15196 "api/identity/identity_get_auth_token_function.cc",
197 "api/identity/identity_get_auth_token_function.h",
blundell06fb5482017-02-01 17:27:27198 "api/identity/identity_get_profile_user_info_function.cc",
199 "api/identity/identity_get_profile_user_info_function.h",
blundell19151642017-01-27 08:50:56200 "api/identity/identity_launch_web_auth_flow_function.cc",
201 "api/identity/identity_launch_web_auth_flow_function.h",
Brett Wilson75f9cbd2016-08-29 22:19:41202 "api/identity/identity_mint_queue.cc",
203 "api/identity/identity_mint_queue.h",
blundellfb7f1c572017-01-27 15:45:00204 "api/identity/identity_remove_cached_auth_token_function.cc",
205 "api/identity/identity_remove_cached_auth_token_function.h",
Brett Wilson75f9cbd2016-08-29 22:19:41206 "api/identity/web_auth_flow.cc",
207 "api/identity/web_auth_flow.h",
208 "api/idltest/idltest_api.cc",
209 "api/idltest/idltest_api.h",
210 "api/image_writer_private/destroy_partitions_operation.cc",
211 "api/image_writer_private/destroy_partitions_operation.h",
212 "api/image_writer_private/error_messages.cc",
213 "api/image_writer_private/error_messages.h",
214 "api/image_writer_private/image_writer_private_api.cc",
215 "api/image_writer_private/image_writer_private_api.h",
216 "api/image_writer_private/image_writer_utility_client.cc",
217 "api/image_writer_private/image_writer_utility_client.h",
218 "api/image_writer_private/operation.cc",
219 "api/image_writer_private/operation.h",
220 "api/image_writer_private/operation_chromeos.cc",
221 "api/image_writer_private/operation_manager.cc",
222 "api/image_writer_private/operation_manager.h",
223 "api/image_writer_private/removable_storage_provider.cc",
224 "api/image_writer_private/removable_storage_provider.h",
225 "api/image_writer_private/removable_storage_provider_chromeos.cc",
226 "api/image_writer_private/removable_storage_provider_mac.cc",
227 "api/image_writer_private/removable_storage_provider_win.cc",
Istiaque Ahmed3eb3d0d2017-08-09 20:33:36228 "api/image_writer_private/unzip_helper.cc",
229 "api/image_writer_private/unzip_helper.h",
Brett Wilson75f9cbd2016-08-29 22:19:41230 "api/image_writer_private/write_from_file_operation.cc",
231 "api/image_writer_private/write_from_file_operation.h",
232 "api/image_writer_private/write_from_url_operation.cc",
233 "api/image_writer_private/write_from_url_operation.h",
Brett Wilson75f9cbd2016-08-29 22:19:41234 "api/instance_id/instance_id_api.cc",
235 "api/instance_id/instance_id_api.h",
236 "api/language_settings_private/language_settings_private_api.cc",
237 "api/language_settings_private/language_settings_private_api.h",
238 "api/language_settings_private/language_settings_private_delegate.cc",
239 "api/language_settings_private/language_settings_private_delegate.h",
240 "api/language_settings_private/language_settings_private_delegate_factory.cc",
241 "api/language_settings_private/language_settings_private_delegate_factory.h",
242 "api/management/chrome_management_api_delegate.cc",
243 "api/management/chrome_management_api_delegate.h",
Michael Giuffrida9e1a9f82017-08-08 14:23:29244 "api/messaging/chrome_messaging_delegate.cc",
245 "api/messaging/chrome_messaging_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41246 "api/messaging/incognito_connectability.cc",
247 "api/messaging/incognito_connectability.h",
Peter Kasting72ed57502018-01-08 23:19:24248 "api/messaging/incognito_connectability_infobar_delegate.cc",
249 "api/messaging/incognito_connectability_infobar_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41250 "api/messaging/native_message_port.cc",
251 "api/messaging/native_message_port.h",
252 "api/messaging/native_messaging_host_manifest.cc",
253 "api/messaging/native_messaging_host_manifest.h",
254 "api/messaging/native_messaging_policy_handler.cc",
255 "api/messaging/native_messaging_policy_handler.h",
michaelpg49dc7dbf2016-10-06 05:26:47256 "api/metrics_private/chrome_metrics_private_delegate.cc",
257 "api/metrics_private/chrome_metrics_private_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41258 "api/module/module.cc",
259 "api/module/module.h",
Brett Wilson75f9cbd2016-08-29 22:19:41260 "api/networking_private/networking_private_ui_delegate_chromeos.cc",
261 "api/networking_private/networking_private_ui_delegate_chromeos.h",
262 "api/networking_private/networking_private_ui_delegate_factory_impl.cc",
263 "api/networking_private/networking_private_ui_delegate_factory_impl.h",
peter28d8b732017-04-11 17:36:17264 "api/notifications/extension_notification_display_helper.cc",
265 "api/notifications/extension_notification_display_helper.h",
266 "api/notifications/extension_notification_display_helper_factory.cc",
267 "api/notifications/extension_notification_display_helper_factory.h",
268 "api/notifications/extension_notification_handler.cc",
269 "api/notifications/extension_notification_handler.h",
Brett Wilson75f9cbd2016-08-29 22:19:41270 "api/notifications/notifications_api.cc",
271 "api/notifications/notifications_api.h",
272 "api/omnibox/omnibox_api.cc",
273 "api/omnibox/omnibox_api.h",
274 "api/page_capture/page_capture_api.cc",
275 "api/page_capture/page_capture_api.h",
276 "api/passwords_private/passwords_private_api.cc",
277 "api/passwords_private/passwords_private_api.h",
278 "api/passwords_private/passwords_private_delegate.h",
279 "api/passwords_private/passwords_private_delegate_factory.cc",
280 "api/passwords_private/passwords_private_delegate_factory.h",
281 "api/passwords_private/passwords_private_delegate_impl.cc",
282 "api/passwords_private/passwords_private_delegate_impl.h",
283 "api/passwords_private/passwords_private_event_router.cc",
284 "api/passwords_private/passwords_private_event_router.h",
285 "api/passwords_private/passwords_private_event_router_factory.cc",
286 "api/passwords_private/passwords_private_event_router_factory.h",
jdoerrie2d3f81e2017-05-18 06:17:50287 "api/passwords_private/passwords_private_utils.cc",
288 "api/passwords_private/passwords_private_utils.h",
Brett Wilson75f9cbd2016-08-29 22:19:41289 "api/permissions/permissions_api.cc",
290 "api/permissions/permissions_api.h",
291 "api/permissions/permissions_api_helpers.cc",
292 "api/permissions/permissions_api_helpers.h",
Brett Wilson75f9cbd2016-08-29 22:19:41293 "api/preference/preference_api.cc",
294 "api/preference/preference_api.h",
295 "api/preference/preference_api_constants.cc",
296 "api/preference/preference_api_constants.h",
297 "api/preference/preference_helpers.cc",
298 "api/preference/preference_helpers.h",
299 "api/proxy/proxy_api.cc",
300 "api/proxy/proxy_api.h",
301 "api/proxy/proxy_api_constants.cc",
302 "api/proxy/proxy_api_constants.h",
303 "api/proxy/proxy_api_helpers.cc",
304 "api/proxy/proxy_api_helpers.h",
305 "api/resources_private/resources_private_api.cc",
306 "api/resources_private/resources_private_api.h",
307 "api/runtime/chrome_runtime_api_delegate.cc",
308 "api/runtime/chrome_runtime_api_delegate.h",
Livvie Line0635262019-02-13 00:58:40309 "api/safe_browsing_private/safe_browsing_private_api.cc",
310 "api/safe_browsing_private/safe_browsing_private_api.h",
Jialiu Lin22e9e142018-04-18 06:28:46311 "api/safe_browsing_private/safe_browsing_private_event_router.cc",
312 "api/safe_browsing_private/safe_browsing_private_event_router.h",
313 "api/safe_browsing_private/safe_browsing_private_event_router_factory.cc",
314 "api/safe_browsing_private/safe_browsing_private_event_router_factory.h",
Livvie Line0635262019-02-13 00:58:40315 "api/safe_browsing_private/safe_browsing_util.cc",
316 "api/safe_browsing_private/safe_browsing_util.h",
Brett Wilson75f9cbd2016-08-29 22:19:41317 "api/sessions/session_id.cc",
318 "api/sessions/session_id.h",
319 "api/sessions/sessions_api.cc",
320 "api/sessions/sessions_api.h",
321 "api/settings_overrides/settings_overrides_api.cc",
322 "api/settings_overrides/settings_overrides_api.h",
Alexander Alekseev9ee29442018-01-08 23:42:34323 "api/settings_private/generated_pref.cc",
324 "api/settings_private/generated_pref.h",
325 "api/settings_private/generated_prefs.cc",
326 "api/settings_private/generated_prefs.h",
327 "api/settings_private/generated_prefs_factory.cc",
328 "api/settings_private/generated_prefs_factory.h",
Brett Wilson75f9cbd2016-08-29 22:19:41329 "api/settings_private/prefs_util.cc",
330 "api/settings_private/prefs_util.h",
331 "api/settings_private/settings_private_api.cc",
332 "api/settings_private/settings_private_api.h",
333 "api/settings_private/settings_private_delegate.cc",
334 "api/settings_private/settings_private_delegate.h",
335 "api/settings_private/settings_private_delegate_factory.cc",
336 "api/settings_private/settings_private_delegate_factory.h",
337 "api/settings_private/settings_private_event_router.cc",
338 "api/settings_private/settings_private_event_router.h",
339 "api/settings_private/settings_private_event_router_factory.cc",
340 "api/settings_private/settings_private_event_router_factory.h",
341 "api/signed_in_devices/id_mapping_helper.cc",
342 "api/signed_in_devices/id_mapping_helper.h",
343 "api/signed_in_devices/signed_in_devices_api.cc",
344 "api/signed_in_devices/signed_in_devices_api.h",
345 "api/signed_in_devices/signed_in_devices_manager.cc",
346 "api/signed_in_devices/signed_in_devices_manager.h",
347 "api/spellcheck/spellcheck_api.cc",
348 "api/spellcheck/spellcheck_api.h",
349 "api/storage/managed_value_store_cache.cc",
350 "api/storage/managed_value_store_cache.h",
351 "api/storage/policy_value_store.cc",
352 "api/storage/policy_value_store.h",
353 "api/storage/setting_sync_data.cc",
354 "api/storage/setting_sync_data.h",
355 "api/storage/settings_sync_processor.cc",
356 "api/storage/settings_sync_processor.h",
357 "api/storage/settings_sync_util.cc",
358 "api/storage/settings_sync_util.h",
359 "api/storage/sync_storage_backend.cc",
360 "api/storage/sync_storage_backend.h",
361 "api/storage/sync_value_store_cache.cc",
362 "api/storage/sync_value_store_cache.h",
363 "api/storage/syncable_settings_storage.cc",
364 "api/storage/syncable_settings_storage.h",
365 "api/streams_private/streams_private_api.cc",
366 "api/streams_private/streams_private_api.h",
Devlin Cronin91975c32019-05-01 21:52:48367 "api/system_indicator/system_indicator_api.cc",
Brett Wilson75f9cbd2016-08-29 22:19:41368 "api/system_indicator/system_indicator_api.h",
369 "api/system_indicator/system_indicator_manager.cc",
370 "api/system_indicator/system_indicator_manager.h",
371 "api/system_indicator/system_indicator_manager_factory.cc",
372 "api/system_indicator/system_indicator_manager_factory.h",
373 "api/system_private/system_private_api.cc",
374 "api/system_private/system_private_api.h",
Xiangjun Zhanga8e7bbd42018-08-25 01:48:56375 "api/tab_capture/offscreen_tabs_owner.cc",
376 "api/tab_capture/offscreen_tabs_owner.h",
Brett Wilson75f9cbd2016-08-29 22:19:41377 "api/tab_capture/tab_capture_api.cc",
378 "api/tab_capture/tab_capture_api.h",
379 "api/tab_capture/tab_capture_registry.cc",
380 "api/tab_capture/tab_capture_registry.h",
381 "api/tabs/app_base_window.cc",
382 "api/tabs/app_base_window.h",
383 "api/tabs/app_window_controller.cc",
384 "api/tabs/app_window_controller.h",
385 "api/tabs/tabs_api.cc",
386 "api/tabs/tabs_api.h",
387 "api/tabs/tabs_constants.cc",
388 "api/tabs/tabs_constants.h",
389 "api/tabs/tabs_event_router.cc",
390 "api/tabs/tabs_event_router.h",
Ivan Sandrk0f9f96d22019-03-21 20:58:40391 "api/tabs/tabs_util.h",
392 "api/tabs/tabs_util_chromeos.cc",
Brett Wilson75f9cbd2016-08-29 22:19:41393 "api/tabs/tabs_windows_api.cc",
394 "api/tabs/tabs_windows_api.h",
395 "api/tabs/windows_event_router.cc",
396 "api/tabs/windows_event_router.h",
397 "api/tabs/windows_util.cc",
398 "api/tabs/windows_util.h",
399 "api/top_sites/top_sites_api.cc",
400 "api/top_sites/top_sites_api.h",
401 "api/web_navigation/frame_navigation_state.cc",
402 "api/web_navigation/frame_navigation_state.h",
403 "api/web_navigation/web_navigation_api.cc",
404 "api/web_navigation/web_navigation_api.h",
405 "api/web_navigation/web_navigation_api_constants.cc",
406 "api/web_navigation/web_navigation_api_constants.h",
407 "api/web_navigation/web_navigation_api_helpers.cc",
408 "api/web_navigation/web_navigation_api_helpers.h",
Brett Wilson75f9cbd2016-08-29 22:19:41409 "api/web_view/chrome_web_view_internal_api.cc",
410 "api/web_view/chrome_web_view_internal_api.h",
411 "api/webrtc_audio_private/webrtc_audio_private_api.cc",
412 "api/webrtc_audio_private/webrtc_audio_private_api.h",
413 "api/webrtc_desktop_capture_private/webrtc_desktop_capture_private_api.cc",
414 "api/webrtc_desktop_capture_private/webrtc_desktop_capture_private_api.h",
Patrik Höglundd98b020f2018-05-07 12:17:44415 "api/webrtc_logging_private/webrtc_logging_private_api.cc",
Brett Wilson75f9cbd2016-08-29 22:19:41416 "api/webrtc_logging_private/webrtc_logging_private_api.h",
417 "api/webstore_private/webstore_private_api.cc",
418 "api/webstore_private/webstore_private_api.h",
419 "app_data_migrator.cc",
420 "app_data_migrator.h",
421 "blacklist.cc",
422 "blacklist.h",
michaelpgc0145e62017-03-18 03:00:15423 "blacklist_check.cc",
424 "blacklist_check.h",
Brett Wilson75f9cbd2016-08-29 22:19:41425 "blacklist_factory.cc",
426 "blacklist_factory.h",
427 "blacklist_state_fetcher.cc",
428 "blacklist_state_fetcher.h",
Alexey Baskakov5175c452019-02-20 05:14:12429 "bookmark_app_extension_util.cc",
430 "bookmark_app_extension_util.h",
Brett Wilson75f9cbd2016-08-29 22:19:41431 "bookmark_app_helper.cc",
432 "bookmark_app_helper.h",
Brett Wilson75f9cbd2016-08-29 22:19:41433 "browser_context_keyed_service_factories.cc",
434 "browser_context_keyed_service_factories.h",
435 "browser_extension_window_controller.cc",
436 "browser_extension_window_controller.h",
khmel8c1f6622017-05-11 19:14:50437 "chrome_app_icon.cc",
438 "chrome_app_icon.h",
439 "chrome_app_icon_delegate.h",
440 "chrome_app_icon_loader.cc",
441 "chrome_app_icon_loader.h",
442 "chrome_app_icon_service.cc",
443 "chrome_app_icon_service.h",
444 "chrome_app_icon_service_factory.cc",
445 "chrome_app_icon_service_factory.h",
Brett Wilson75f9cbd2016-08-29 22:19:41446 "chrome_app_sorting.cc",
447 "chrome_app_sorting.h",
448 "chrome_component_extension_resource_manager.cc",
449 "chrome_component_extension_resource_manager.h",
450 "chrome_content_browser_client_extensions_part.cc",
451 "chrome_content_browser_client_extensions_part.h",
452 "chrome_content_verifier_delegate.cc",
453 "chrome_content_verifier_delegate.h",
454 "chrome_extension_api_frame_id_map_helper.cc",
455 "chrome_extension_api_frame_id_map_helper.h",
Devlin Cronin5d43d982018-09-15 00:08:49456 "chrome_extension_browser_constants.cc",
457 "chrome_extension_browser_constants.h",
Brett Wilson75f9cbd2016-08-29 22:19:41458 "chrome_extension_chooser_dialog.h",
459 "chrome_extension_function.cc",
460 "chrome_extension_function.h",
461 "chrome_extension_function_details.cc",
462 "chrome_extension_function_details.h",
463 "chrome_extension_host_delegate.cc",
464 "chrome_extension_host_delegate.h",
465 "chrome_extension_web_contents_observer.cc",
466 "chrome_extension_web_contents_observer.h",
Devlin Croninbc8177d2018-08-23 03:51:09467 "chrome_extensions_browser_api_provider.cc",
468 "chrome_extensions_browser_api_provider.h",
Brett Wilson75f9cbd2016-08-29 22:19:41469 "chrome_extensions_browser_client.cc",
470 "chrome_extensions_browser_client.h",
Ben Goodgerb6169152017-07-22 04:09:43471 "chrome_extensions_interface_registration.cc",
472 "chrome_extensions_interface_registration.h",
steelc8e6ede2016-09-29 00:56:27473 "chrome_kiosk_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41474 "chrome_process_manager_delegate.cc",
475 "chrome_process_manager_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41476 "chrome_url_request_util.cc",
477 "chrome_url_request_util.h",
Jay Civellia0fb48fd2018-03-01 17:58:33478 "chrome_zipfile_installer.cc",
479 "chrome_zipfile_installer.h",
jennyz6298fc52017-01-05 01:33:29480 "clipboard_extension_helper_chromeos.cc",
481 "clipboard_extension_helper_chromeos.h",
Brett Wilson75f9cbd2016-08-29 22:19:41482 "component_extensions_whitelist/whitelist.cc",
483 "component_extensions_whitelist/whitelist.h",
484 "component_loader.cc",
485 "component_loader.h",
Brett Wilson75f9cbd2016-08-29 22:19:41486 "context_menu_matcher.cc",
487 "context_menu_matcher.h",
488 "convert_user_script.cc",
489 "convert_user_script.h",
490 "convert_web_app.cc",
491 "convert_web_app.h",
492 "crx_installer.cc",
493 "crx_installer.h",
494 "data_deleter.cc",
495 "data_deleter.h",
496 "dev_mode_bubble_delegate.cc",
497 "dev_mode_bubble_delegate.h",
juncai43003622016-11-29 20:43:18498 "device_permissions_dialog_controller.cc",
499 "device_permissions_dialog_controller.h",
Brett Wilson75f9cbd2016-08-29 22:19:41500 "devtools_util.cc",
501 "devtools_util.h",
Brett Wilson75f9cbd2016-08-29 22:19:41502 "error_console/error_console.cc",
503 "error_console/error_console.h",
504 "error_console/error_console_factory.cc",
505 "error_console/error_console_factory.h",
506 "event_router_forwarder.cc",
507 "event_router_forwarder.h",
508 "extension_action.cc",
509 "extension_action.h",
510 "extension_action_icon_factory.cc",
511 "extension_action_icon_factory.h",
512 "extension_action_manager.cc",
513 "extension_action_manager.h",
514 "extension_action_runner.cc",
515 "extension_action_runner.h",
516 "extension_action_storage_manager.cc",
517 "extension_action_storage_manager.h",
Brett Wilson75f9cbd2016-08-29 22:19:41518 "extension_assets_manager.cc",
519 "extension_assets_manager.h",
520 "extension_assets_manager_chromeos.cc",
521 "extension_assets_manager_chromeos.h",
522 "extension_commands_global_registry.cc",
523 "extension_commands_global_registry.h",
524 "extension_context_menu_model.cc",
525 "extension_context_menu_model.h",
Randy Smith0a522662017-08-30 19:35:34526 "extension_cookie_notifier.cc",
527 "extension_cookie_notifier.h",
Brett Wilson75f9cbd2016-08-29 22:19:41528 "extension_disabled_ui.cc",
529 "extension_disabled_ui.h",
530 "extension_error_controller.cc",
531 "extension_error_controller.h",
Brett Wilson75f9cbd2016-08-29 22:19:41532 "extension_error_ui.cc",
533 "extension_error_ui.h",
534 "extension_error_ui_default.cc",
535 "extension_error_ui_default.h",
536 "extension_garbage_collector.cc",
537 "extension_garbage_collector.h",
538 "extension_garbage_collector_chromeos.cc",
539 "extension_garbage_collector_chromeos.h",
540 "extension_garbage_collector_factory.cc",
541 "extension_garbage_collector_factory.h",
542 "extension_gcm_app_handler.cc",
543 "extension_gcm_app_handler.h",
544 "extension_icon_manager.cc",
545 "extension_icon_manager.h",
Brett Wilson75f9cbd2016-08-29 22:19:41546 "extension_install_error_menu_item_id_provider.cc",
547 "extension_install_error_menu_item_id_provider.h",
548 "extension_install_prompt.cc",
549 "extension_install_prompt.h",
550 "extension_install_prompt_show_params.cc",
551 "extension_install_prompt_show_params.h",
Brett Wilson75f9cbd2016-08-29 22:19:41552 "extension_keybinding_registry.cc",
553 "extension_keybinding_registry.h",
554 "extension_management.cc",
555 "extension_management.h",
556 "extension_management_constants.cc",
557 "extension_management_constants.h",
558 "extension_management_internal.cc",
559 "extension_management_internal.h",
560 "extension_message_bubble_controller.cc",
561 "extension_message_bubble_controller.h",
562 "extension_migrator.cc",
563 "extension_migrator.h",
Brett Wilson75f9cbd2016-08-29 22:19:41564 "extension_service.cc",
565 "extension_service.h",
566 "extension_special_storage_policy.cc",
567 "extension_special_storage_policy.h",
Brett Wilson75f9cbd2016-08-29 22:19:41568 "extension_sync_data.cc",
569 "extension_sync_data.h",
570 "extension_sync_service.cc",
571 "extension_sync_service.h",
572 "extension_sync_service_factory.cc",
573 "extension_sync_service_factory.h",
574 "extension_system_factory.cc",
575 "extension_system_factory.h",
576 "extension_system_impl.cc",
577 "extension_system_impl.h",
578 "extension_tab_util.cc",
579 "extension_tab_util.h",
580 "extension_ui_util.cc",
581 "extension_ui_util.h",
582 "extension_uninstall_dialog.cc",
583 "extension_uninstall_dialog.h",
584 "extension_util.cc",
585 "extension_util.h",
wychen589d05e2017-03-31 00:06:36586 "extension_view.h",
Brett Wilson75f9cbd2016-08-29 22:19:41587 "extension_view_host.cc",
588 "extension_view_host.h",
589 "extension_view_host_factory.cc",
590 "extension_view_host_factory.h",
591 "extension_web_ui.cc",
592 "extension_web_ui.h",
593 "extension_web_ui_override_registrar.cc",
594 "extension_web_ui_override_registrar.h",
595 "extension_webkit_preferences.cc",
596 "extension_webkit_preferences.h",
597 "external_component_loader.cc",
598 "external_component_loader.h",
599 "external_install_error.cc",
600 "external_install_error.h",
probergebc529d62018-04-24 14:48:26601 "external_install_error_constants.cc",
602 "external_install_error_constants.h",
Brett Wilson75f9cbd2016-08-29 22:19:41603 "external_install_manager.cc",
604 "external_install_manager.h",
605 "external_loader.cc",
606 "external_loader.h",
607 "external_policy_loader.cc",
608 "external_policy_loader.h",
609 "external_pref_loader.cc",
610 "external_pref_loader.h",
611 "external_provider_impl.cc",
612 "external_provider_impl.h",
613 "external_registry_loader_win.cc",
614 "external_registry_loader_win.h",
Oleg Davydovc00866812019-04-04 10:47:27615 "forced_extensions/installation_reporter.cc",
616 "forced_extensions/installation_reporter.h",
Sergey Poromov0360b9e72018-04-19 17:37:29617 "forced_extensions/installation_tracker.cc",
618 "forced_extensions/installation_tracker.h",
Brett Wilson75f9cbd2016-08-29 22:19:41619 "global_shortcut_listener.cc",
620 "global_shortcut_listener.h",
Brett Wilson75f9cbd2016-08-29 22:19:41621 "global_shortcut_listener_mac.h",
622 "global_shortcut_listener_mac.mm",
Brett Wilson75f9cbd2016-08-29 22:19:41623 "global_shortcut_listener_win.cc",
624 "global_shortcut_listener_win.h",
Brett Wilson75f9cbd2016-08-29 22:19:41625 "install_gate.h",
626 "install_observer.cc",
627 "install_observer.h",
628 "install_signer.cc",
629 "install_signer.h",
630 "install_tracker.cc",
631 "install_tracker.h",
632 "install_tracker_factory.cc",
633 "install_tracker_factory.h",
634 "install_verifier.cc",
635 "install_verifier.h",
636 "install_verifier_factory.cc",
637 "install_verifier_factory.h",
638 "installed_loader.cc",
639 "installed_loader.h",
640 "launch_util.cc",
641 "launch_util.h",
Devlin Cronin9722a722017-12-16 03:35:10642 "load_error_reporter.cc",
643 "load_error_reporter.h",
Brett Wilson75f9cbd2016-08-29 22:19:41644 "menu_manager.cc",
645 "menu_manager.h",
646 "menu_manager_factory.cc",
647 "menu_manager_factory.h",
648 "navigation_observer.cc",
649 "navigation_observer.h",
650 "ntp_overridden_bubble_delegate.cc",
651 "ntp_overridden_bubble_delegate.h",
652 "pack_extension_job.cc",
653 "pack_extension_job.h",
Brett Wilson75f9cbd2016-08-29 22:19:41654 "pending_extension_info.cc",
655 "pending_extension_info.h",
656 "pending_extension_manager.cc",
657 "pending_extension_manager.h",
658 "permissions_based_management_policy_provider.cc",
659 "permissions_based_management_policy_provider.h",
660 "permissions_updater.cc",
661 "permissions_updater.h",
662 "plugin_manager.cc",
663 "plugin_manager.h",
lazyboy77214d3c2017-04-04 16:46:12664 "policy_extension_reinstaller.cc",
665 "policy_extension_reinstaller.h",
Brett Wilson75f9cbd2016-08-29 22:19:41666 "policy_handlers.cc",
667 "policy_handlers.h",
668 "proxy_overridden_bubble_delegate.cc",
669 "proxy_overridden_bubble_delegate.h",
670 "scripting_permissions_modifier.cc",
671 "scripting_permissions_modifier.h",
672 "settings_api_bubble_delegate.cc",
673 "settings_api_bubble_delegate.h",
674 "settings_api_helpers.cc",
675 "settings_api_helpers.h",
676 "shared_module_service.cc",
677 "shared_module_service.h",
Brett Wilson75f9cbd2016-08-29 22:19:41678 "standard_management_policy_provider.cc",
679 "standard_management_policy_provider.h",
680 "startup_helper.cc",
681 "startup_helper.h",
682 "state_store_notification_observer.cc",
683 "state_store_notification_observer.h",
684 "suspicious_extension_bubble_delegate.cc",
685 "suspicious_extension_bubble_delegate.h",
686 "sync_bundle.cc",
687 "sync_bundle.h",
Steven Bennettseb2190042018-04-12 16:20:01688 "system_display/display_info_provider_chromeos.cc",
689 "system_display/display_info_provider_chromeos.h",
690 "system_display/display_info_provider_mac.cc",
691 "system_display/display_info_provider_mac.h",
692 "system_display/display_info_provider_win.cc",
693 "system_display/display_info_provider_win.h",
Brett Wilson75f9cbd2016-08-29 22:19:41694 "tab_helper.cc",
695 "tab_helper.h",
696 "theme_installed_infobar_delegate.cc",
697 "theme_installed_infobar_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41698 "unpacked_installer.cc",
699 "unpacked_installer.h",
700 "update_install_gate.cc",
701 "update_install_gate.h",
702 "updater/chrome_extension_downloader_factory.cc",
703 "updater/chrome_extension_downloader_factory.h",
704 "updater/chrome_update_client_config.cc",
705 "updater/chrome_update_client_config.h",
Minh X. Nguyen55afbe42018-05-18 22:04:26706 "updater/extension_update_client_command_line_config_policy.cc",
707 "updater/extension_update_client_command_line_config_policy.h",
Brett Wilson75f9cbd2016-08-29 22:19:41708 "updater/extension_updater.cc",
709 "updater/extension_updater.h",
Minh X. Nguyen55afbe42018-05-18 22:04:26710 "updater/extension_updater_switches.cc",
711 "updater/extension_updater_switches.h",
Brett Wilson75f9cbd2016-08-29 22:19:41712 "user_script_listener.cc",
713 "user_script_listener.h",
714 "warning_badge_service.cc",
715 "warning_badge_service.h",
716 "warning_badge_service_factory.cc",
717 "warning_badge_service_factory.h",
718 "webstore_data_fetcher.cc",
719 "webstore_data_fetcher.h",
720 "webstore_data_fetcher_delegate.cc",
721 "webstore_data_fetcher_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41722 "webstore_install_helper.cc",
723 "webstore_install_helper.h",
724 "webstore_install_with_prompt.cc",
725 "webstore_install_with_prompt.h",
726 "webstore_installer.cc",
727 "webstore_installer.h",
728 "webstore_reinstaller.cc",
729 "webstore_reinstaller.h",
730 "webstore_standalone_installer.cc",
731 "webstore_standalone_installer.h",
Brett Wilson75f9cbd2016-08-29 22:19:41732 "window_controller.cc",
733 "window_controller.h",
734 "window_controller_list.cc",
735 "window_controller_list.h",
736 "window_controller_list_observer.h",
Brett Wilson75f9cbd2016-08-29 22:19:41737 ]
[email protected]94e77192014-08-12 03:00:02738
rsesek99679aa2016-06-28 21:24:17739 configs += [
740 "//build/config:precompiled_headers",
741 "//build/config/compiler:wexit_time_destructors",
742 ]
[email protected]fb2799e2014-07-15 23:50:29743 defines = []
744
Daniel Rubery2d36b2f12019-01-26 00:34:19745 allow_circular_includes_from = [
Daniel Bratell6fec1742019-03-27 09:16:20746 # Lots of APIs use headers from the list above.
747 "//chrome/browser/extensions/api:api_registration",
748
Daniel Rubery2d36b2f12019-01-26 00:34:19749 # TODO(loyso): Remove this circular dependency. http://crbug.com/876576.
750 "//chrome/browser/web_applications/extensions",
751
752 # TODO(crbug/925153): Remove this circular dependency.
753 "//chrome/browser/safe_browsing",
754 ]
Alexey Baskakov3f6c31f02018-08-23 00:28:09755
[email protected]fb2799e2014-07-15 23:50:29756 # Since browser and browser_extensions actually depend on each other,
757 # we must omit the dependency from browser_extensions to browser.
758 # However, this means browser_extensions and browser should more or less
759 # have the same dependencies. Once browser_extensions is untangled from
760 # browser, then we can clean up these dependencies.
Brett Wilsone53895272014-09-23 23:41:46761 public_deps = [
Devlin Cronin07997f72018-07-18 01:30:53762 "//chrome/browser/extensions/api:api_registration",
Brett Wilsone53895272014-09-23 23:41:46763 "//chrome/common/extensions/api",
Greg Thompsone40723a2018-06-27 08:04:46764 "//components/safe_browsing:csd_proto",
Tim Volodinee45938472017-09-21 10:08:22765 "//components/safe_browsing/db:util",
Brett Wilsone53895272014-09-23 23:41:46766 "//content/public/browser",
767 ]
[email protected]fb2799e2014-07-15 23:50:29768 deps = [
michaelpgdbdcdcc2017-04-06 01:40:56769 "//apps",
[email protected]fb2799e2014-07-15 23:50:29770 "//chrome:extra_resources",
771 "//chrome:resources",
772 "//chrome:strings",
brettw98a87012016-07-26 22:15:45773 "//chrome/app:command_ids",
[email protected]fb2799e2014-07-15 23:50:29774 "//chrome/app/resources:platform_locale_settings",
thestigab068272016-08-30 18:58:55775 "//chrome/app/theme:chrome_unscaled_resources",
[email protected]fb2799e2014-07-15 23:50:29776 "//chrome/app/theme:theme_resources",
estadebd859082017-02-24 21:53:43777 "//chrome/app/vector_icons",
David Bertoni3cd201f72018-11-15 21:37:23778 "//chrome/browser:theme_properties",
[email protected]55699f392014-08-20 22:16:30779 "//chrome/browser/devtools",
Devlin Cronin8c5174492018-07-02 20:01:41780 "//chrome/browser/engagement:mojo_bindings",
thakis678822e2017-04-20 17:20:34781 "//chrome/browser/media/router",
zhaobincbc843e2017-03-23 22:21:57782 "//chrome/browser/media/router/discovery",
Devlin Cronin8c5174492018-07-02 20:01:41783 "//chrome/browser/resource_coordinator:mojo_bindings",
yzshena3471062017-06-21 01:56:15784 "//chrome/browser/safe_browsing",
Nigel Tao6618fc12018-07-27 01:22:09785 "//chrome/browser/web_applications/components",
Alexey Baskakovd538ba32018-07-12 01:36:47786 "//chrome/browser/web_applications/extensions",
[email protected]fb2799e2014-07-15 23:50:29787 "//chrome/common",
rdevlin.cronin5c6849832016-07-25 18:04:45788 "//chrome/common/extensions/api:extensions_features",
[email protected]fb2799e2014-07-15 23:50:29789 "//chrome/common/safe_browsing:proto",
Ken Rockot2ad4db32018-02-10 16:24:10790 "//chrome/services/removable_storage_writer/public/mojom",
brettwafa8f542016-08-24 05:16:24791 "//components/app_modal",
brettw98a87012016-07-26 22:15:45792 "//components/autofill/content/browser",
brettwafa8f542016-08-24 05:16:24793 "//components/bookmarks/browser",
794 "//components/bookmarks/managed",
maxbogue26f40222016-09-16 20:22:18795 "//components/browser_sync",
brettwafa8f542016-08-24 05:16:24796 "//components/browsing_data/core",
brettw98a87012016-07-26 22:15:45797 "//components/bubble",
798 "//components/content_settings/core/browser",
799 "//components/crx_file",
brettwafa8f542016-08-24 05:16:24800 "//components/data_reduction_proxy/core/browser",
tfarinac439a452015-05-29 00:35:36801 "//components/dom_distiller/core",
Xing Liu5c41b0a2017-07-14 19:16:46802 "//components/download/content/public",
Min Qineb78b7a2018-02-03 00:43:16803 "//components/download/public/common:public",
stevenjbffcb7a62016-11-04 21:56:57804 "//components/drive",
brettw98a87012016-07-26 22:15:45805 "//components/favicon/content",
brettwafa8f542016-08-24 05:16:24806 "//components/feedback",
brettw98a87012016-07-26 22:15:45807 "//components/gcm_driver",
brettwafa8f542016-08-24 05:16:24808 "//components/guest_view/browser",
809 "//components/history/core/browser",
brettw98a87012016-07-26 22:15:45810 "//components/infobars/core",
811 "//components/keyed_service/content",
Claudio Magnie0a80bb2018-01-31 02:52:58812 "//components/language/core/browser",
813 "//components/language/core/common",
Scott Violet9ae82892018-03-01 18:38:12814 "//components/nacl/common:buildflags",
brettwafa8f542016-08-24 05:16:24815 "//components/navigation_interception",
816 "//components/net_log",
817 "//components/omnibox/browser",
[email protected]fb2799e2014-07-15 23:50:29818 "//components/onc",
brettwafa8f542016-08-24 05:16:24819 "//components/password_manager/core/browser",
Mathieu Perreaultcacb85e2018-06-06 20:40:13820 "//components/payments/core",
brettwafa8f542016-08-24 05:16:24821 "//components/pdf/browser",
brettw083632b2016-08-25 20:24:46822 "//components/policy:generated",
823 "//components/policy/core/browser",
brettw98a87012016-07-26 22:15:45824 "//components/pref_registry",
brettw98a87012016-07-26 22:15:45825 "//components/proxy_config",
brettwafa8f542016-08-24 05:16:24826 "//components/rappor",
sdefresne1802d1392016-02-03 09:53:08827 "//components/resources",
Jialiu Linfc668ec12018-01-31 01:28:44828 "//components/safe_browsing:csd_proto",
829 "//components/safe_browsing:features",
timvolodine89cf11712017-05-15 18:05:07830 "//components/safe_browsing/common:safe_browsing_prefs",
Tim Volodinee45938472017-09-21 10:08:22831 "//components/safe_browsing/db:database_manager",
brettw98a87012016-07-26 22:15:45832 "//components/search_engines",
Colin Blundell6a897c72018-03-16 11:14:14833 "//components/services/unzip/public/cpp",
brettw98a87012016-07-26 22:15:45834 "//components/sessions",
835 "//components/signin/core/browser",
brettwafa8f542016-08-24 05:16:24836 "//components/spellcheck/browser",
837 "//components/storage_monitor",
[email protected]fb2799e2014-07-15 23:50:29838 "//components/strings",
Max Boguefef332d2016-07-28 22:09:09839 "//components/sync",
maxbogueea16ff412016-10-28 16:35:29840 "//components/sync_preferences",
brettwafa8f542016-08-24 05:16:24841 "//components/sync_sessions",
Patrick Monette8fdb106e2019-06-12 22:41:55842 "//components/translate/content/browser",
brettwafa8f542016-08-24 05:16:24843 "//components/undo",
Thomas Tangld2d27a42018-06-20 18:22:09844 "//components/unified_consent",
sorin39eab2f2015-01-06 01:09:08845 "//components/update_client",
Joshua Pawlicki30ef6a12019-04-10 13:34:00846 "//components/update_client:common_impl",
[email protected]fb2799e2014-07-15 23:50:29847 "//components/url_matcher",
brettwafa8f542016-08-24 05:16:24848 "//components/user_prefs",
Evan Stade619a89be2017-07-17 20:24:26849 "//components/vector_icons",
brettw98a87012016-07-26 22:15:45850 "//components/web_modal",
brettwafa8f542016-08-24 05:16:24851 "//components/zoom",
[email protected]a9ca8d52014-08-22 10:21:08852 "//content/app/resources",
[email protected]fb2799e2014-07-15 23:50:29853 "//content/public/common",
854 "//crypto",
[email protected]55699f392014-08-20 22:16:30855 "//device/bluetooth",
Casey Piperb4213422018-11-21 00:09:54856 "//device/fido",
agrieved7a71c882015-11-20 19:53:28857 "//extensions:extensions_resources",
[email protected]55699f392014-08-20 22:16:30858 "//extensions/browser",
Devlin Croninbc8177d2018-08-23 03:51:09859 "//extensions/browser:core_api_provider",
Scott Violetc8240b02018-03-08 22:03:59860 "//extensions/buildflags",
noelc8702c42017-03-16 08:51:19861 "//extensions/common",
[email protected]fb2799e2014-07-15 23:50:29862 "//extensions/common/api",
863 "//extensions/strings",
David Roger1f0a8bf72017-09-01 12:44:45864 "//google_apis",
Scott Violeta35f9a42018-03-22 22:00:44865 "//media:media_buildflags",
[email protected]fb2799e2014-07-15 23:50:29866 "//net",
Scott Violet02e38b92018-03-27 23:42:14867 "//ppapi/buildflags",
Scott Violet318a55f2018-03-30 19:08:19868 "//printing/buildflags",
Scott Violeta5f7ba12018-04-02 22:03:40869 "//rlz/buildflags",
Olga Sharonovaa234a0a2018-02-16 11:12:23870 "//services/audio/public/cpp",
Jay Civelliab99a9c2017-10-13 17:48:23871 "//services/data_decoder/public/cpp",
Ke He31d0bb02018-02-24 07:16:24872 "//services/device/public/mojom",
Sergio Villar Seninb2020d32018-10-17 17:04:37873 "//services/identity/public/cpp",
Colin Blundellde1ec682018-02-06 11:13:36874 "//services/identity/public/mojom",
Ken Rockot54311e62018-02-10 19:01:52875 "//services/network/public/mojom",
blundellb85bd3b2017-03-24 13:56:27876 "//services/service_manager/public/cpp",
Ken Rockot543f5e32018-02-04 02:13:50877 "//services/service_manager/public/mojom",
Wei Lee799508032019-02-20 10:35:58878 "//services/video_capture/public/mojom:constants",
[email protected]fb2799e2014-07-15 23:50:29879 "//skia",
brettwafa8f542016-08-24 05:16:24880 "//sql",
agrieved7a71c882015-11-20 19:53:28881 "//storage/browser",
pilgrimf55d19fc2014-09-04 00:05:24882 "//storage/common",
Blink Reformata30d4232018-04-07 15:31:06883 "//third_party/blink/public:resources",
884 "//third_party/blink/public:scaled_resources",
[email protected]fb2799e2014-07-15 23:50:29885 "//third_party/cacheinvalidation",
886 "//third_party/icu",
887 "//third_party/leveldatabase",
khorimotoc067a1dc2015-05-06 02:38:57888 "//third_party/libaddressinput:util",
[email protected]fb2799e2014-07-15 23:50:29889 "//third_party/re2",
Victor Costand50644d2018-07-23 20:42:47890 "//third_party/sqlite",
Sam McNally20b9be02019-01-30 02:29:00891 "//third_party/zlib/google:compression_utils",
manzagop55aebef2017-06-21 14:38:48892 "//third_party/zlib/google:zip",
Dominic Mazzonidcef1b732018-01-26 17:57:04893 "//ui/accessibility:ax_enums_mojo",
[email protected]fb2799e2014-07-15 23:50:29894 "//ui/base",
Maksim Sisova33072d22019-01-24 15:44:25895 "//ui/base/clipboard",
spang1c36fac2015-02-05 19:55:12896 "//ui/base/ime",
kylechar731f85f92016-12-01 20:50:46897 "//ui/display/manager",
[email protected]fb2799e2014-07-15 23:50:29898 "//ui/gfx",
899 "//ui/gfx/geometry",
Evan Stade353058c2017-09-08 21:31:13900 "//ui/message_center",
901 "//ui/message_center/public/cpp",
brettw98a87012016-07-26 22:15:45902 "//ui/native_theme",
[email protected]fb2799e2014-07-15 23:50:29903 "//ui/resources",
brettwafa8f542016-08-24 05:16:24904 "//ui/shell_dialogs",
[email protected]fb2799e2014-07-15 23:50:29905 "//ui/strings",
906 "//url",
[email protected]fb2799e2014-07-15 23:50:29907 ]
908
[email protected]fb2799e2014-07-15 23:50:29909 if (is_chromeos) {
Brett Wilson75f9cbd2016-08-29 22:19:41910 sources += [
Brett Wilson75f9cbd2016-08-29 22:19:41911 "api/certificate_provider/certificate_provider_api.cc",
912 "api/certificate_provider/certificate_provider_api.h",
913 "api/enterprise_device_attributes/enterprise_device_attributes_api.cc",
914 "api/enterprise_device_attributes/enterprise_device_attributes_api.h",
915 "api/enterprise_platform_keys/enterprise_platform_keys_api.cc",
916 "api/enterprise_platform_keys/enterprise_platform_keys_api.h",
917 "api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc",
918 "api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h",
michaelpgc1c49322017-06-09 18:22:37919 "api/file_system/consent_provider.cc",
920 "api/file_system/consent_provider.h",
Brett Wilson75f9cbd2016-08-29 22:19:41921 "api/file_system/request_file_system_notification.cc",
922 "api/file_system/request_file_system_notification.h",
923 "api/input_ime/input_ime_api.cc",
924 "api/input_ime/input_ime_api.h",
925 "api/input_ime/input_ime_api_chromeos.cc",
926 "api/input_ime/input_ime_api_chromeos.h",
927 "api/input_ime/input_ime_event_router_base.cc",
928 "api/input_ime/input_ime_event_router_base.h",
Luke Sorenson8daa8e622017-11-29 05:51:25929 "api/media_perception_private/media_perception_api_delegate_chromeos.cc",
930 "api/media_perception_private/media_perception_api_delegate_chromeos.h",
Brett Wilson75f9cbd2016-08-29 22:19:41931 "api/messaging/native_message_host_chromeos.cc",
tbarzicd2ff1ae2c2017-03-16 18:04:42932 "api/networking_cast_private/chrome_networking_cast_private_delegate.cc",
933 "api/networking_cast_private/chrome_networking_cast_private_delegate.h",
934 "api/networking_cast_private/networking_cast_private_api.cc",
935 "api/networking_cast_private/networking_cast_private_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:41936 "api/platform_keys/platform_keys_api.cc",
937 "api/platform_keys/platform_keys_api.h",
938 "api/platform_keys/verify_trust_api.cc",
939 "api/platform_keys/verify_trust_api.h",
Wenzhao Zangde3a07f2018-01-18 09:33:26940 "api/settings_private/chromeos_resolve_time_zone_by_geolocation_method_short.cc",
941 "api/settings_private/chromeos_resolve_time_zone_by_geolocation_method_short.h",
942 "api/settings_private/chromeos_resolve_time_zone_by_geolocation_on_off.cc",
943 "api/settings_private/chromeos_resolve_time_zone_by_geolocation_on_off.h",
944 "api/settings_private/generated_time_zone_pref_base.cc",
945 "api/settings_private/generated_time_zone_pref_base.h",
Brett Wilson75f9cbd2016-08-29 22:19:41946 "api/terminal/terminal_extension_helper.cc",
947 "api/terminal/terminal_extension_helper.h",
948 "api/terminal/terminal_private_api.cc",
949 "api/terminal/terminal_private_api.h",
950 "api/virtual_keyboard_private/chrome_virtual_keyboard_delegate.cc",
951 "api/virtual_keyboard_private/chrome_virtual_keyboard_delegate.h",
952 "api/vpn_provider/vpn_service_factory.cc",
Lei Zhang49555f12017-11-30 01:30:47953 "chrome_kiosk_delegate_chromeos.cc",
Brett Wilson75f9cbd2016-08-29 22:19:41954 "updater/chromeos_extension_cache_delegate.cc",
955 "updater/chromeos_extension_cache_delegate.h",
Brett Wilson75f9cbd2016-08-29 22:19:41956 "updater/extension_cache_impl.cc",
957 "updater/extension_cache_impl.h",
958 "updater/local_extension_cache.cc",
959 "updater/local_extension_cache.h",
960 ]
961
mbjorgea12e5a52016-05-31 22:15:17962 if (use_dbus) {
963 configs += [ "//build/config/linux/dbus" ]
964 }
[email protected]fb2799e2014-07-15 23:50:29965 deps += [
Scott Violet62703df2019-05-09 17:29:42966 "//ash",
Darren Shen50e14952019-05-14 03:40:43967 "//ash/keyboard/ui:resources_grit_grit",
Scott Violetb84f2292017-11-20 18:06:32968 "//ash/public/cpp",
Wei Leef68990b2019-02-13 04:55:51969 "//chrome/browser/resources/chromeos/camera:chrome_camera_app",
Steven Bennetts9c4d4c52019-04-16 17:15:26970 "//chromeos",
Steven Bennettsc5f108132019-01-09 20:20:34971 "//chromeos/attestation",
James Hawkins813085e2018-03-30 18:56:41972 "//chromeos/components/proximity_auth",
Steven Bennetts9c4d4c52019-04-16 17:15:26973 "//chromeos/constants",
Steven Bennettsd7bd9ce2019-01-04 17:47:58974 "//chromeos/cryptohome",
Steven Bennettsa992e432019-01-11 00:21:12975 "//chromeos/dbus",
Steven Bennettsdcf66c52019-03-26 01:23:25976 "//chromeos/dbus/cryptohome",
Steven Bennettsc1f0ff92019-04-08 19:04:00977 "//chromeos/dbus/power",
Steven Bennetts0ac86392019-01-09 19:05:51978 "//chromeos/disks",
Steven Bennetts2e6eaf72019-01-04 16:52:39979 "//chromeos/login/login_state",
Steven Bennetts8e97939f2019-01-11 16:11:31980 "//chromeos/network",
Leo Zhang84ce09e92018-08-25 01:55:36981 "//chromeos/services/ime/public/mojom",
Luke Sorenson39dc3462018-10-03 19:12:51982 "//chromeos/services/machine_learning/public/cpp",
983 "//chromeos/services/machine_learning/public/mojom",
984 "//chromeos/services/media_perception/public/mojom",
Steven Bennetts036b9b62019-01-11 17:47:57985 "//chromeos/settings",
Steven Bennetts1c8956002019-04-16 15:42:47986 "//chromeos/system",
Steven Bennetts1b9e54bf2019-01-09 23:09:37987 "//chromeos/tpm",
Ahmed Fakhry9ef29e042017-09-01 16:32:00988 "//components/arc",
brettwafa8f542016-08-24 05:16:24989 "//components/constrained_window",
990 "//components/drive",
991 "//components/user_manager",
Wei Lee7fa7c7c2019-03-21 06:10:10992 "//media/capture:capture_lib",
Wei Lee799508032019-02-20 10:35:58993 "//media/capture/video/chromeos/mojo:cros_camera",
jamiewalchcf2cc682017-05-06 00:51:47994 "//remoting/base",
brettwafa8f542016-08-24 05:16:24995 "//remoting/host",
Denis Kuznetsovcfd11742018-08-14 15:56:42996 "//remoting/host/it2me:chrome_os_host",
agrieved7a71c882015-11-20 19:53:28997 "//third_party/protobuf:protobuf_lite",
Michael Spang539c6f32019-04-03 19:08:52998 "//ui/base/ime/chromeos",
brettwafa8f542016-08-24 05:16:24999 "//ui/chromeos",
penghuange5df2822017-03-16 22:54:361000 "//ui/chromeos/events",
brettwafa8f542016-08-24 05:16:241001 "//ui/file_manager",
Elliot Glaysher71afb0ec2017-09-19 21:51:331002 "//ui/ozone",
1003 "//ui/views",
[email protected]fb2799e2014-07-15 23:50:291004 ]
Bruno Santos5da231b2019-05-03 13:12:371005 if (enable_kiosk_next) {
1006 defines += [ "KIOSK_NEXT" ]
1007 deps += [ "//chrome/browser/chromeos/kiosk_next_home/mojom" ]
1008 if (is_chrome_branded) {
1009 deps += [ "//chrome/browser/resources:kiosk_next_internal_resources" ]
1010 }
1011 }
Yuki Awanof7fa8b02017-07-11 11:52:281012 if (enable_nacl) {
1013 deps += [ "//chrome/browser/resources/chromeos/zip_archiver" ]
1014 }
[email protected]fb2799e2014-07-15 23:50:291015 } else {
1016 sources += [
Owen Min614a8262018-04-13 12:02:021017 "api/enterprise_reporting_private/chrome_desktop_report_request_helper.cc",
1018 "api/enterprise_reporting_private/chrome_desktop_report_request_helper.h",
Owen Minfdada01a2018-04-13 04:36:231019 "api/enterprise_reporting_private/enterprise_reporting_private_api.cc",
1020 "api/enterprise_reporting_private/enterprise_reporting_private_api.h",
Nicolas Ouellet-Payeur7f9a63ef2018-08-28 17:26:061021 "api/enterprise_reporting_private/prefs.cc",
1022 "api/enterprise_reporting_private/prefs.h",
Brett Wilson75f9cbd2016-08-29 22:19:411023 "api/image_writer_private/operation_nonchromeos.cc",
1024 "api/image_writer_private/removable_storage_provider_linux.cc",
1025 "api/messaging/native_message_process_host.cc",
1026 "api/messaging/native_message_process_host.h",
1027 "api/messaging/native_process_launcher.cc",
1028 "api/messaging/native_process_launcher.h",
Brett Wilson75f9cbd2016-08-29 22:19:411029 "api/messaging/native_process_launcher_win.cc",
Ivan Sandrk0f9f96d22019-03-21 20:58:401030 "api/tabs/tabs_util.cc",
Lei Zhang49555f12017-11-30 01:30:471031 "chrome_kiosk_delegate.cc",
[email protected]fb2799e2014-07-15 23:50:291032 "default_apps.cc",
Brett Wilson75f9cbd2016-08-29 22:19:411033 "default_apps.h",
[email protected]fb2799e2014-07-15 23:50:291034 ]
Fabrice de Gans-Riberi810b741f2018-04-20 21:00:491035 if (is_posix) {
1036 sources += [ "api/messaging/native_process_launcher_posix.cc" ]
1037 }
[email protected]fb2799e2014-07-15 23:50:291038 }
1039
kylechar0acbe052017-08-21 21:10:241040 if (use_x11) {
1041 sources += [
thestig0e3086f2016-08-04 04:44:161042 "global_shortcut_listener_x11.cc",
1043 "global_shortcut_listener_x11.h",
paulmeyer27b328b2015-06-17 21:26:121044 ]
kylechar0acbe052017-08-21 21:10:241045 } else if (use_ozone) {
1046 sources += [
1047 "global_shortcut_listener_ozone.cc",
1048 "global_shortcut_listener_ozone.h",
1049 ]
paulmeyer27b328b2015-06-17 21:26:121050 }
1051
[email protected]94e77192014-08-12 03:00:021052 if (is_linux) {
rchfd3053f22017-06-08 22:34:151053 deps += [ "//third_party/fontconfig" ]
mbjorgea12e5a52016-05-31 22:15:171054
1055 if (use_dbus) {
1056 deps += [ "//dbus" ]
1057 }
brettwafa8f542016-08-24 05:16:241058 if (use_udev) {
1059 deps += [ "//device/udev_linux" ]
1060 }
mbjorgea12e5a52016-05-31 22:15:171061
[email protected]94e77192014-08-12 03:00:021062 if (use_x11) {
scottmga266f952014-12-03 20:47:101063 configs += [ "//build/config/linux:x11" ]
[email protected]94e77192014-08-12 03:00:021064 deps += [
Brett Wilson4263a742014-09-10 00:02:241065 "//ui/events:events_base",
[email protected]94e77192014-08-12 03:00:021066 "//ui/events/platform",
1067 "//ui/events/platform/x11",
1068 ]
1069 }
[email protected]94e77192014-08-12 03:00:021070 }
[email protected]fb2799e2014-07-15 23:50:291071
brettwee486bb2016-12-08 17:56:341072 if (!is_android) {
1073 sources += [
1074 "api/processes/processes_api.cc",
1075 "api/processes/processes_api.h",
1076 ]
brettwafa8f542016-08-24 05:16:241077 }
1078
[email protected]94e77192014-08-12 03:00:021079 if (is_win || is_mac) {
Brett Wilson75f9cbd2016-08-29 22:19:411080 sources += [
tbarzicd2ff1ae2c2017-03-16 18:04:421081 "api/networking_cast_private/chrome_networking_cast_private_delegate.cc",
1082 "api/networking_cast_private/chrome_networking_cast_private_delegate.h",
1083 "api/networking_cast_private/networking_cast_private_api.cc",
1084 "api/networking_cast_private/networking_cast_private_api.h",
Brett Wilson75f9cbd2016-08-29 22:19:411085 ]
[email protected]94e77192014-08-12 03:00:021086 deps += [ "//components/wifi" ]
zentaroc0f330b2014-10-09 19:44:371087 }
1088
tfarinae3f8d5232016-10-30 11:32:051089 if (is_win || is_mac || is_chromeos) {
1090 sources += [
1091 "api/networking_private/networking_private_crypto.cc",
1092 "api/networking_private/networking_private_crypto.h",
1093 ]
1094
1095 # networking_private_crypto.cc depends on boringssl.
1096 public_deps += [ "//third_party/boringssl" ]
1097 }
1098
[email protected]94e77192014-08-12 03:00:021099 if (is_win) {
1100 deps += [
Ken Rockotfba9e742018-02-10 16:36:201101 "//chrome/services/wifi_util_win/public/mojom",
[email protected]94e77192014-08-12 03:00:021102 "//third_party/iaccessible2",
1103 "//third_party/isimpledom",
1104 ]
Donna Wuee09a342019-05-13 02:56:181105 libs = [ "setupapi.lib" ]
brettw22488ad2015-05-02 00:42:591106 } else if (use_aura && !is_chromeos) {
[email protected]723b76b2014-08-21 23:48:591107 sources += [
Steven Bennettseb2190042018-04-12 16:20:011108 "system_display/display_info_provider_aura.cc",
1109 "system_display/display_info_provider_aura.h",
[email protected]723b76b2014-08-21 23:48:591110 ]
[email protected]94e77192014-08-12 03:00:021111 }
[email protected]fb2799e2014-07-15 23:50:291112
Brett Wilson75f9cbd2016-08-29 22:19:411113 if (is_win || (is_linux && !is_chromeos)) {
1114 sources += [
1115 "api/input_ime/input_ime_api.cc",
1116 "api/input_ime/input_ime_api.h",
1117 "api/input_ime/input_ime_api_nonchromeos.cc",
1118 "api/input_ime/input_ime_api_nonchromeos.h",
1119 "api/input_ime/input_ime_event_router_base.cc",
1120 "api/input_ime/input_ime_event_router_base.h",
1121 ]
1122 }
1123
Lei Zhang49555f12017-11-30 01:30:471124 if (enable_print_preview && !is_chromeos) {
1125 sources += [
1126 "api/cloud_print_private/cloud_print_private_api.cc",
1127 "api/cloud_print_private/cloud_print_private_api.h",
1128 ]
Sam McNally9015c1ff2018-01-29 18:55:591129 deps += [ "//chrome/common:service_process_mojom" ]
Lei Zhang49555f12017-11-30 01:30:471130 }
1131
thestig0e3086f2016-08-04 04:44:161132 if (enable_service_discovery) {
Brett Wilson75f9cbd2016-08-29 22:19:411133 sources += [
Brett Wilson75f9cbd2016-08-29 22:19:411134 "api/mdns/mdns_api.cc",
1135 "api/mdns/mdns_api.h",
1136 ]
thestig0e3086f2016-08-04 04:44:161137 }
1138
Lei Zhangdffec592018-11-16 19:28:071139 if (enable_pdf) {
1140 deps += [
1141 "//pdf:buildflags",
1142 "//pdf:features",
1143 ]
1144 }
1145
brettwafa8f542016-08-24 05:16:241146 if (enable_rlz_support) {
1147 deps += [ "//rlz:rlz_lib" ]
1148 }
1149
thestig0e3086f2016-08-04 04:44:161150 if (toolkit_views) {
1151 deps += [ "//ui/views" ]
1152 }
1153
thestig0e3086f2016-08-04 04:44:161154 if (use_aura) {
Yuichiro Hanadae56d0272018-06-12 10:18:081155 deps += [ "//ui/aura" ]
thestig0e3086f2016-08-04 04:44:161156 }
1157
1158 if (use_brlapi) {
Brett Wilson75f9cbd2016-08-29 22:19:411159 sources += [
1160 "api/braille_display_private/braille_controller_brlapi.cc",
1161 "api/braille_display_private/brlapi_connection.cc",
1162 "api/braille_display_private/brlapi_connection.h",
1163 "api/braille_display_private/brlapi_keycode_map.cc",
1164 "api/braille_display_private/brlapi_keycode_map.h",
1165 ]
thestig0e3086f2016-08-04 04:44:161166 deps += [ "//build/linux/libbrlapi" ]
thestig0e3086f2016-08-04 04:44:161167 } else {
1168 sources += [ "api/braille_display_private/braille_controller_stub.cc" ]
[email protected]fb2799e2014-07-15 23:50:291169 }
[email protected]fb2799e2014-07-15 23:50:291170}