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

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

Issue 2319253002: Merge duplicate conditionals in chrome/browser/BUILD.gn. (Closed)
Patch Set: Fix yet more merge conflicts Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 "autocomplete/in_memory_url_index_factory.cc", 71 "autocomplete/in_memory_url_index_factory.cc",
72 "autocomplete/in_memory_url_index_factory.h", 72 "autocomplete/in_memory_url_index_factory.h",
73 "autocomplete/shortcuts_backend_factory.cc", 73 "autocomplete/shortcuts_backend_factory.cc",
74 "autocomplete/shortcuts_backend_factory.h", 74 "autocomplete/shortcuts_backend_factory.h",
75 "autocomplete/shortcuts_extensions_manager.cc", 75 "autocomplete/shortcuts_extensions_manager.cc",
76 "autocomplete/shortcuts_extensions_manager.h", 76 "autocomplete/shortcuts_extensions_manager.h",
77 "autofill/personal_data_manager_factory.cc", 77 "autofill/personal_data_manager_factory.cc",
78 "autofill/personal_data_manager_factory.h", 78 "autofill/personal_data_manager_factory.h",
79 "autofill/risk_util.cc", 79 "autofill/risk_util.cc",
80 "autofill/risk_util.h", 80 "autofill/risk_util.h",
81 "autofill/validation_rules_storage_factory.cc",
82 "autofill/validation_rules_storage_factory.h",
83 "background_sync/background_sync_controller_factory.cc", 81 "background_sync/background_sync_controller_factory.cc",
84 "background_sync/background_sync_controller_factory.h", 82 "background_sync/background_sync_controller_factory.h",
85 "background_sync/background_sync_controller_impl.cc", 83 "background_sync/background_sync_controller_impl.cc",
86 "background_sync/background_sync_controller_impl.h", 84 "background_sync/background_sync_controller_impl.h",
87 "background_sync/background_sync_permission_context.cc", 85 "background_sync/background_sync_permission_context.cc",
88 "background_sync/background_sync_permission_context.h", 86 "background_sync/background_sync_permission_context.h",
89 "bad_message.cc", 87 "bad_message.cc",
90 "bad_message.h", 88 "bad_message.h",
91 "banners/app_banner_manager.cc", 89 "banners/app_banner_manager.cc",
92 "banners/app_banner_manager.h", 90 "banners/app_banner_manager.h",
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 "geolocation/geolocation_permission_context_android.cc", 376 "geolocation/geolocation_permission_context_android.cc",
379 "geolocation/geolocation_permission_context_android.h", 377 "geolocation/geolocation_permission_context_android.h",
380 "geolocation/geolocation_permission_context_extensions.cc", 378 "geolocation/geolocation_permission_context_extensions.cc",
381 "geolocation/geolocation_permission_context_extensions.h", 379 "geolocation/geolocation_permission_context_extensions.h",
382 "geolocation/geolocation_prefs.cc", 380 "geolocation/geolocation_prefs.cc",
383 "geolocation/geolocation_prefs.h", 381 "geolocation/geolocation_prefs.h",
384 "global_keyboard_shortcuts_mac.h", 382 "global_keyboard_shortcuts_mac.h",
385 "global_keyboard_shortcuts_mac.mm", 383 "global_keyboard_shortcuts_mac.mm",
386 "google/chrome_google_url_tracker_client.cc", 384 "google/chrome_google_url_tracker_client.cc",
387 "google/chrome_google_url_tracker_client.h", 385 "google/chrome_google_url_tracker_client.h",
386 "google/did_run_updater_win.cc",
387 "google/did_run_updater_win.h",
388 "google/google_brand.cc", 388 "google/google_brand.cc",
389 "google/google_brand.h", 389 "google/google_brand.h",
390 "google/google_brand_chromeos.cc", 390 "google/google_brand_chromeos.cc",
391 "google/google_brand_chromeos.h", 391 "google/google_brand_chromeos.h",
392 "google/google_update_settings_posix.cc", 392 "google/google_update_settings_posix.cc",
393 "google/google_update_win.cc", 393 "google/google_update_win.cc",
394 "google/google_update_win.h", 394 "google/google_update_win.h",
395 "google/google_url_tracker_factory.cc", 395 "google/google_url_tracker_factory.cc",
396 "google/google_url_tracker_factory.h", 396 "google/google_url_tracker_factory.h",
397 "gpu/gpu_driver_info_manager_android.cc",
398 "gpu/gpu_driver_info_manager_android.h",
397 "gpu/gpu_feature_checker.cc", 399 "gpu/gpu_feature_checker.cc",
398 "gpu/gpu_feature_checker.h", 400 "gpu/gpu_feature_checker.h",
399 "gpu/gpu_mode_manager.cc", 401 "gpu/gpu_mode_manager.cc",
400 "gpu/gpu_mode_manager.h", 402 "gpu/gpu_mode_manager.h",
401 "gpu/gpu_profile_cache.h", 403 "gpu/gpu_profile_cache.h",
402 "gpu/three_d_api_observer.cc", 404 "gpu/three_d_api_observer.cc",
403 "gpu/three_d_api_observer.h", 405 "gpu/three_d_api_observer.h",
406 "hang_monitor/hang_crash_dump_win.cc",
407 "hang_monitor/hang_crash_dump_win.h",
404 "history/chrome_history_backend_client.cc", 408 "history/chrome_history_backend_client.cc",
405 "history/chrome_history_backend_client.h", 409 "history/chrome_history_backend_client.h",
406 "history/chrome_history_client.cc", 410 "history/chrome_history_client.cc",
407 "history/chrome_history_client.h", 411 "history/chrome_history_client.h",
408 "history/history_service_factory.cc", 412 "history/history_service_factory.cc",
409 "history/history_service_factory.h", 413 "history/history_service_factory.h",
410 "history/history_tab_helper.cc", 414 "history/history_tab_helper.cc",
411 "history/history_tab_helper.h", 415 "history/history_tab_helper.h",
412 "history/history_utils.cc", 416 "history/history_utils.cc",
413 "history/history_utils.h", 417 "history/history_utils.h",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 "media/webrtc/media_stream_device_permission_context.cc", 519 "media/webrtc/media_stream_device_permission_context.cc",
516 "media/webrtc/media_stream_device_permission_context.h", 520 "media/webrtc/media_stream_device_permission_context.h",
517 "media/webrtc/media_stream_device_permissions.cc", 521 "media/webrtc/media_stream_device_permissions.cc",
518 "media/webrtc/media_stream_device_permissions.h", 522 "media/webrtc/media_stream_device_permissions.h",
519 "media/webrtc/media_stream_devices_controller.cc", 523 "media/webrtc/media_stream_devices_controller.cc",
520 "media/webrtc/media_stream_devices_controller.h", 524 "media/webrtc/media_stream_devices_controller.h",
521 "media/webrtc/native_desktop_media_list.cc", 525 "media/webrtc/native_desktop_media_list.cc",
522 "media/webrtc/native_desktop_media_list.h", 526 "media/webrtc/native_desktop_media_list.h",
523 "media/webrtc/permission_bubble_media_access_handler.cc", 527 "media/webrtc/permission_bubble_media_access_handler.cc",
524 "media/webrtc/permission_bubble_media_access_handler.h", 528 "media/webrtc/permission_bubble_media_access_handler.h",
529
530 # TODO(brettw) should this go with the webrtc sources?
531 "media/webrtc/webrtc_log_list.cc",
532 "media/webrtc/webrtc_log_list.h",
525 "media/webrtc/window_icon_util.h", 533 "media/webrtc/window_icon_util.h",
534 "media/webrtc/window_icon_util_chromeos.cc",
535 "media/webrtc/window_icon_util_mac.mm",
536 "media/webrtc/window_icon_util_win.cc",
526 "memory_details.cc", 537 "memory_details.cc",
527 "memory_details.h", 538 "memory_details.h",
528 "memory_details_android.cc", 539 "memory_details_android.cc",
529 "memory_details_linux.cc", 540 "memory_details_linux.cc",
530 "memory_details_mac.cc", 541 "memory_details_mac.cc",
531 "memory_details_win.cc", 542 "memory_details_win.cc",
543 "metrics/antivirus_metrics_provider_win.cc",
544 "metrics/antivirus_metrics_provider_win.h",
532 "metrics/chrome_browser_main_extra_parts_metrics.cc", 545 "metrics/chrome_browser_main_extra_parts_metrics.cc",
533 "metrics/chrome_browser_main_extra_parts_metrics.h", 546 "metrics/chrome_browser_main_extra_parts_metrics.h",
534 "metrics/chrome_browser_main_extra_parts_metrics_mac.mm", 547 "metrics/chrome_browser_main_extra_parts_metrics_mac.mm",
535 "metrics/chrome_metrics_service_accessor.cc", 548 "metrics/chrome_metrics_service_accessor.cc",
536 "metrics/chrome_metrics_service_accessor.h", 549 "metrics/chrome_metrics_service_accessor.h",
537 "metrics/chrome_metrics_service_client.cc", 550 "metrics/chrome_metrics_service_client.cc",
538 "metrics/chrome_metrics_service_client.h", 551 "metrics/chrome_metrics_service_client.h",
539 "metrics/chrome_metrics_services_manager_client.cc", 552 "metrics/chrome_metrics_services_manager_client.cc",
540 "metrics/chrome_metrics_services_manager_client.h", 553 "metrics/chrome_metrics_services_manager_client.h",
541 "metrics/chrome_stability_metrics_provider.cc", 554 "metrics/chrome_stability_metrics_provider.cc",
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 "page_load_metrics/page_load_metrics_initialize.cc", 695 "page_load_metrics/page_load_metrics_initialize.cc",
683 "page_load_metrics/page_load_metrics_initialize.h", 696 "page_load_metrics/page_load_metrics_initialize.h",
684 "page_load_metrics/page_load_metrics_observer.cc", 697 "page_load_metrics/page_load_metrics_observer.cc",
685 "page_load_metrics/page_load_metrics_observer.h", 698 "page_load_metrics/page_load_metrics_observer.h",
686 "page_load_metrics/page_load_metrics_util.cc", 699 "page_load_metrics/page_load_metrics_util.cc",
687 "page_load_metrics/page_load_metrics_util.h", 700 "page_load_metrics/page_load_metrics_util.h",
688 "password_manager/chrome_password_manager_client.cc", 701 "password_manager/chrome_password_manager_client.cc",
689 "password_manager/chrome_password_manager_client.h", 702 "password_manager/chrome_password_manager_client.h",
690 "password_manager/password_manager_setting_migrator_service_factory.cc", 703 "password_manager/password_manager_setting_migrator_service_factory.cc",
691 "password_manager/password_manager_setting_migrator_service_factory.h", 704 "password_manager/password_manager_setting_migrator_service_factory.h",
705 "password_manager/password_manager_util_mac.h",
706 "password_manager/password_manager_util_mac.mm",
707 "password_manager/password_manager_util_win.cc",
708 "password_manager/password_manager_util_win.h",
692 "password_manager/password_store_factory.cc", 709 "password_manager/password_store_factory.cc",
693 "password_manager/password_store_factory.h", 710 "password_manager/password_store_factory.h",
694 "password_manager/password_store_mac.cc", 711 "password_manager/password_store_mac.cc",
695 "password_manager/password_store_mac.h", 712 "password_manager/password_store_mac.h",
696 "password_manager/password_store_mac_internal.h", 713 "password_manager/password_store_mac_internal.h",
697 "password_manager/password_store_proxy_mac.cc", 714 "password_manager/password_store_proxy_mac.cc",
698 "password_manager/password_store_proxy_mac.h", 715 "password_manager/password_store_proxy_mac.h",
699 "password_manager/password_store_win.cc", 716 "password_manager/password_store_win.cc",
700 "password_manager/password_store_win.h", 717 "password_manager/password_store_win.h",
701 "password_manager/password_store_x.cc",
702 "password_manager/password_store_x.h",
703 "password_manager/simple_password_store_mac.cc", 718 "password_manager/simple_password_store_mac.cc",
704 "password_manager/simple_password_store_mac.h", 719 "password_manager/simple_password_store_mac.h",
705 "performance_monitor/performance_monitor.cc", 720 "performance_monitor/performance_monitor.cc",
706 "performance_monitor/performance_monitor.h", 721 "performance_monitor/performance_monitor.h",
707 "performance_monitor/process_metrics_history.cc", 722 "performance_monitor/process_metrics_history.cc",
708 "performance_monitor/process_metrics_history.h", 723 "performance_monitor/process_metrics_history.h",
709 "permissions/chooser_context_base.cc", 724 "permissions/chooser_context_base.cc",
710 "permissions/chooser_context_base.h", 725 "permissions/chooser_context_base.h",
711 "permissions/delegation_tracker.cc", 726 "permissions/delegation_tracker.cc",
712 "permissions/delegation_tracker.h", 727 "permissions/delegation_tracker.h",
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 "signin/account_reconcilor_factory.cc", 1040 "signin/account_reconcilor_factory.cc",
1026 "signin/account_reconcilor_factory.h", 1041 "signin/account_reconcilor_factory.h",
1027 "signin/account_tracker_service_factory.cc", 1042 "signin/account_tracker_service_factory.cc",
1028 "signin/account_tracker_service_factory.h", 1043 "signin/account_tracker_service_factory.h",
1029 "signin/chrome_signin_client.cc", 1044 "signin/chrome_signin_client.cc",
1030 "signin/chrome_signin_client.h", 1045 "signin/chrome_signin_client.h",
1031 "signin/chrome_signin_client_factory.cc", 1046 "signin/chrome_signin_client_factory.cc",
1032 "signin/chrome_signin_client_factory.h", 1047 "signin/chrome_signin_client_factory.h",
1033 "signin/chrome_signin_helper.cc", 1048 "signin/chrome_signin_helper.cc",
1034 "signin/chrome_signin_helper.h", 1049 "signin/chrome_signin_helper.h",
1035 "signin/chrome_signin_status_metrics_provider_delegate.cc",
1036 "signin/chrome_signin_status_metrics_provider_delegate.h",
1037 "signin/gaia_cookie_manager_service_factory.cc", 1050 "signin/gaia_cookie_manager_service_factory.cc",
1038 "signin/gaia_cookie_manager_service_factory.h", 1051 "signin/gaia_cookie_manager_service_factory.h",
1039 "signin/investigator_dependency_provider.cc", 1052 "signin/investigator_dependency_provider.cc",
1040 "signin/investigator_dependency_provider.h", 1053 "signin/investigator_dependency_provider.h",
1041 "signin/local_auth.cc", 1054 "signin/local_auth.cc",
1042 "signin/local_auth.h", 1055 "signin/local_auth.h",
1043 "signin/mutable_profile_oauth2_token_service_delegate.cc", 1056 "signin/mutable_profile_oauth2_token_service_delegate.cc",
1044 "signin/mutable_profile_oauth2_token_service_delegate.h", 1057 "signin/mutable_profile_oauth2_token_service_delegate.h",
1045 "signin/profile_oauth2_token_service_factory.cc", 1058 "signin/profile_oauth2_token_service_factory.cc",
1046 "signin/profile_oauth2_token_service_factory.h", 1059 "signin/profile_oauth2_token_service_factory.h",
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 "tab_contents/navigation_metrics_recorder.h", 1136 "tab_contents/navigation_metrics_recorder.h",
1124 "tab_contents/origins_seen_service_factory.cc", 1137 "tab_contents/origins_seen_service_factory.cc",
1125 "tab_contents/origins_seen_service_factory.h", 1138 "tab_contents/origins_seen_service_factory.h",
1126 "tab_contents/retargeting_details.h", 1139 "tab_contents/retargeting_details.h",
1127 "tab_contents/tab_util.cc", 1140 "tab_contents/tab_util.cc",
1128 "tab_contents/tab_util.h", 1141 "tab_contents/tab_util.h",
1129 "task_manager/web_contents_tags.cc", 1142 "task_manager/web_contents_tags.cc",
1130 "task_manager/web_contents_tags.h", 1143 "task_manager/web_contents_tags.h",
1131 "task_profiler/task_profiler_data_serializer.cc", 1144 "task_profiler/task_profiler_data_serializer.cc",
1132 "task_profiler/task_profiler_data_serializer.h", 1145 "task_profiler/task_profiler_data_serializer.h",
1146 "themes/theme_service_win.cc",
1147 "themes/theme_service_win.h",
1133 "thumbnails/content_analysis.cc", 1148 "thumbnails/content_analysis.cc",
1134 "thumbnails/content_analysis.h", 1149 "thumbnails/content_analysis.h",
1135 "thumbnails/content_based_thumbnailing_algorithm.cc", 1150 "thumbnails/content_based_thumbnailing_algorithm.cc",
1136 "thumbnails/content_based_thumbnailing_algorithm.h", 1151 "thumbnails/content_based_thumbnailing_algorithm.h",
1137 "thumbnails/simple_thumbnail_crop.cc", 1152 "thumbnails/simple_thumbnail_crop.cc",
1138 "thumbnails/simple_thumbnail_crop.h", 1153 "thumbnails/simple_thumbnail_crop.h",
1139 "thumbnails/thumbnail_list_source.cc", 1154 "thumbnails/thumbnail_list_source.cc",
1140 "thumbnails/thumbnail_list_source.h", 1155 "thumbnails/thumbnail_list_source.h",
1141 "thumbnails/thumbnail_service.h", 1156 "thumbnails/thumbnail_service.h",
1142 "thumbnails/thumbnail_service_factory.cc", 1157 "thumbnails/thumbnail_service_factory.cc",
(...skipping 28 matching lines...) Expand all
1171 "usb/usb_chooser_context_factory.cc", 1186 "usb/usb_chooser_context_factory.cc",
1172 "usb/usb_chooser_context_factory.h", 1187 "usb/usb_chooser_context_factory.h",
1173 "usb/usb_tab_helper.cc", 1188 "usb/usb_tab_helper.cc",
1174 "usb/usb_tab_helper.h", 1189 "usb/usb_tab_helper.h",
1175 "usb/web_usb_histograms.cc", 1190 "usb/web_usb_histograms.cc",
1176 "usb/web_usb_histograms.h", 1191 "usb/web_usb_histograms.h",
1177 "usb/web_usb_permission_provider.cc", 1192 "usb/web_usb_permission_provider.cc",
1178 "usb/web_usb_permission_provider.h", 1193 "usb/web_usb_permission_provider.h",
1179 "web_data_service_factory.cc", 1194 "web_data_service_factory.cc",
1180 "web_data_service_factory.h", 1195 "web_data_service_factory.h",
1181
1182 # TODO(brettw) should this go with the webrtc sources?
1183 "media/webrtc/webrtc_log_list.cc",
1184 "media/webrtc/webrtc_log_list.h",
1185 "win/app_icon.cc", 1196 "win/app_icon.cc",
1186 "win/app_icon.h", 1197 "win/app_icon.h",
1187 "win/browser_util.cc", 1198 "win/browser_util.cc",
1188 "win/browser_util.h", 1199 "win/browser_util.h",
1189 "win/chrome_elf_init.cc", 1200 "win/chrome_elf_init.cc",
1190 "win/chrome_elf_init.h", 1201 "win/chrome_elf_init.h",
1191 "win/chrome_select_file_dialog_factory.cc", 1202 "win/chrome_select_file_dialog_factory.cc",
1192 "win/chrome_select_file_dialog_factory.h", 1203 "win/chrome_select_file_dialog_factory.h",
1193 "win/enumerate_modules_model.cc", 1204 "win/enumerate_modules_model.cc",
1194 "win/enumerate_modules_model.h", 1205 "win/enumerate_modules_model.h",
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 "//ui/surface", 1433 "//ui/surface",
1423 "//ui/web_dialogs", 1434 "//ui/web_dialogs",
1424 "//v8", 1435 "//v8",
1425 ] 1436 ]
1426 data_deps = [] 1437 data_deps = []
1427 1438
1428 if (is_chromeos && use_cras) { 1439 if (is_chromeos && use_cras) {
1429 defines += [ "USE_CRAS" ] 1440 defines += [ "USE_CRAS" ]
1430 } 1441 }
1431 1442
1432 if (android_java_ui) {
1433 sources += [
1434 "history/android/android_history_provider_service.cc",
1435 "history/android/android_history_provider_service.h",
1436 "history/android/android_provider_backend.cc",
1437 "history/android/android_provider_backend.h",
1438 "history/android/bookmark_model_sql_handler.cc",
1439 "history/android/bookmark_model_sql_handler.h",
1440 "history/android/sqlite_cursor.cc",
1441 "history/android/sqlite_cursor.h",
1442 "permissions/grouped_permission_infobar_delegate.cc",
1443 "permissions/grouped_permission_infobar_delegate.h",
1444 "permissions/permission_update_infobar_delegate_android.cc",
1445 "permissions/permission_update_infobar_delegate_android.h",
1446 "search_engines/template_url_service_android.cc",
1447 "search_engines/template_url_service_android.h",
1448 "ssl/security_state_model_android.cc",
1449 "ssl/security_state_model_android.h",
1450 "sync/glue/synced_tab_delegate_android.cc",
1451 "sync/glue/synced_tab_delegate_android.h",
1452 "sync/glue/synced_window_delegate_android.cc",
1453 "sync/glue/synced_window_delegate_android.h",
1454 "sync/glue/synced_window_delegates_getter_android.cc",
1455 "sync/glue/synced_window_delegates_getter_android.h",
1456 "sync/profile_sync_service_android.cc",
1457 "sync/profile_sync_service_android.h",
1458 "sync/sync_sessions_metrics_android.cc",
1459 "sync/sync_sessions_metrics_android.h",
1460 ]
1461 if (enable_supervised_users) {
1462 sources += [
1463 "supervised_user/child_accounts/child_account_feedback_reporter_android. cc",
1464 "supervised_user/child_accounts/child_account_feedback_reporter_android. h",
1465 "supervised_user/child_accounts/child_account_service_android.cc",
1466 "supervised_user/child_accounts/child_account_service_android.h",
1467 ]
1468 }
1469 }
1470
1471 if (toolkit_views) { 1443 if (toolkit_views) {
1472 deps += [ "//ui/views" ] 1444 deps += [ "//ui/views" ]
1473 } 1445 }
1474 1446
1475 if (is_win || is_mac) { 1447 if (is_win || is_mac) {
1476 # Sources (generally "desktop OS importers") used only on Mac & Windows. 1448 # Sources (generally "desktop OS importers") used only on Mac & Windows.
1477 sources += [ 1449 sources += [
1478 "crash_upload_list/crash_upload_list_crashpad.cc", 1450 "crash_upload_list/crash_upload_list_crashpad.cc",
1479 "crash_upload_list/crash_upload_list_crashpad.h", 1451 "crash_upload_list/crash_upload_list_crashpad.h",
1480 "media_galleries/fileapi/file_path_watcher_util.cc", 1452 "media_galleries/fileapi/file_path_watcher_util.cc",
(...skipping 14 matching lines...) Expand all
1495 "media_galleries/fileapi/safe_itunes_pref_parser_win.h", 1467 "media_galleries/fileapi/safe_itunes_pref_parser_win.h",
1496 "media_galleries/fileapi/safe_picasa_album_table_reader.cc", 1468 "media_galleries/fileapi/safe_picasa_album_table_reader.cc",
1497 "media_galleries/fileapi/safe_picasa_album_table_reader.h", 1469 "media_galleries/fileapi/safe_picasa_album_table_reader.h",
1498 "media_galleries/fileapi/safe_picasa_albums_indexer.cc", 1470 "media_galleries/fileapi/safe_picasa_albums_indexer.cc",
1499 "media_galleries/fileapi/safe_picasa_albums_indexer.h", 1471 "media_galleries/fileapi/safe_picasa_albums_indexer.h",
1500 "recovery/recovery_install_global_error.cc", 1472 "recovery/recovery_install_global_error.cc",
1501 "recovery/recovery_install_global_error.h", 1473 "recovery/recovery_install_global_error.h",
1502 "recovery/recovery_install_global_error_factory.cc", 1474 "recovery/recovery_install_global_error_factory.cc",
1503 "recovery/recovery_install_global_error_factory.h", 1475 "recovery/recovery_install_global_error_factory.h",
1504 ] 1476 ]
1505 } 1477 } else {
1506 if (!is_win && !is_mac) {
1507 sources += [ "net/net_error_diagnostics_dialog_generic.cc" ] 1478 sources += [ "net/net_error_diagnostics_dialog_generic.cc" ]
1508 } 1479 }
1509 if (!is_android && !is_chromeos) { 1480
1510 sources += [
1511 "net/disk_cache_dir_policy_handler.cc",
1512 "net/disk_cache_dir_policy_handler.h",
1513 ]
1514 }
1515 if (is_mac) {
1516 sources += [
1517 "media/webrtc/window_icon_util_mac.mm",
1518 "password_manager/password_manager_util_mac.h",
1519 "password_manager/password_manager_util_mac.mm",
1520 ]
1521 deps += [
1522 "//chrome/app_shim",
1523 "//chrome/browser/apps/app_shim",
1524 ]
1525 }
1526 if (enable_extensions) { 1481 if (enable_extensions) {
1527 sources += [ 1482 sources += [
1528 "accessibility/accessibility_extension_api.cc", 1483 "accessibility/accessibility_extension_api.cc",
1529 "accessibility/accessibility_extension_api.h", 1484 "accessibility/accessibility_extension_api.h",
1530 "accessibility/animation_policy_prefs.cc", 1485 "accessibility/animation_policy_prefs.cc",
1531 "accessibility/animation_policy_prefs.h", 1486 "accessibility/animation_policy_prefs.h",
1532 "autocomplete/keyword_extensions_delegate_impl.cc", 1487 "autocomplete/keyword_extensions_delegate_impl.cc",
1533 "autocomplete/keyword_extensions_delegate_impl.h", 1488 "autocomplete/keyword_extensions_delegate_impl.h",
1534 "browsing_data/hosted_apps_counter.cc", 1489 "browsing_data/hosted_apps_counter.cc",
1535 "browsing_data/hosted_apps_counter.h", 1490 "browsing_data/hosted_apps_counter.h",
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
2113 } 2068 }
2114 2069
2115 if (is_chromeos) { 2070 if (is_chromeos) {
2116 sources += [ 2071 sources += [
2117 "download/notification/download_item_notification.cc", 2072 "download/notification/download_item_notification.cc",
2118 "download/notification/download_item_notification.h", 2073 "download/notification/download_item_notification.h",
2119 "download/notification/download_notification.cc", 2074 "download/notification/download_notification.cc",
2120 "download/notification/download_notification.h", 2075 "download/notification/download_notification.h",
2121 "download/notification/download_notification_manager.cc", 2076 "download/notification/download_notification_manager.cc",
2122 "download/notification/download_notification_manager.h", 2077 "download/notification/download_notification_manager.h",
2123 "media/protected_media_identifier_permission_context.cc",
2124 "media/protected_media_identifier_permission_context.h",
2125 "media/webrtc/window_icon_util_chromeos.cc",
2126 "metrics/chromeos_metrics_provider.cc", 2078 "metrics/chromeos_metrics_provider.cc",
2127 "metrics/chromeos_metrics_provider.h", 2079 "metrics/chromeos_metrics_provider.h",
2080 "metrics/leak_detector/leak_detector_controller.cc",
2081 "metrics/leak_detector/leak_detector_controller.h",
2082 "metrics/leak_detector/leak_detector_remote_controller.cc",
2083 "metrics/leak_detector/leak_detector_remote_controller.h",
2128 "metrics/perf/cpu_identity.cc", 2084 "metrics/perf/cpu_identity.cc",
2129 "metrics/perf/cpu_identity.h", 2085 "metrics/perf/cpu_identity.h",
2130 "metrics/perf/perf_output.cc", 2086 "metrics/perf/perf_output.cc",
2131 "metrics/perf/perf_output.h", 2087 "metrics/perf/perf_output.h",
2132 "metrics/perf/random_selector.cc", 2088 "metrics/perf/random_selector.cc",
2133 "metrics/perf/random_selector.h", 2089 "metrics/perf/random_selector.h",
2134 "metrics/perf/windowed_incognito_observer.cc", 2090 "metrics/perf/windowed_incognito_observer.cc",
2135 "metrics/perf/windowed_incognito_observer.h", 2091 "metrics/perf/windowed_incognito_observer.h",
2136 "policy/default_geolocation_policy_handler.cc", 2092 "policy/default_geolocation_policy_handler.cc",
2137 "policy/default_geolocation_policy_handler.h", 2093 "policy/default_geolocation_policy_handler.h",
2138 2094
2139 # This is technically also dependent on enable_plugins but we don"t 2095 # This is technically also dependent on enable_plugins but we don"t
2140 # support ChromeOS with enable_plugins==0. 2096 # support ChromeOS with enable_plugins==0.
2141 "renderer_host/pepper/pepper_platform_verification_message_filter.cc", 2097 "renderer_host/pepper/pepper_platform_verification_message_filter.cc",
2142 "renderer_host/pepper/pepper_platform_verification_message_filter.h", 2098 "renderer_host/pepper/pepper_platform_verification_message_filter.h",
2143 ] 2099 ]
2144 deps += [ "//chrome/browser/chromeos" ] 2100 deps += [ "//chrome/browser/chromeos" ]
2101 public_deps += [
2102 "//components/metrics/leak_detector:interfaces",
2103 "//components/metrics/leak_detector:leak_detector",
2104 ]
2145 } else { # Non-ChromeOS. 2105 } else { # Non-ChromeOS.
2146 sources += [ 2106 sources += [
2147 "policy/cloud/user_cloud_policy_manager_factory.cc", 2107 "policy/cloud/user_cloud_policy_manager_factory.cc",
2148 "policy/cloud/user_cloud_policy_manager_factory.h", 2108 "policy/cloud/user_cloud_policy_manager_factory.h",
2149 "policy/cloud/user_policy_signin_service_base.cc", 2109 "policy/cloud/user_policy_signin_service_base.cc",
2150 "policy/cloud/user_policy_signin_service_base.h", 2110 "policy/cloud/user_policy_signin_service_base.h",
2151 "policy/cloud/user_policy_signin_service_factory.cc", 2111 "policy/cloud/user_policy_signin_service_factory.cc",
2152 "policy/cloud/user_policy_signin_service_factory.h", 2112 "policy/cloud/user_policy_signin_service_factory.h",
2153 ]
2154 }
2155
2156 if (is_chromeos) {
2157 sources -= [
2158 "signin/chrome_signin_status_metrics_provider_delegate.cc", 2113 "signin/chrome_signin_status_metrics_provider_delegate.cc",
2159 "signin/chrome_signin_status_metrics_provider_delegate.h", 2114 "signin/chrome_signin_status_metrics_provider_delegate.h",
2160 ] 2115 ]
2161 } 2116 }
2162 2117
2163 if (is_chromeos) {
2164 sources += [
2165 "metrics/leak_detector/leak_detector_controller.cc",
2166 "metrics/leak_detector/leak_detector_controller.h",
2167 "metrics/leak_detector/leak_detector_remote_controller.cc",
2168 "metrics/leak_detector/leak_detector_remote_controller.h",
2169 ]
2170 public_deps += [
2171 "//components/metrics/leak_detector:interfaces",
2172 "//components/metrics/leak_detector:leak_detector",
2173 ]
2174 }
2175
2176 if (use_cups) { 2118 if (use_cups) {
2177 configs += [ "//printing:cups" ] 2119 configs += [ "//printing:cups" ]
2178 } 2120 }
2121
2179 if (use_gnome_keyring) { 2122 if (use_gnome_keyring) {
2180 sources += [ 2123 sources += [
2181 "password_manager/native_backend_gnome_x.cc", 2124 "password_manager/native_backend_gnome_x.cc",
2182 "password_manager/native_backend_gnome_x.h", 2125 "password_manager/native_backend_gnome_x.h",
2183 ] 2126 ]
2184 configs += [ "//components/os_crypt:gnome_keyring" ] 2127 configs += [ "//components/os_crypt:gnome_keyring" ]
2185 } 2128 }
2186 if (is_desktop_linux) { 2129
2187 sources += [
2188 "password_manager/native_backend_libsecret.cc",
2189 "password_manager/native_backend_libsecret.h",
2190 ]
2191 defines += [ "USE_LIBSECRET" ]
2192 deps += [ "//third_party/libsecret" ]
2193 }
2194 if (use_aura) { 2130 if (use_aura) {
2195 # Cross-platform Aura files. 2131 # Cross-platform Aura files.
2196 sources += [ 2132 sources += [
2197 # This file is called _views but has Aura calls in it. 2133 # This file is called _views but has Aura calls in it.
2198 "download/drag_download_item_views.cc", 2134 "download/drag_download_item_views.cc",
2199 "lifetime/application_lifetime_aura.cc", 2135 "lifetime/application_lifetime_aura.cc",
2200 "platform_util_aura.cc", 2136 "platform_util_aura.cc",
2201 ] 2137 ]
2202 2138
2203 # These files are only built in a GN build because they bring in 2139 # These files are only built in a GN build because they bring in
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2237 "sync/sync_error_notifier_factory_ash.cc", 2173 "sync/sync_error_notifier_factory_ash.cc",
2238 "sync/sync_error_notifier_factory_ash.h", 2174 "sync/sync_error_notifier_factory_ash.h",
2239 ] 2175 ]
2240 deps += [ "//ash" ] 2176 deps += [ "//ash" ]
2241 } 2177 }
2242 2178
2243 if (use_x11) { 2179 if (use_x11) {
2244 sources += [ 2180 sources += [
2245 "chrome_browser_main_extra_parts_x11.cc", 2181 "chrome_browser_main_extra_parts_x11.cc",
2246 "chrome_browser_main_extra_parts_x11.h", 2182 "chrome_browser_main_extra_parts_x11.h",
2183 "password_manager/password_store_x.cc",
2184 "password_manager/password_store_x.h",
2247 ] 2185 ]
2248 } else {
2249 sources -= [ "password_manager/password_store_x.cc" ]
2250 } 2186 }
2251 if (use_aura && !use_ozone && is_desktop_linux) { 2187 if (use_aura && !use_ozone && is_desktop_linux) {
2252 deps += [ "//chrome/browser/ui/libgtk2ui" ] 2188 deps += [ "//chrome/browser/ui/libgtk2ui" ]
2253 allow_circular_includes_from += [ "//chrome/browser/ui/libgtk2ui" ] 2189 allow_circular_includes_from += [ "//chrome/browser/ui/libgtk2ui" ]
2254 } 2190 }
2255 if (is_posix && !is_mac) { 2191 if (is_posix && !is_mac) {
2256 sources += [ 2192 sources += [
2257 "//chrome/app/chrome_crash_reporter_client.cc", 2193 "//chrome/app/chrome_crash_reporter_client.cc",
2258 "//chrome/app/chrome_crash_reporter_client.h", 2194 "//chrome/app/chrome_crash_reporter_client.h",
2259 ] 2195 ]
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
2501 if (!is_android && !is_chromeos) { 2437 if (!is_android && !is_chromeos) {
2502 sources += [ 2438 sources += [
2503 "metrics/desktop_engagement/audible_contents_tracker.cc", 2439 "metrics/desktop_engagement/audible_contents_tracker.cc",
2504 "metrics/desktop_engagement/audible_contents_tracker.h", 2440 "metrics/desktop_engagement/audible_contents_tracker.h",
2505 "metrics/desktop_engagement/chrome_visibility_observer.cc", 2441 "metrics/desktop_engagement/chrome_visibility_observer.cc",
2506 "metrics/desktop_engagement/chrome_visibility_observer.h", 2442 "metrics/desktop_engagement/chrome_visibility_observer.h",
2507 "metrics/desktop_engagement/desktop_engagement_observer.cc", 2443 "metrics/desktop_engagement/desktop_engagement_observer.cc",
2508 "metrics/desktop_engagement/desktop_engagement_observer.h", 2444 "metrics/desktop_engagement/desktop_engagement_observer.h",
2509 "metrics/desktop_engagement/desktop_engagement_service.cc", 2445 "metrics/desktop_engagement/desktop_engagement_service.cc",
2510 "metrics/desktop_engagement/desktop_engagement_service.h", 2446 "metrics/desktop_engagement/desktop_engagement_service.h",
2447 "net/disk_cache_dir_policy_handler.cc",
2448 "net/disk_cache_dir_policy_handler.h",
2511 "platform_util.cc", 2449 "platform_util.cc",
2512 "policy/cloud/user_policy_signin_service.cc", 2450 "policy/cloud/user_policy_signin_service.cc",
2513 "policy/cloud/user_policy_signin_service.h", 2451 "policy/cloud/user_policy_signin_service.h",
2514 "profiles/avatar_menu_actions_desktop.cc", 2452 "profiles/avatar_menu_actions_desktop.cc",
2515 "profiles/avatar_menu_actions_desktop.h", 2453 "profiles/avatar_menu_actions_desktop.h",
2516 "profiles/avatar_menu_desktop.cc", 2454 "profiles/avatar_menu_desktop.cc",
2517 "profiles/avatar_menu_observer.h", 2455 "profiles/avatar_menu_observer.h",
2518 "profiles/profile_list_desktop.cc", 2456 "profiles/profile_list_desktop.cc",
2519 "profiles/profile_list_desktop.h", 2457 "profiles/profile_list_desktop.h",
2520 "profiles/profile_statistics.cc", 2458 "profiles/profile_statistics.cc",
(...skipping 12 matching lines...) Expand all
2533 "signin/signin_global_error.h", 2471 "signin/signin_global_error.h",
2534 "signin/signin_global_error_factory.cc", 2472 "signin/signin_global_error_factory.cc",
2535 "signin/signin_global_error_factory.h", 2473 "signin/signin_global_error_factory.h",
2536 "sync/sync_global_error.cc", 2474 "sync/sync_global_error.cc",
2537 "sync/sync_global_error.h", 2475 "sync/sync_global_error.h",
2538 "sync/sync_global_error_factory.cc", 2476 "sync/sync_global_error_factory.cc",
2539 "sync/sync_global_error_factory.h", 2477 "sync/sync_global_error_factory.h",
2540 "upgrade_detector_impl.cc", 2478 "upgrade_detector_impl.cc",
2541 "upgrade_detector_impl.h", 2479 "upgrade_detector_impl.h",
2542 ] 2480 ]
2481 } else {
2482 sources += [
2483 "media/protected_media_identifier_permission_context.cc",
2484 "media/protected_media_identifier_permission_context.h",
2485 ]
2543 } 2486 }
2544 2487
2545 if (is_android) { 2488 if (is_android) {
2546 sources += [ 2489 sources += [
2547 "chrome_browser_field_trials_mobile.cc", 2490 "chrome_browser_field_trials_mobile.cc",
2548 "chrome_browser_field_trials_mobile.h", 2491 "chrome_browser_field_trials_mobile.h",
2549 "policy/cloud/user_policy_signin_service_mobile.cc", 2492 "policy/cloud/user_policy_signin_service_mobile.cc",
2550 "policy/cloud/user_policy_signin_service_mobile.h", 2493 "policy/cloud/user_policy_signin_service_mobile.h",
2551 ] 2494 ]
2495 deps += [
2496 "//components/cdm/browser",
2497 "//components/resources:components_resources",
2498 "//third_party/android_opengl/etc1",
2499 "//third_party/android_tools:cpu_features",
2500 "//third_party/libaddressinput:util",
2501 ]
2502
2503 deps -= [
2504 "//components/storage_monitor",
2505 "//third_party/libaddressinput",
2506 ]
2507 if (use_seccomp_bpf) {
2508 defines += [ "USE_SECCOMP_BPF" ]
2509 deps += [ "//sandbox/linux:seccomp_bpf" ]
2510 }
2552 } else { 2511 } else {
2553 # Non-Android. 2512 # Non-Android.
2554 sources += [ 2513 sources += [
2555 "accessibility/invert_bubble_prefs.cc", 2514 "accessibility/invert_bubble_prefs.cc",
2556 "accessibility/invert_bubble_prefs.h", 2515 "accessibility/invert_bubble_prefs.h",
2516 "autofill/validation_rules_storage_factory.cc",
2517 "autofill/validation_rules_storage_factory.h",
2557 "background/background_contents.cc", 2518 "background/background_contents.cc",
2558 "background/background_contents.h", 2519 "background/background_contents.h",
2559 "banners/app_banner_infobar_delegate_desktop.cc", 2520 "banners/app_banner_infobar_delegate_desktop.cc",
2560 "banners/app_banner_infobar_delegate_desktop.h", 2521 "banners/app_banner_infobar_delegate_desktop.h",
2561 "banners/app_banner_manager_desktop.cc", 2522 "banners/app_banner_manager_desktop.cc",
2562 "banners/app_banner_manager_desktop.h", 2523 "banners/app_banner_manager_desktop.h",
2563 "bookmarks/bookmark_html_writer.cc", 2524 "bookmarks/bookmark_html_writer.cc",
2564 "bookmarks/bookmark_html_writer.h", 2525 "bookmarks/bookmark_html_writer.h",
2565 "certificate_viewer.cc", 2526 "certificate_viewer.cc",
2566 "certificate_viewer.h", 2527 "certificate_viewer.h",
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
2850 ] 2811 ]
2851 } 2812 }
2852 2813
2853 if (!is_chrome_branded) { 2814 if (!is_chrome_branded) {
2854 sources += [ 2815 sources += [
2855 "search/local_files_ntp_source.cc", 2816 "search/local_files_ntp_source.cc",
2856 "search/local_files_ntp_source.h", 2817 "search/local_files_ntp_source.h",
2857 ] 2818 ]
2858 } 2819 }
2859 2820
2860 if (is_android) {
2861 sources += [
2862 "gpu/gpu_driver_info_manager_android.cc",
2863 "gpu/gpu_driver_info_manager_android.h",
2864 "media/protected_media_identifier_permission_context.cc",
2865 "media/protected_media_identifier_permission_context.h",
2866 ]
2867 }
2868
2869 if (android_java_ui) { 2821 if (android_java_ui) {
2870 sources += [ 2822 sources += [
2871 "after_startup_task_utils_android.cc", 2823 "after_startup_task_utils_android.cc",
2872 "after_startup_task_utils_android.h", 2824 "after_startup_task_utils_android.h",
2873 "android/accessibility/font_size_prefs_android.cc", 2825 "android/accessibility/font_size_prefs_android.cc",
2874 "android/accessibility/font_size_prefs_android.h", 2826 "android/accessibility/font_size_prefs_android.h",
2875 "android/accessibility_util.cc", 2827 "android/accessibility_util.cc",
2876 "android/accessibility_util.h", 2828 "android/accessibility_util.h",
2877 "android/activity_type_ids.cc", 2829 "android/activity_type_ids.cc",
2878 "android/activity_type_ids.h", 2830 "android/activity_type_ids.h",
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
3234 "autofill/android/personal_data_manager_android.cc", 3186 "autofill/android/personal_data_manager_android.cc",
3235 "autofill/android/personal_data_manager_android.h", 3187 "autofill/android/personal_data_manager_android.h",
3236 "dom_distiller/dom_distiller_service_factory_android.cc", 3188 "dom_distiller/dom_distiller_service_factory_android.cc",
3237 "dom_distiller/dom_distiller_service_factory_android.h", 3189 "dom_distiller/dom_distiller_service_factory_android.h",
3238 "dom_distiller/tab_utils_android.cc", 3190 "dom_distiller/tab_utils_android.cc",
3239 "dom_distiller/tab_utils_android.h", 3191 "dom_distiller/tab_utils_android.h",
3240 "download/download_request_infobar_delegate_android.cc", 3192 "download/download_request_infobar_delegate_android.cc",
3241 "download/download_request_infobar_delegate_android.h", 3193 "download/download_request_infobar_delegate_android.h",
3242 "geolocation/geolocation_infobar_delegate_android.cc", 3194 "geolocation/geolocation_infobar_delegate_android.cc",
3243 "geolocation/geolocation_infobar_delegate_android.h", 3195 "geolocation/geolocation_infobar_delegate_android.h",
3196 "history/android/android_history_provider_service.cc",
3197 "history/android/android_history_provider_service.h",
3198 "history/android/android_provider_backend.cc",
3199 "history/android/android_provider_backend.h",
3200 "history/android/bookmark_model_sql_handler.cc",
3201 "history/android/bookmark_model_sql_handler.h",
3202 "history/android/sqlite_cursor.cc",
3203 "history/android/sqlite_cursor.h",
3244 "invalidation/invalidation_service_factory_android.cc", 3204 "invalidation/invalidation_service_factory_android.cc",
3245 "invalidation/invalidation_service_factory_android.h", 3205 "invalidation/invalidation_service_factory_android.h",
3246 "lifetime/application_lifetime_android.cc", 3206 "lifetime/application_lifetime_android.cc",
3247 "lifetime/application_lifetime_android.h", 3207 "lifetime/application_lifetime_android.h",
3248 "media/android/cdm/media_drm_credential_manager.cc", 3208 "media/android/cdm/media_drm_credential_manager.cc",
3249 "media/android/cdm/media_drm_credential_manager.h", 3209 "media/android/cdm/media_drm_credential_manager.h",
3250 "media/android/remote/record_cast_action.cc", 3210 "media/android/remote/record_cast_action.cc",
3251 "media/android/remote/record_cast_action.h", 3211 "media/android/remote/record_cast_action.h",
3252 "media/android/remote/remote_media_player_bridge.cc", 3212 "media/android/remote/remote_media_player_bridge.cc",
3253 "media/android/remote/remote_media_player_bridge.h", 3213 "media/android/remote/remote_media_player_bridge.h",
(...skipping 26 matching lines...) Expand all
3280 "password_manager/credential_android.cc", 3240 "password_manager/credential_android.cc",
3281 "password_manager/credential_android.h", 3241 "password_manager/credential_android.h",
3282 "password_manager/generated_password_saved_infobar_delegate_android.cc", 3242 "password_manager/generated_password_saved_infobar_delegate_android.cc",
3283 "password_manager/generated_password_saved_infobar_delegate_android.h", 3243 "password_manager/generated_password_saved_infobar_delegate_android.h",
3284 "password_manager/password_manager_infobar_delegate_android.cc", 3244 "password_manager/password_manager_infobar_delegate_android.cc",
3285 "password_manager/password_manager_infobar_delegate_android.h", 3245 "password_manager/password_manager_infobar_delegate_android.h",
3286 "password_manager/save_password_infobar_delegate_android.cc", 3246 "password_manager/save_password_infobar_delegate_android.cc",
3287 "password_manager/save_password_infobar_delegate_android.h", 3247 "password_manager/save_password_infobar_delegate_android.h",
3288 "password_manager/update_password_infobar_delegate_android.cc", 3248 "password_manager/update_password_infobar_delegate_android.cc",
3289 "password_manager/update_password_infobar_delegate_android.h", 3249 "password_manager/update_password_infobar_delegate_android.h",
3250 "permissions/grouped_permission_infobar_delegate.cc",
3251 "permissions/grouped_permission_infobar_delegate.h",
3290 "permissions/permission_queue_controller.cc", 3252 "permissions/permission_queue_controller.cc",
3291 "permissions/permission_queue_controller.h", 3253 "permissions/permission_queue_controller.h",
3254 "permissions/permission_update_infobar_delegate_android.cc",
3255 "permissions/permission_update_infobar_delegate_android.h",
3292 "platform_util_android.cc", 3256 "platform_util_android.cc",
3293 "precache/precache_manager_factory.cc", 3257 "precache/precache_manager_factory.cc",
3294 "precache/precache_manager_factory.h", 3258 "precache/precache_manager_factory.h",
3295 "precache/precache_util.cc", 3259 "precache/precache_util.cc",
3296 "precache/precache_util.h", 3260 "precache/precache_util.h",
3297 "prerender/external_prerender_handler_android.cc", 3261 "prerender/external_prerender_handler_android.cc",
3298 "prerender/external_prerender_handler_android.h", 3262 "prerender/external_prerender_handler_android.h",
3299 "profiles/profile_android.cc", 3263 "profiles/profile_android.cc",
3300 "profiles/profile_android.h", 3264 "profiles/profile_android.h",
3301 "search/contextual_search_policy_handler_android.cc", 3265 "search/contextual_search_policy_handler_android.cc",
3302 "search/contextual_search_policy_handler_android.h", 3266 "search/contextual_search_policy_handler_android.h",
3267 "search_engines/template_url_service_android.cc",
3268 "search_engines/template_url_service_android.h",
3303 "signin/oauth2_token_service_delegate_android.cc", 3269 "signin/oauth2_token_service_delegate_android.cc",
3304 "signin/oauth2_token_service_delegate_android.h", 3270 "signin/oauth2_token_service_delegate_android.h",
3271 "ssl/security_state_model_android.cc",
3272 "ssl/security_state_model_android.h",
3305 "ssl/ssl_add_certificate_android.cc", 3273 "ssl/ssl_add_certificate_android.cc",
3274 "sync/glue/synced_tab_delegate_android.cc",
3275 "sync/glue/synced_tab_delegate_android.h",
3276 "sync/glue/synced_window_delegate_android.cc",
3277 "sync/glue/synced_window_delegate_android.h",
3278 "sync/glue/synced_window_delegates_getter_android.cc",
3279 "sync/glue/synced_window_delegates_getter_android.h",
3280 "sync/profile_sync_service_android.cc",
3281 "sync/profile_sync_service_android.h",
3282 "sync/sync_sessions_metrics_android.cc",
3283 "sync/sync_sessions_metrics_android.h",
3306 ] 3284 ]
3307 deps += [ 3285 deps += [
3308 ":client_discourse_context_proto", 3286 ":client_discourse_context_proto",
3309 ":delta_file_proto", 3287 ":delta_file_proto",
3310 ":jni_headers", 3288 ":jni_headers",
3311 "//blimp/client/public", 3289 "//blimp/client/public",
3312 "//chrome/browser/android/webapk:proto", 3290 "//chrome/browser/android/webapk:proto",
3313 "//components/data_usage/android", 3291 "//components/data_usage/android",
3314 "//components/precache/content", 3292 "//components/precache/content",
3315 "//components/precache/core", 3293 "//components/precache/core",
3316 "//components/resources:components_resources", 3294 "//components/resources:components_resources",
3317 "//components/toolbar", 3295 "//components/toolbar",
3318 "//components/web_contents_delegate_android", 3296 "//components/web_contents_delegate_android",
3319 "//third_party/smhasher:murmurhash2", 3297 "//third_party/smhasher:murmurhash2",
3320 ] 3298 ]
3299 if (enable_supervised_users) {
3300 sources += [
3301 "supervised_user/child_accounts/child_account_feedback_reporter_android. cc",
3302 "supervised_user/child_accounts/child_account_feedback_reporter_android. h",
3303 "supervised_user/child_accounts/child_account_service_android.cc",
3304 "supervised_user/child_accounts/child_account_service_android.h",
3305 ]
3306 }
3321 } 3307 }
3322 3308
3323 if (enable_vr_shell && android_java_ui) { 3309 if (enable_vr_shell && android_java_ui) {
3324 defines += [ "ENABLE_VR_SHELL" ] 3310 defines += [ "ENABLE_VR_SHELL" ]
3325 deps += [ "android/vr_shell:vr_shell" ] 3311 deps += [ "android/vr_shell:vr_shell" ]
3326 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] 3312 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
3327 } 3313 }
3328 3314
3329 if (is_android) {
3330 deps += [
3331 "//components/cdm/browser",
3332 "//components/resources:components_resources",
3333 "//third_party/android_opengl/etc1",
3334 "//third_party/android_tools:cpu_features",
3335 "//third_party/libaddressinput:util",
3336 ]
3337
3338 deps -= [
3339 "//components/storage_monitor",
3340 "//third_party/libaddressinput",
3341 ]
3342
3343 if (use_seccomp_bpf) {
3344 defines += [ "USE_SECCOMP_BPF" ]
3345 deps += [ "//sandbox/linux:seccomp_bpf" ]
3346 }
3347 }
3348
3349 if (is_mac) { 3315 if (is_mac) {
3350 deps += [ 3316 deps += [
3317 "//chrome/app_shim",
3318 "//chrome/browser/apps/app_shim",
3351 "//third_party/google_toolbox_for_mac", 3319 "//third_party/google_toolbox_for_mac",
3352 "//third_party/mozilla", 3320 "//third_party/mozilla",
3353 ] 3321 ]
3354 libs += [ 3322 libs += [
3355 "Accelerate.framework", 3323 "Accelerate.framework",
3356 "AddressBook.framework", 3324 "AddressBook.framework",
3357 "AudioUnit.framework", 3325 "AudioUnit.framework",
3358 "DiskArbitration.framework", 3326 "DiskArbitration.framework",
3359 "IOKit.framework", 3327 "IOKit.framework",
3360 "ImageCaptureCore.framework", 3328 "ImageCaptureCore.framework",
3361 "OpenGL.framework", 3329 "OpenGL.framework",
3362 "QuartzCore.framework", 3330 "QuartzCore.framework",
3363 "SecurityInterface.framework", 3331 "SecurityInterface.framework",
3364 ] 3332 ]
3365 } 3333 }
3366 3334
3367 if (enable_rlz) { 3335 if (enable_rlz) {
3368 deps += [ ":rlz" ] 3336 deps += [ ":rlz" ]
3369 } 3337 }
3370 3338
3371 if (is_win) { 3339 if (is_win) {
3372 sources += [ 3340 sources += [
3373 "downgrade/user_data_downgrade.cc", 3341 "downgrade/user_data_downgrade.cc",
3374 "downgrade/user_data_downgrade.h", 3342 "downgrade/user_data_downgrade.h",
3375 "first_run/try_chrome_dialog_view.cc", 3343 "first_run/try_chrome_dialog_view.cc",
3376 "first_run/try_chrome_dialog_view.h", 3344 "first_run/try_chrome_dialog_view.h",
3377 "first_run/upgrade_util.cc", 3345 "first_run/upgrade_util.cc",
3378 "google/did_run_updater_win.cc",
3379 "google/did_run_updater_win.h",
3380 "hang_monitor/hang_crash_dump_win.cc",
3381 "hang_monitor/hang_crash_dump_win.h",
3382 "media/webrtc/window_icon_util_win.cc",
3383 "metrics/antivirus_metrics_provider_win.cc",
3384 "metrics/antivirus_metrics_provider_win.h",
3385 "password_manager/password_manager_util_win.cc",
3386 "password_manager/password_manager_util_win.h",
3387 "themes/theme_service_win.cc",
3388 "themes/theme_service_win.h",
3389 ] 3346 ]
3390 public_deps += [ 3347 public_deps += [
3391 "//ui/views", 3348 "//ui/views",
3392 "//ui/views/controls/webview", 3349 "//ui/views/controls/webview",
3393 ] 3350 ]
3394 deps += [ 3351 deps += [
3395 ":chrome_process_finder", 3352 ":chrome_process_finder",
3396 "//chrome:file_pre_reader", 3353 "//chrome:file_pre_reader",
3397 "//chrome/chrome_watcher:client", 3354 "//chrome/chrome_watcher:client",
3398 "//chrome/common:metrics_constants_util_win", 3355 "//chrome/common:metrics_constants_util_win",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3457 # Desktop linux, doesn"t count ChromeOS. 3414 # Desktop linux, doesn"t count ChromeOS.
3458 sources += [ 3415 sources += [
3459 "first_run/upgrade_util.cc", 3416 "first_run/upgrade_util.cc",
3460 "first_run/upgrade_util_linux.cc", 3417 "first_run/upgrade_util_linux.cc",
3461 "first_run/upgrade_util_linux.h", 3418 "first_run/upgrade_util_linux.h",
3462 "fullscreen_aurax11.cc", 3419 "fullscreen_aurax11.cc",
3463 "icon_loader_auralinux.cc", 3420 "icon_loader_auralinux.cc",
3464 "media/webrtc/window_icon_util_x11.cc", 3421 "media/webrtc/window_icon_util_x11.cc",
3465 "password_manager/native_backend_kwallet_x.cc", 3422 "password_manager/native_backend_kwallet_x.cc",
3466 "password_manager/native_backend_kwallet_x.h", 3423 "password_manager/native_backend_kwallet_x.h",
3424 "password_manager/native_backend_libsecret.cc",
3425 "password_manager/native_backend_libsecret.h",
3467 "platform_util_linux.cc", 3426 "platform_util_linux.cc",
3468 "shell_integration_linux.cc", 3427 "shell_integration_linux.cc",
3469 "shell_integration_linux.h", 3428 "shell_integration_linux.h",
3470 "speech/tts_linux.cc", 3429 "speech/tts_linux.cc",
3471 "themes/theme_service_aurax11.cc", 3430 "themes/theme_service_aurax11.cc",
3472 "themes/theme_service_aurax11.h", 3431 "themes/theme_service_aurax11.h",
3473 "web_applications/web_app_linux.cc", 3432 "web_applications/web_app_linux.cc",
3474 ] 3433 ]
3434 defines += [ "USE_LIBSECRET" ]
3435 deps += [ "//third_party/libsecret" ]
3475 } 3436 }
3437
3476 if (enable_plugin_installation) { 3438 if (enable_plugin_installation) {
3477 sources += [ 3439 sources += [
3478 "plugins/plugin_installer.cc", 3440 "plugins/plugin_installer.cc",
3479 "plugins/plugin_installer.h", 3441 "plugins/plugin_installer.h",
3480 "plugins/plugin_installer_observer.cc", 3442 "plugins/plugin_installer_observer.cc",
3481 "plugins/plugin_installer_observer.h", 3443 "plugins/plugin_installer_observer.h",
3482 "plugins/plugins_resource_service.cc", 3444 "plugins/plugins_resource_service.cc",
3483 "plugins/plugins_resource_service.h", 3445 "plugins/plugins_resource_service.h",
3484 ] 3446 ]
3485 } 3447 }
3448
3486 if (enable_app_list) { 3449 if (enable_app_list) {
3487 deps += [ "//ui/app_list" ] 3450 deps += [ "//ui/app_list" ]
3488 } 3451 }
3452
3489 if (enable_supervised_users) { 3453 if (enable_supervised_users) {
3490 sources += [ 3454 sources += [
3491 "content_settings/content_settings_supervised_provider.cc", 3455 "content_settings/content_settings_supervised_provider.cc",
3492 "content_settings/content_settings_supervised_provider.h", 3456 "content_settings/content_settings_supervised_provider.h",
3493 "supervised_user/child_accounts/child_account_service.cc", 3457 "supervised_user/child_accounts/child_account_service.cc",
3494 "supervised_user/child_accounts/child_account_service.h", 3458 "supervised_user/child_accounts/child_account_service.h",
3495 "supervised_user/child_accounts/child_account_service_factory.cc", 3459 "supervised_user/child_accounts/child_account_service_factory.cc",
3496 "supervised_user/child_accounts/child_account_service_factory.h", 3460 "supervised_user/child_accounts/child_account_service_factory.h",
3497 "supervised_user/child_accounts/family_info_fetcher.cc", 3461 "supervised_user/child_accounts/family_info_fetcher.cc",
3498 "supervised_user/child_accounts/family_info_fetcher.h", 3462 "supervised_user/child_accounts/family_info_fetcher.h",
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
3655 if (enable_mdns) { 3619 if (enable_mdns) {
3656 sources += [ 3620 sources += [
3657 "local_discovery/service_discovery_client_impl.cc", 3621 "local_discovery/service_discovery_client_impl.cc",
3658 "local_discovery/service_discovery_client_impl.h", 3622 "local_discovery/service_discovery_client_impl.h",
3659 "local_discovery/service_discovery_client_mdns.cc", 3623 "local_discovery/service_discovery_client_mdns.cc",
3660 "local_discovery/service_discovery_client_mdns.h", 3624 "local_discovery/service_discovery_client_mdns.h",
3661 "printing/cloud_print/privet_traffic_detector.cc", 3625 "printing/cloud_print/privet_traffic_detector.cc",
3662 "printing/cloud_print/privet_traffic_detector.h", 3626 "printing/cloud_print/privet_traffic_detector.h",
3663 ] 3627 ]
3664 } 3628 }
3665 if (is_android) { 3629
3666 sources -= [
3667 "autofill/validation_rules_storage_factory.cc",
3668 "autofill/validation_rules_storage_factory.h",
3669 ]
3670 }
3671 if (enable_media_router) { 3630 if (enable_media_router) {
3672 deps += [ "//chrome/browser/media/router" ] 3631 deps += [ "//chrome/browser/media/router" ]
3673 } 3632 }
3674 3633
3675 if (enable_mojo_media) { 3634 if (enable_mojo_media) {
3676 configs += [ "//media/mojo/services:mojo_media_config" ] 3635 configs += [ "//media/mojo/services:mojo_media_config" ]
3677 sources += [ 3636 sources += [
3678 "media/output_protection_impl.cc", 3637 "media/output_protection_impl.cc",
3679 "media/output_protection_impl.h", 3638 "media/output_protection_impl.h",
3680 ] 3639 ]
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
4256 # linking all of the test support. 4215 # linking all of the test support.
4257 static_library("pepper_cdm_test_constants") { 4216 static_library("pepper_cdm_test_constants") {
4258 testonly = true 4217 testonly = true
4259 visibility = [ "//chrome/*" ] 4218 visibility = [ "//chrome/*" ]
4260 sources = [ 4219 sources = [
4261 "media/pepper_cdm_test_constants.cc", 4220 "media/pepper_cdm_test_constants.cc",
4262 "media/pepper_cdm_test_constants.h", 4221 "media/pepper_cdm_test_constants.h",
4263 ] 4222 ]
4264 } 4223 }
4265 } 4224 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698