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

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

Issue 2561013002: Remove the enable_themes build flag and define. (Closed)
Patch Set: Merge Created 4 years 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
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 2265 matching lines...) Expand 10 before | Expand all | Expand 10 after
2276 "certificate_manager_model.h", 2276 "certificate_manager_model.h",
2277 "net/nss_context.cc", 2277 "net/nss_context.cc",
2278 "net/nss_context.h", 2278 "net/nss_context.h",
2279 "net/nss_context_chromeos.cc", 2279 "net/nss_context_chromeos.cc",
2280 "net/nss_context_linux.cc", 2280 "net/nss_context_linux.cc",
2281 ] 2281 ]
2282 if (is_chromeos) { 2282 if (is_chromeos) {
2283 sources -= [ "net/nss_context_linux.cc" ] 2283 sources -= [ "net/nss_context_linux.cc" ]
2284 } 2284 }
2285 } 2285 }
2286 if (enable_themes) {
2287 sources += [
2288 "sync/glue/theme_data_type_controller.cc",
2289 "sync/glue/theme_data_type_controller.h",
2290 "themes/browser_theme_pack.cc",
2291 "themes/browser_theme_pack.h",
2292 "themes/custom_theme_supplier.cc",
2293 "themes/custom_theme_supplier.h",
2294 "themes/theme_properties.cc",
2295 "themes/theme_service.cc",
2296 "themes/theme_service.h",
2297 "themes/theme_service_factory.cc",
2298 "themes/theme_service_factory.h",
2299 "themes/theme_service_mac.mm",
2300 "themes/theme_syncable_service.cc",
2301 "themes/theme_syncable_service.h",
2302 ]
2303 deps += [ ":theme_properties" ]
2304 }
2305 2286
2306 if (enable_basic_printing || enable_print_preview) { 2287 if (enable_basic_printing || enable_print_preview) {
2307 # Some form of printing support. 2288 # Some form of printing support.
2308 sources += [ 2289 sources += [
2309 "printing/print_job.cc", 2290 "printing/print_job.cc",
2310 "printing/print_job.h", 2291 "printing/print_job.h",
2311 "printing/print_job_manager.cc", 2292 "printing/print_job_manager.cc",
2312 "printing/print_job_manager.h", 2293 "printing/print_job_manager.h",
2313 "printing/print_job_worker.cc", 2294 "printing/print_job_worker.cc",
2314 "printing/print_job_worker.h", 2295 "printing/print_job_worker.h",
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
2758 "speech/extension_api/tts_extension_api_constants.cc", # Should be moved to extensions section? 2739 "speech/extension_api/tts_extension_api_constants.cc", # Should be moved to extensions section?
2759 "speech/extension_api/tts_extension_api_constants.h", 2740 "speech/extension_api/tts_extension_api_constants.h",
2760 "ssl/ssl_client_auth_observer.cc", 2741 "ssl/ssl_client_auth_observer.cc",
2761 "ssl/ssl_client_auth_observer.h", 2742 "ssl/ssl_client_auth_observer.h",
2762 "status_icons/desktop_notification_balloon.cc", 2743 "status_icons/desktop_notification_balloon.cc",
2763 "status_icons/desktop_notification_balloon.h", 2744 "status_icons/desktop_notification_balloon.h",
2764 "sync/glue/extension_data_type_controller.cc", 2745 "sync/glue/extension_data_type_controller.cc",
2765 "sync/glue/extension_data_type_controller.h", 2746 "sync/glue/extension_data_type_controller.h",
2766 "sync/glue/extension_setting_data_type_controller.cc", 2747 "sync/glue/extension_setting_data_type_controller.cc",
2767 "sync/glue/extension_setting_data_type_controller.h", 2748 "sync/glue/extension_setting_data_type_controller.h",
2749 "sync/glue/theme_data_type_controller.cc",
2750 "sync/glue/theme_data_type_controller.h",
2768 "sync/sync_ui_util.cc", 2751 "sync/sync_ui_util.cc",
2769 "sync/sync_ui_util.h", 2752 "sync/sync_ui_util.h",
2770 "task_manager/providers/browser_process_task.cc", 2753 "task_manager/providers/browser_process_task.cc",
2771 "task_manager/providers/browser_process_task.h", 2754 "task_manager/providers/browser_process_task.h",
2772 "task_manager/providers/browser_process_task_provider.cc", 2755 "task_manager/providers/browser_process_task_provider.cc",
2773 "task_manager/providers/browser_process_task_provider.h", 2756 "task_manager/providers/browser_process_task_provider.h",
2774 "task_manager/providers/child_process_task.cc", 2757 "task_manager/providers/child_process_task.cc",
2775 "task_manager/providers/child_process_task.h", 2758 "task_manager/providers/child_process_task.h",
2776 "task_manager/providers/child_process_task_provider.cc", 2759 "task_manager/providers/child_process_task_provider.cc",
2777 "task_manager/providers/child_process_task_provider.h", 2760 "task_manager/providers/child_process_task_provider.h",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
2826 "task_manager/sampling/task_group_sampler.cc", 2809 "task_manager/sampling/task_group_sampler.cc",
2827 "task_manager/sampling/task_group_sampler.h", 2810 "task_manager/sampling/task_group_sampler.h",
2828 "task_manager/sampling/task_manager_impl.cc", 2811 "task_manager/sampling/task_manager_impl.cc",
2829 "task_manager/sampling/task_manager_impl.h", 2812 "task_manager/sampling/task_manager_impl.h",
2830 "task_manager/sampling/task_manager_io_thread_helper.cc", 2813 "task_manager/sampling/task_manager_io_thread_helper.cc",
2831 "task_manager/sampling/task_manager_io_thread_helper.h", 2814 "task_manager/sampling/task_manager_io_thread_helper.h",
2832 "task_manager/task_manager_interface.cc", 2815 "task_manager/task_manager_interface.cc",
2833 "task_manager/task_manager_interface.h", 2816 "task_manager/task_manager_interface.h",
2834 "task_manager/task_manager_observer.cc", 2817 "task_manager/task_manager_observer.cc",
2835 "task_manager/task_manager_observer.h", 2818 "task_manager/task_manager_observer.h",
2819 "themes/browser_theme_pack.cc",
2820 "themes/browser_theme_pack.h",
2821 "themes/custom_theme_supplier.cc",
2822 "themes/custom_theme_supplier.h",
2823 "themes/theme_properties.cc",
2824 "themes/theme_service.cc",
2825 "themes/theme_service.h",
2826 "themes/theme_service_factory.cc",
2827 "themes/theme_service_factory.h",
2828 "themes/theme_service_mac.mm",
2829 "themes/theme_syncable_service.cc",
2830 "themes/theme_syncable_service.h",
2836 "upgrade_detector.cc", 2831 "upgrade_detector.cc",
2837 "upgrade_detector.h", 2832 "upgrade_detector.h",
2838 "usb/usb_chooser_controller.cc", 2833 "usb/usb_chooser_controller.cc",
2839 "usb/usb_chooser_controller.h", 2834 "usb/usb_chooser_controller.h",
2840 "usb/web_usb_chooser_service.cc", 2835 "usb/web_usb_chooser_service.cc",
2841 "usb/web_usb_chooser_service.h", 2836 "usb/web_usb_chooser_service.h",
2842 "usb/web_usb_detector.cc", 2837 "usb/web_usb_detector.cc",
2843 "usb/web_usb_detector.h", 2838 "usb/web_usb_detector.h",
2844 ] 2839 ]
2845 deps += [ 2840 deps += [
2841 ":theme_properties",
2846 "//apps", 2842 "//apps",
2847 "//chrome/browser/policy:path_parser", 2843 "//chrome/browser/policy:path_parser",
2848 "//chrome/browser/profile_resetter:profile_reset_report_proto", 2844 "//chrome/browser/profile_resetter:profile_reset_report_proto",
2849 "//chrome/common/importer:interfaces", 2845 "//chrome/common/importer:interfaces",
2850 "//components/feedback", 2846 "//components/feedback",
2851 "//components/web_modal", 2847 "//components/web_modal",
2852 "//device/battery", 2848 "//device/battery",
2853 "//net:net_browser_services", 2849 "//net:net_browser_services",
2854 ] 2850 ]
2855 } 2851 }
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
3668 "supervised_user/supervised_user_sync_data_type_controller.cc", 3664 "supervised_user/supervised_user_sync_data_type_controller.cc",
3669 "supervised_user/supervised_user_sync_data_type_controller.h", 3665 "supervised_user/supervised_user_sync_data_type_controller.h",
3670 "supervised_user/supervised_user_url_filter.cc", 3666 "supervised_user/supervised_user_url_filter.cc",
3671 "supervised_user/supervised_user_url_filter.h", 3667 "supervised_user/supervised_user_url_filter.h",
3672 "supervised_user/supervised_user_whitelist_service.cc", 3668 "supervised_user/supervised_user_whitelist_service.cc",
3673 "supervised_user/supervised_user_whitelist_service.h", 3669 "supervised_user/supervised_user_whitelist_service.h",
3674 "supervised_user/supervised_users.h", 3670 "supervised_user/supervised_users.h",
3675 ] 3671 ]
3676 } 3672 }
3677 if (enable_supervised_users && !is_android) { 3673 if (enable_supervised_users && !is_android) {
3678 # TODO(bauerb): This code should be removed (on desktop) once child account
3679 # support has launched (https://crbug.com/505443).
3680 sources += [ 3674 sources += [
3675 # TODO(bauerb): The legacy code should be removed (on desktop) once child
3676 # account support has launched (https://crbug.com/505443).
3681 "supervised_user/legacy/custodian_profile_downloader_service.cc", 3677 "supervised_user/legacy/custodian_profile_downloader_service.cc",
3682 "supervised_user/legacy/custodian_profile_downloader_service.h", 3678 "supervised_user/legacy/custodian_profile_downloader_service.h",
3683 "supervised_user/legacy/custodian_profile_downloader_service_factory.cc", 3679 "supervised_user/legacy/custodian_profile_downloader_service_factory.cc",
3684 "supervised_user/legacy/custodian_profile_downloader_service_factory.h", 3680 "supervised_user/legacy/custodian_profile_downloader_service_factory.h",
3685 "supervised_user/legacy/permission_request_creator_sync.cc", 3681 "supervised_user/legacy/permission_request_creator_sync.cc",
3686 "supervised_user/legacy/permission_request_creator_sync.h", 3682 "supervised_user/legacy/permission_request_creator_sync.h",
3687 "supervised_user/legacy/supervised_user_pref_mapping_service.cc", 3683 "supervised_user/legacy/supervised_user_pref_mapping_service.cc",
3688 "supervised_user/legacy/supervised_user_pref_mapping_service.h", 3684 "supervised_user/legacy/supervised_user_pref_mapping_service.h",
3689 "supervised_user/legacy/supervised_user_pref_mapping_service_factory.cc", 3685 "supervised_user/legacy/supervised_user_pref_mapping_service_factory.cc",
3690 "supervised_user/legacy/supervised_user_pref_mapping_service_factory.h", 3686 "supervised_user/legacy/supervised_user_pref_mapping_service_factory.h",
3691 "supervised_user/legacy/supervised_user_refresh_token_fetcher.cc", 3687 "supervised_user/legacy/supervised_user_refresh_token_fetcher.cc",
3692 "supervised_user/legacy/supervised_user_refresh_token_fetcher.h", 3688 "supervised_user/legacy/supervised_user_refresh_token_fetcher.h",
3693 "supervised_user/legacy/supervised_user_registration_utility.cc", 3689 "supervised_user/legacy/supervised_user_registration_utility.cc",
3694 "supervised_user/legacy/supervised_user_registration_utility.h", 3690 "supervised_user/legacy/supervised_user_registration_utility.h",
3695 "supervised_user/legacy/supervised_user_registration_utility_stub.cc", 3691 "supervised_user/legacy/supervised_user_registration_utility_stub.cc",
3696 "supervised_user/legacy/supervised_user_registration_utility_stub.h", 3692 "supervised_user/legacy/supervised_user_registration_utility_stub.h",
3697 "supervised_user/legacy/supervised_user_shared_settings_service.cc", 3693 "supervised_user/legacy/supervised_user_shared_settings_service.cc",
3698 "supervised_user/legacy/supervised_user_shared_settings_service.h", 3694 "supervised_user/legacy/supervised_user_shared_settings_service.h",
3699 "supervised_user/legacy/supervised_user_shared_settings_service_factory.cc ", 3695 "supervised_user/legacy/supervised_user_shared_settings_service_factory.cc ",
3700 "supervised_user/legacy/supervised_user_shared_settings_service_factory.h" , 3696 "supervised_user/legacy/supervised_user_shared_settings_service_factory.h" ,
3701 "supervised_user/legacy/supervised_user_shared_settings_update.cc", 3697 "supervised_user/legacy/supervised_user_shared_settings_update.cc",
3702 "supervised_user/legacy/supervised_user_shared_settings_update.h", 3698 "supervised_user/legacy/supervised_user_shared_settings_update.h",
3703 "supervised_user/legacy/supervised_user_sync_service.cc", 3699 "supervised_user/legacy/supervised_user_sync_service.cc",
3704 "supervised_user/legacy/supervised_user_sync_service.h", 3700 "supervised_user/legacy/supervised_user_sync_service.h",
3705 "supervised_user/legacy/supervised_user_sync_service_factory.cc", 3701 "supervised_user/legacy/supervised_user_sync_service_factory.cc",
3706 "supervised_user/legacy/supervised_user_sync_service_factory.h", 3702 "supervised_user/legacy/supervised_user_sync_service_factory.h",
3707 "supervised_user/legacy/supervised_user_sync_service_observer.h", 3703 "supervised_user/legacy/supervised_user_sync_service_observer.h",
3708 ]
3709 }
3710 if (enable_supervised_users && enable_themes) {
3711 sources += [
3712 "supervised_user/supervised_user_theme.cc", 3704 "supervised_user/supervised_user_theme.cc",
3713 "supervised_user/supervised_user_theme.h", 3705 "supervised_user/supervised_user_theme.h",
3714 ] 3706 ]
3715 } 3707 }
3716 if (enable_supervised_users && !is_android && !is_chromeos) { 3708 if (enable_supervised_users && !is_android && !is_chromeos) {
3717 sources += [ 3709 sources += [
3718 "supervised_user/supervised_user_creation_policy_handler.cc", 3710 "supervised_user/supervised_user_creation_policy_handler.cc",
3719 "supervised_user/supervised_user_creation_policy_handler.h", 3711 "supervised_user/supervised_user_creation_policy_handler.h",
3720 ] 3712 ]
3721 } 3713 }
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
4445 # linking all of the test support. 4437 # linking all of the test support.
4446 static_library("pepper_cdm_test_constants") { 4438 static_library("pepper_cdm_test_constants") {
4447 testonly = true 4439 testonly = true
4448 visibility = [ "//chrome/*" ] 4440 visibility = [ "//chrome/*" ]
4449 sources = [ 4441 sources = [
4450 "media/pepper_cdm_test_constants.cc", 4442 "media/pepper_cdm_test_constants.cc",
4451 "media/pepper_cdm_test_constants.h", 4443 "media/pepper_cdm_test_constants.h",
4452 ] 4444 ]
4453 } 4445 }
4454 } 4446 }
OLDNEW
« no previous file with comments | « build/config/features.gni ('k') | chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698