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

Side by Side Diff: chrome/chrome_browser.gypi

Issue 472213002: Mark some files/targets as compiled only when their associated feature is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/chrome_resources.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 # All .cc, .h, .m, and .mm files under browser except for: 7 # All .cc, .h, .m, and .mm files under browser except for:
8 # * tests and mocks. 8 # * tests and mocks.
9 # * code below browser/chromeos 9 # * code below browser/chromeos
10 # * code below browser/extensions 10 # * code below browser/extensions
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 'browser/media/midi_permission_context.h', 691 'browser/media/midi_permission_context.h',
692 'browser/media/midi_permission_context_factory.cc', 692 'browser/media/midi_permission_context_factory.cc',
693 'browser/media/midi_permission_context_factory.h', 693 'browser/media/midi_permission_context_factory.h',
694 'browser/media/midi_permission_infobar_delegate.cc', 694 'browser/media/midi_permission_infobar_delegate.cc',
695 'browser/media/midi_permission_infobar_delegate.h', 695 'browser/media/midi_permission_infobar_delegate.h',
696 'browser/media/native_desktop_media_list.cc', 696 'browser/media/native_desktop_media_list.cc',
697 'browser/media/native_desktop_media_list.h', 697 'browser/media/native_desktop_media_list.h',
698 # TODO(brettw) should this go with the webrtc sources? 698 # TODO(brettw) should this go with the webrtc sources?
699 'browser/media/webrtc_log_list.cc', 699 'browser/media/webrtc_log_list.cc',
700 'browser/media/webrtc_log_list.h', 700 'browser/media/webrtc_log_list.h',
701 'browser/media_galleries/gallery_watch_manager.cc',
702 'browser/media_galleries/gallery_watch_manager.h',
703 'browser/media_galleries/gallery_watch_manager_observer.h',
704 'browser/memory_details.cc', 701 'browser/memory_details.cc',
705 'browser/memory_details.h', 702 'browser/memory_details.h',
706 'browser/memory_details_android.cc', 703 'browser/memory_details_android.cc',
707 'browser/memory_details_linux.cc', 704 'browser/memory_details_linux.cc',
708 'browser/memory_details_mac.cc', 705 'browser/memory_details_mac.cc',
709 'browser/memory_details_win.cc', 706 'browser/memory_details_win.cc',
710 'browser/metrics/chrome_browser_main_extra_parts_metrics.cc', 707 'browser/metrics/chrome_browser_main_extra_parts_metrics.cc',
711 'browser/metrics/chrome_browser_main_extra_parts_metrics.h', 708 'browser/metrics/chrome_browser_main_extra_parts_metrics.h',
712 'browser/metrics/chrome_metrics_service_accessor.cc', 709 'browser/metrics/chrome_metrics_service_accessor.cc',
713 'browser/metrics/chrome_metrics_service_accessor.h', 710 'browser/metrics/chrome_metrics_service_accessor.h',
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1897 'browser/themes/theme_service.cc', 1894 'browser/themes/theme_service.cc',
1898 'browser/themes/theme_service_factory.cc', 1895 'browser/themes/theme_service_factory.cc',
1899 'browser/themes/theme_service_factory.h', 1896 'browser/themes/theme_service_factory.h',
1900 'browser/themes/theme_service.h', 1897 'browser/themes/theme_service.h',
1901 'browser/themes/theme_service_mac.mm', 1898 'browser/themes/theme_service_mac.mm',
1902 'browser/themes/theme_syncable_service.cc', 1899 'browser/themes/theme_syncable_service.cc',
1903 'browser/themes/theme_syncable_service.h', 1900 'browser/themes/theme_syncable_service.h',
1904 ], 1901 ],
1905 # Used both when enable_printing == 1 (full) and == 2 (basic) 1902 # Used both when enable_printing == 1 (full) and == 2 (basic)
1906 'chrome_browser_basic_printing_sources': [ 1903 'chrome_browser_basic_printing_sources': [
1907 'browser/printing/print_dialog_cloud.cc',
1908 'browser/printing/print_dialog_cloud.h',
1909 'browser/printing/print_job.cc', 1904 'browser/printing/print_job.cc',
1910 'browser/printing/print_job.h', 1905 'browser/printing/print_job.h',
1911 'browser/printing/print_job_manager.cc', 1906 'browser/printing/print_job_manager.cc',
1912 'browser/printing/print_job_manager.h', 1907 'browser/printing/print_job_manager.h',
1913 'browser/printing/print_job_worker.cc', 1908 'browser/printing/print_job_worker.cc',
1914 'browser/printing/print_job_worker.h', 1909 'browser/printing/print_job_worker.h',
1915 'browser/printing/print_job_worker_owner.h', 1910 'browser/printing/print_job_worker_owner.h',
1916 'browser/printing/print_view_manager_base.cc', 1911 'browser/printing/print_view_manager_base.cc',
1917 'browser/printing/print_view_manager_base.h', 1912 'browser/printing/print_view_manager_base.h',
1918 'browser/printing/printer_query.cc', 1913 'browser/printing/printer_query.cc',
1919 'browser/printing/printer_query.h', 1914 'browser/printing/printer_query.h',
1920 'browser/printing/printing_message_filter.cc', 1915 'browser/printing/printing_message_filter.cc',
1921 'browser/printing/printing_message_filter.h', 1916 'browser/printing/printing_message_filter.h',
1922 'browser/printing/printing_ui_web_contents_observer.cc', 1917 'browser/printing/printing_ui_web_contents_observer.cc',
1923 'browser/printing/printing_ui_web_contents_observer.h', 1918 'browser/printing/printing_ui_web_contents_observer.h',
1924 ], 1919 ],
1925 # Used on top of the "basic" sources when enable_printing == 1 (full). 1920 # Used on top of the "basic" sources when enable_printing == 1 (full).
1926 'chrome_browser_full_printing_sources': [ 1921 'chrome_browser_full_printing_sources': [
1927 'browser/local_discovery/privet_http_impl.cc', 1922 'browser/local_discovery/privet_http_impl.cc',
1928 'browser/local_discovery/privet_http_impl.h', 1923 'browser/local_discovery/privet_http_impl.h',
1929 'browser/local_discovery/pwg_raster_converter.cc', 1924 'browser/local_discovery/pwg_raster_converter.cc',
1930 'browser/local_discovery/pwg_raster_converter.h', 1925 'browser/local_discovery/pwg_raster_converter.h',
1931 'browser/printing/background_printing_manager.cc', 1926 'browser/printing/background_printing_manager.cc',
1932 'browser/printing/background_printing_manager.h', 1927 'browser/printing/background_printing_manager.h',
1933 'browser/printing/cloud_print/cloud_print_proxy_service.cc', 1928 'browser/printing/cloud_print/cloud_print_proxy_service.cc',
1934 'browser/printing/cloud_print/cloud_print_proxy_service_factory.cc', 1929 'browser/printing/cloud_print/cloud_print_proxy_service_factory.cc',
1935 'browser/printing/cloud_print/cloud_print_proxy_service_factory.h', 1930 'browser/printing/cloud_print/cloud_print_proxy_service_factory.h',
1936 'browser/printing/cloud_print/cloud_print_proxy_service.h', 1931 'browser/printing/cloud_print/cloud_print_proxy_service.h',
1932 'browser/printing/print_dialog_cloud.cc',
1933 'browser/printing/print_dialog_cloud.h',
1937 'browser/printing/printer_manager_dialog.h', 1934 'browser/printing/printer_manager_dialog.h',
1938 'browser/printing/printer_manager_dialog_linux.cc', 1935 'browser/printing/printer_manager_dialog_linux.cc',
1939 'browser/printing/printer_manager_dialog_mac.mm', 1936 'browser/printing/printer_manager_dialog_mac.mm',
1940 'browser/printing/printer_manager_dialog_win.cc', 1937 'browser/printing/printer_manager_dialog_win.cc',
1941 'browser/printing/print_error_dialog.cc', 1938 'browser/printing/print_error_dialog.cc',
1942 'browser/printing/print_error_dialog.h', 1939 'browser/printing/print_error_dialog.h',
1943 'browser/printing/print_preview_context_menu_observer.cc', 1940 'browser/printing/print_preview_context_menu_observer.cc',
1944 'browser/printing/print_preview_context_menu_observer.h', 1941 'browser/printing/print_preview_context_menu_observer.h',
1945 'browser/printing/print_preview_data_service.cc', 1942 'browser/printing/print_preview_data_service.cc',
1946 'browser/printing/print_preview_data_service.h', 1943 'browser/printing/print_preview_data_service.h',
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
2115 'browser/media_galleries/fileapi/readahead_file_stream_reader.cc', 2112 'browser/media_galleries/fileapi/readahead_file_stream_reader.cc',
2116 'browser/media_galleries/fileapi/readahead_file_stream_reader.h', 2113 'browser/media_galleries/fileapi/readahead_file_stream_reader.h',
2117 'browser/media_galleries/fileapi/safe_audio_video_checker.cc', 2114 'browser/media_galleries/fileapi/safe_audio_video_checker.cc',
2118 'browser/media_galleries/fileapi/safe_audio_video_checker.h', 2115 'browser/media_galleries/fileapi/safe_audio_video_checker.h',
2119 'browser/media_galleries/fileapi/safe_media_metadata_parser.cc', 2116 'browser/media_galleries/fileapi/safe_media_metadata_parser.cc',
2120 'browser/media_galleries/fileapi/safe_media_metadata_parser.h', 2117 'browser/media_galleries/fileapi/safe_media_metadata_parser.h',
2121 'browser/media_galleries/fileapi/supported_audio_video_checker.cc', 2118 'browser/media_galleries/fileapi/supported_audio_video_checker.cc',
2122 'browser/media_galleries/fileapi/supported_audio_video_checker.h', 2119 'browser/media_galleries/fileapi/supported_audio_video_checker.h',
2123 'browser/media_galleries/fileapi/supported_image_type_validator.cc', 2120 'browser/media_galleries/fileapi/supported_image_type_validator.cc',
2124 'browser/media_galleries/fileapi/supported_image_type_validator.h', 2121 'browser/media_galleries/fileapi/supported_image_type_validator.h',
2122 'browser/media_galleries/gallery_watch_manager.cc',
2123 'browser/media_galleries/gallery_watch_manager.h',
2124 'browser/media_galleries/gallery_watch_manager_observer.h',
2125 'browser/media_galleries/imported_media_gallery_registry.cc', 2125 'browser/media_galleries/imported_media_gallery_registry.cc',
2126 'browser/media_galleries/imported_media_gallery_registry.h', 2126 'browser/media_galleries/imported_media_gallery_registry.h',
2127 'browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc', 2127 'browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc',
2128 'browser/media_galleries/linux/mtp_device_delegate_impl_linux.h', 2128 'browser/media_galleries/linux/mtp_device_delegate_impl_linux.h',
2129 'browser/media_galleries/linux/mtp_device_object_enumerator.cc', 2129 'browser/media_galleries/linux/mtp_device_object_enumerator.cc',
2130 'browser/media_galleries/linux/mtp_device_object_enumerator.h', 2130 'browser/media_galleries/linux/mtp_device_object_enumerator.h',
2131 'browser/media_galleries/linux/mtp_device_task_helper.cc', 2131 'browser/media_galleries/linux/mtp_device_task_helper.cc',
2132 'browser/media_galleries/linux/mtp_device_task_helper.h', 2132 'browser/media_galleries/linux/mtp_device_task_helper.h',
2133 'browser/media_galleries/linux/mtp_device_task_helper_map_service.cc', 2133 'browser/media_galleries/linux/mtp_device_task_helper_map_service.cc',
2134 'browser/media_galleries/linux/mtp_device_task_helper_map_service.h', 2134 'browser/media_galleries/linux/mtp_device_task_helper_map_service.h',
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after
3497 # GN version: //chrome/browser/history:in_memory_url_index_cache_proto 3497 # GN version: //chrome/browser/history:in_memory_url_index_cache_proto
3498 'target_name': 'in_memory_url_index_cache_proto', 3498 'target_name': 'in_memory_url_index_cache_proto',
3499 'type': 'static_library', 3499 'type': 'static_library',
3500 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ], 3500 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ],
3501 'variables': { 3501 'variables': {
3502 'proto_in_dir': 'browser/history', 3502 'proto_in_dir': 'browser/history',
3503 'proto_out_dir': 'chrome/browser/history', 3503 'proto_out_dir': 'chrome/browser/history',
3504 }, 3504 },
3505 'includes': [ '../build/protoc.gypi' ] 3505 'includes': [ '../build/protoc.gypi' ]
3506 }, 3506 },
3507 {
3508 # Protobuf compiler / generator for Sync FileSystem protocol buffer.
3509 # GN version: //chrome/browser/sync_file_system:sync_file_system_proto
3510 'target_name': 'sync_file_system_proto',
3511 'type': 'static_library',
3512 'sources': [
3513 'browser/sync_file_system/sync_file_system.proto',
3514 ],
3515 'variables': {
3516 'proto_in_dir': 'browser/sync_file_system',
3517 'proto_out_dir': 'chrome/browser/sync_file_system',
3518 },
3519 'includes': [ '../build/protoc.gypi' ]
3520 },
3521 {
3522 # Protobuf compiler / generator for Sync FileSystem protocol buffer.
3523 # GN version: //chrome/browser/sync_file_system/drive_backend:sync_file_sy stem_drive_proto
3524 'target_name': 'sync_file_system_drive_proto',
3525 'type': 'static_library',
3526 'sources': [
3527 'browser/sync_file_system/drive_backend/metadata_database.proto',
3528 ],
3529 'variables': {
3530 'proto_in_dir': 'browser/sync_file_system/drive_backend',
3531 'proto_out_dir': 'chrome/browser/sync_file_system/drive_backend',
3532 },
3533 'includes': [ '../build/protoc.gypi' ]
3534 },
3535 ], 3507 ],
3536 'conditions': [ 3508 'conditions': [
3537 ['OS=="android"', { 3509 ['OS=="android"', {
3538 'targets': [ 3510 'targets': [
3539 { 3511 {
3540 'target_name': 'chrome_browser_jni_headers', 3512 'target_name': 'chrome_browser_jni_headers',
3541 'type': 'none', 3513 'type': 'none',
3542 'sources': [ '<@(chrome_browser_jni_sources)' ], 3514 'sources': [ '<@(chrome_browser_jni_sources)' ],
3543 'variables': { 3515 'variables': {
3544 'jni_gen_package': 'chrome', 3516 'jni_gen_package': 'chrome',
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
3611 'sources': [ 3583 'sources': [
3612 'android/java/TabLoadStatus.template', 3584 'android/java/TabLoadStatus.template',
3613 ], 3585 ],
3614 'variables': { 3586 'variables': {
3615 'package_name': 'org/chromium/chrome/browser', 3587 'package_name': 'org/chromium/chrome/browser',
3616 'template_deps': ['browser/android/tab_load_status.h'], 3588 'template_deps': ['browser/android/tab_load_status.h'],
3617 }, 3589 },
3618 'includes': [ '../build/android/java_cpp_template.gypi' ], 3590 'includes': [ '../build/android/java_cpp_template.gypi' ],
3619 }, 3591 },
3620 ], 3592 ],
3621 }, 3593 },],
3622 ], 3594 ['enable_extensions==1', {
3595 'targets': [
3596 {
3597 # Protobuf compiler / generator for Sync FileSystem protocol buffer.
3598 # GN version: //chrome/browser/sync_file_system:sync_file_system_proto
3599 'target_name': 'sync_file_system_proto',
3600 'type': 'static_library',
3601 'sources': [
3602 'browser/sync_file_system/sync_file_system.proto',
3603 ],
3604 'variables': {
3605 'proto_in_dir': 'browser/sync_file_system',
3606 'proto_out_dir': 'chrome/browser/sync_file_system',
3607 },
3608 'includes': [ '../build/protoc.gypi' ]
3609 },
3610 {
3611 # Protobuf compiler / generator for Sync FileSystem protocol buffer.
3612 # GN version: //chrome/browser/sync_file_system/drive_backend:sync_fil e_system_drive_proto
3613 'target_name': 'sync_file_system_drive_proto',
3614 'type': 'static_library',
3615 'sources': [
3616 'browser/sync_file_system/drive_backend/metadata_database.proto',
3617 ],
3618 'variables': {
3619 'proto_in_dir': 'browser/sync_file_system/drive_backend',
3620 'proto_out_dir': 'chrome/browser/sync_file_system/drive_backend',
3621 },
3622 'includes': [ '../build/protoc.gypi' ]
3623 },
3624 ],
3625 },],
3623 ], 3626 ],
3624 } 3627 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/chrome_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698