OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 | 480 |
481 # Whether to back up data before sync. | 481 # Whether to back up data before sync. |
482 'enable_pre_sync_backup%': 0, | 482 'enable_pre_sync_backup%': 0, |
483 | 483 |
484 # Enable Chrome browser extensions | 484 # Enable Chrome browser extensions |
485 'enable_extensions%': 1, | 485 'enable_extensions%': 1, |
486 | 486 |
487 # Enable Google Now. | 487 # Enable Google Now. |
488 'enable_google_now%': 1, | 488 'enable_google_now%': 1, |
489 | 489 |
490 # Enable printing support and UI. This variable is used to configure | 490 # Enable basic printing support and UI. |
491 # which parts of printing will be built. 0 disables printing completely, | 491 'enable_basic_printing%': 1, |
492 # 1 enables it fully, and 2 enables only the codepath to generate a | 492 |
493 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud | 493 # Enable printing with print preview. It does not imply |
494 # print, UI, etc. | 494 # enable_basic_printing. It's possible to build Chrome with preview only. |
495 'enable_printing%': 1, | 495 'enable_print_preview%': 1, |
496 | 496 |
497 # Set the version of CLD. | 497 # Set the version of CLD. |
498 # 0: Don't specify the version. This option is for the Finch testing. | 498 # 0: Don't specify the version. This option is for the Finch testing. |
499 # 1: Use only CLD1. | 499 # 1: Use only CLD1. |
500 # 2: Use only CLD2. | 500 # 2: Use only CLD2. |
501 'cld_version%': 2, | 501 'cld_version%': 2, |
502 | 502 |
503 # For CLD2, the size of the tables that should be included in the build | 503 # For CLD2, the size of the tables that should be included in the build |
504 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data | 504 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data |
505 # tool explicitly. | 505 # tool explicitly. |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 'enable_extensions%': 0, | 763 'enable_extensions%': 0, |
764 'enable_google_now%': 0, | 764 'enable_google_now%': 0, |
765 'cld_version%': 1, | 765 'cld_version%': 1, |
766 'enable_spellcheck%': 0, | 766 'enable_spellcheck%': 0, |
767 'enable_themes%': 0, | 767 'enable_themes%': 0, |
768 'remoting%': 0, | 768 'remoting%': 0, |
769 'arm_neon%': 0, | 769 'arm_neon%': 0, |
770 'arm_neon_optional%': 1, | 770 'arm_neon_optional%': 1, |
771 'native_discardable_memory%': 1, | 771 'native_discardable_memory%': 1, |
772 'native_memory_pressure_signals%': 1, | 772 'native_memory_pressure_signals%': 1, |
773 'enable_printing%': 2, | 773 'enable_basic_printing%': 1, |
| 774 'enable_print_preview%': 0, |
774 'enable_task_manager%':0, | 775 'enable_task_manager%':0, |
775 'video_hole%': 1, | 776 'video_hole%': 1, |
776 }], | 777 }], |
777 | 778 |
778 # Android OS includes support for proprietary codecs regardless of | 779 # Android OS includes support for proprietary codecs regardless of |
779 # building Chromium or Google Chrome. We also ship Google Chrome and | 780 # building Chromium or Google Chrome. We also ship Google Chrome and |
780 # Chromecast with proprietary codecs. | 781 # Chromecast with proprietary codecs. |
781 ['OS=="android" or branding=="Chrome" or chromecast==1', { | 782 ['OS=="android" or branding=="Chrome" or chromecast==1', { |
782 'proprietary_codecs%': 1, | 783 'proprietary_codecs%': 1, |
783 }, { | 784 }, { |
(...skipping 18 matching lines...) Expand all Loading... |
802 | 803 |
803 ['OS=="android"', { | 804 ['OS=="android"', { |
804 'enable_webrtc%': 1, | 805 'enable_webrtc%': 1, |
805 }], | 806 }], |
806 | 807 |
807 ['OS=="ios"', { | 808 ['OS=="ios"', { |
808 'disable_ftp_support%': 1, | 809 'disable_ftp_support%': 1, |
809 'enable_extensions%': 0, | 810 'enable_extensions%': 0, |
810 'enable_google_now%': 0, | 811 'enable_google_now%': 0, |
811 'cld_version%': 1, | 812 'cld_version%': 1, |
812 'enable_printing%': 0, | 813 'enable_basic_printing%': 0, |
| 814 'enable_print_preview%': 0, |
813 'enable_session_service%': 0, | 815 'enable_session_service%': 0, |
814 'enable_themes%': 0, | 816 'enable_themes%': 0, |
815 'enable_webrtc%': 0, | 817 'enable_webrtc%': 0, |
816 'notifications%': 0, | 818 'notifications%': 0, |
817 'remoting%': 0, | 819 'remoting%': 0, |
818 'safe_browsing%': 0, | 820 'safe_browsing%': 0, |
819 'enable_managed_users%': 0, | 821 'enable_managed_users%': 0, |
820 'enable_task_manager%': 0, | 822 'enable_task_manager%': 0, |
821 'use_system_libcxx%': 1, | 823 'use_system_libcxx%': 1, |
822 'support_pre_M6_history_database%': 0, | 824 'support_pre_M6_history_database%': 0, |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 # TODO(dpranke): http://crbug.com/266155 . | 974 # TODO(dpranke): http://crbug.com/266155 . |
973 ['OS=="android"', { | 975 ['OS=="android"', { |
974 'v8_optimized_debug%': 1, | 976 'v8_optimized_debug%': 1, |
975 }, { | 977 }, { |
976 'v8_optimized_debug%': 2, | 978 'v8_optimized_debug%': 2, |
977 }], | 979 }], |
978 | 980 |
979 # Disable various features by default on embedded. | 981 # Disable various features by default on embedded. |
980 ['embedded==1', { | 982 ['embedded==1', { |
981 'remoting%': 0, | 983 'remoting%': 0, |
982 'enable_printing%': 0, | 984 'enable_basic_printing%': 0, |
| 985 'enable_print_preview%': 0, |
983 }], | 986 }], |
984 | 987 |
985 # By default, use ICU data file (icudtl.dat) on all platforms | 988 # By default, use ICU data file (icudtl.dat) on all platforms |
986 # except when building Android WebView or Chromecast. | 989 # except when building Android WebView or Chromecast. |
987 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). | 990 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). |
988 # Set the data reduction proxy origin for Android Webview. | 991 # Set the data reduction proxy origin for Android Webview. |
989 ['android_webview_build==0 and android_webview_telemetry_build==0 and ch
romecast==0', { | 992 ['android_webview_build==0 and android_webview_telemetry_build==0 and ch
romecast==0', { |
990 'icu_use_data_file_flag%' : 1, | 993 'icu_use_data_file_flag%' : 1, |
991 }, { | 994 }, { |
992 'icu_use_data_file_flag%' : 0, | 995 'icu_use_data_file_flag%' : 0, |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 'enable_prod_wallet_service%': '<(enable_prod_wallet_service)', | 1171 'enable_prod_wallet_service%': '<(enable_prod_wallet_service)', |
1169 'enable_background%': '<(enable_background)', | 1172 'enable_background%': '<(enable_background)', |
1170 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', | 1173 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', |
1171 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)', | 1174 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)', |
1172 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 1175 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
1173 'linux_use_debug_fission%': '<(linux_use_debug_fission)', | 1176 'linux_use_debug_fission%': '<(linux_use_debug_fission)', |
1174 'use_canvas_skia%': '<(use_canvas_skia)', | 1177 'use_canvas_skia%': '<(use_canvas_skia)', |
1175 'test_isolation_mode%': '<(test_isolation_mode)', | 1178 'test_isolation_mode%': '<(test_isolation_mode)', |
1176 'test_isolation_outdir%': '<(test_isolation_outdir)', | 1179 'test_isolation_outdir%': '<(test_isolation_outdir)', |
1177 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', | 1180 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', |
1178 'enable_printing%': '<(enable_printing)', | 1181 'enable_basic_printing%': '<(enable_basic_printing)', |
| 1182 'enable_print_preview%': '<(enable_print_preview)', |
1179 'enable_spellcheck%': '<(enable_spellcheck)', | 1183 'enable_spellcheck%': '<(enable_spellcheck)', |
1180 'enable_google_now%': '<(enable_google_now)', | 1184 'enable_google_now%': '<(enable_google_now)', |
1181 'cld_version%': '<(cld_version)', | 1185 'cld_version%': '<(cld_version)', |
1182 'cld2_table_size%': '<(cld2_table_size)', | 1186 'cld2_table_size%': '<(cld2_table_size)', |
1183 'cld2_data_source%': '<(cld2_data_source)', | 1187 'cld2_data_source%': '<(cld2_data_source)', |
1184 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 1188 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
1185 'disable_file_support%': '<(disable_file_support)', | 1189 'disable_file_support%': '<(disable_file_support)', |
1186 'disable_ftp_support%': '<(disable_ftp_support)', | 1190 'disable_ftp_support%': '<(disable_ftp_support)', |
1187 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', | 1191 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', |
1188 'enable_task_manager%': '<(enable_task_manager)', | 1192 'enable_task_manager%': '<(enable_task_manager)', |
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2089 'clang_xcode%': 1, | 2093 'clang_xcode%': 1, |
2090 }], | 2094 }], |
2091 ], | 2095 ], |
2092 }], | 2096 }], |
2093 ['enable_extensions==1', { | 2097 ['enable_extensions==1', { |
2094 'grit_defines': ['-D', 'enable_extensions'], | 2098 'grit_defines': ['-D', 'enable_extensions'], |
2095 }], | 2099 }], |
2096 ['enable_plugins!=0', { | 2100 ['enable_plugins!=0', { |
2097 'grit_defines': ['-D', 'enable_plugins'], | 2101 'grit_defines': ['-D', 'enable_plugins'], |
2098 }], | 2102 }], |
2099 ['enable_printing!=0', { | 2103 ['enable_basic_printing==1 or enable_print_preview==1', { |
2100 'grit_defines': ['-D', 'enable_printing'], | 2104 'grit_defines': ['-D', 'enable_printing'], |
2101 }], | 2105 }], |
2102 ['enable_printing==1', { | 2106 ['enable_print_preview==1', { |
2103 'grit_defines': ['-D', 'enable_print_preview'], | 2107 'grit_defines': ['-D', 'enable_print_preview'], |
2104 }], | 2108 }], |
2105 ['enable_themes==1', { | 2109 ['enable_themes==1', { |
2106 'grit_defines': ['-D', 'enable_themes'], | 2110 'grit_defines': ['-D', 'enable_themes'], |
2107 }], | 2111 }], |
2108 ['enable_app_list==1', { | 2112 ['enable_app_list==1', { |
2109 'grit_defines': ['-D', 'enable_app_list'], | 2113 'grit_defines': ['-D', 'enable_app_list'], |
2110 }], | 2114 }], |
2111 ['enable_settings_app==1', { | 2115 ['enable_settings_app==1', { |
2112 'grit_defines': ['-D', 'enable_settings_app'], | 2116 'grit_defines': ['-D', 'enable_settings_app'], |
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2916 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2920 'defines': ['ENABLE_GOOGLE_NOW=1'], |
2917 }], | 2921 }], |
2918 ['cld_version!=0', { | 2922 ['cld_version!=0', { |
2919 'defines': ['CLD_VERSION=<(cld_version)'], | 2923 'defines': ['CLD_VERSION=<(cld_version)'], |
2920 }], | 2924 }], |
2921 ['cld_version==2', { | 2925 ['cld_version==2', { |
2922 # This is used to populate the "CLD Data Source" field in: | 2926 # This is used to populate the "CLD Data Source" field in: |
2923 # chrome://translate-internals | 2927 # chrome://translate-internals |
2924 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'], | 2928 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'], |
2925 }], | 2929 }], |
2926 ['enable_printing!=0', { | 2930 ['enable_basic_printing==1 or enable_print_preview==1', { |
2927 'defines': ['ENABLE_PRINTING=1', 'ENABLE_BASIC_PRINTING=1'], | 2931 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. |
| 2932 'defines': ['ENABLE_PRINTING=1'], |
2928 }], | 2933 }], |
2929 ['enable_printing==1', { | 2934 ['enable_basic_printing==1', { |
| 2935 # Enable basic printing support and UI. |
| 2936 'defines': ['ENABLE_BASIC_PRINTING=1'], |
| 2937 }], |
| 2938 ['enable_print_preview==1', { |
| 2939 # Enable printing with print preview. |
| 2940 # Can be defined without ENABLE_BASIC_PRINTING. |
2930 'defines': ['ENABLE_PRINT_PREVIEW=1'], | 2941 'defines': ['ENABLE_PRINT_PREVIEW=1'], |
2931 }], | 2942 }], |
2932 ['enable_spellcheck==1', { | 2943 ['enable_spellcheck==1', { |
2933 'defines': ['ENABLE_SPELLCHECK=1'], | 2944 'defines': ['ENABLE_SPELLCHECK=1'], |
2934 }], | 2945 }], |
2935 ['enable_captive_portal_detection==1', { | 2946 ['enable_captive_portal_detection==1', { |
2936 'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'], | 2947 'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'], |
2937 }], | 2948 }], |
2938 ['enable_app_list==1', { | 2949 ['enable_app_list==1', { |
2939 'defines': ['ENABLE_APP_LIST=1'], | 2950 'defines': ['ENABLE_APP_LIST=1'], |
(...skipping 2952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5892 # settings in target dicts. SYMROOT is a special case, because many other | 5903 # settings in target dicts. SYMROOT is a special case, because many other |
5893 # Xcode variables depend on it, including variables such as | 5904 # Xcode variables depend on it, including variables such as |
5894 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5905 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5895 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5906 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5896 # files to appear (when present) in the UI as actual files and not red | 5907 # files to appear (when present) in the UI as actual files and not red |
5897 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5908 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5898 # and therefore SYMROOT, needs to be set at the project level. | 5909 # and therefore SYMROOT, needs to be set at the project level. |
5899 'SYMROOT': '<(DEPTH)/xcodebuild', | 5910 'SYMROOT': '<(DEPTH)/xcodebuild', |
5900 }, | 5911 }, |
5901 } | 5912 } |
OLD | NEW |