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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. |
506 # See third_party/cld_2/cld_2.gyp for more information. | 506 # See third_party/cld_2/cld_2.gyp for more information. |
507 # 0: Small tables, lower accuracy | 507 # 0: Small tables, lower accuracy |
508 # 1: Medium tables, medium accuracy | 508 # 1: Medium tables, medium accuracy |
509 # 2: Large tables, high accuracy | 509 # 2: Large tables, high accuracy |
510 'cld2_table_size%': 2, | 510 'cld2_table_size%': 2, |
511 | 511 |
512 # The data acquisition mode for CLD2. Possible values are: | |
513 # static: CLD2 data is statically linked to the executable. | |
514 # standalone: CLD2 data is provided in a standalone file that is | |
515 # bundled with the executable. | |
516 # component: CLD2 data is provided as a Chrome "component" and is | |
517 # downloaded via the component updater. | |
518 # | |
519 # For more information on switching the CLD2 data source, see: | |
520 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/compact
-language-detector-cld-data-source-configuration | |
521 # | |
522 # This string will be exposed in chrome://translate-internals under the | |
523 # heading "CLD Data Source". This allows easy determination of which | |
524 # data source the browser was built with. | |
525 'cld2_data_source%': 'static', | |
526 | |
527 # Enable spell checker. | 512 # Enable spell checker. |
528 'enable_spellcheck%': 1, | 513 'enable_spellcheck%': 1, |
529 | 514 |
530 # Webrtc compilation is enabled by default. Set to 0 to disable. | 515 # Webrtc compilation is enabled by default. Set to 0 to disable. |
531 'enable_webrtc%': 1, | 516 'enable_webrtc%': 1, |
532 | 517 |
533 # Enables use of the session service, which is enabled by default. | 518 # Enables use of the session service, which is enabled by default. |
534 # Support for disabling depends on the platform. | 519 # Support for disabling depends on the platform. |
535 'enable_session_service%': 1, | 520 'enable_session_service%': 1, |
536 | 521 |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 }], | 740 }], |
756 | 741 |
757 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { | 742 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { |
758 'enable_one_click_signin%': 1, | 743 'enable_one_click_signin%': 1, |
759 'enable_pre_sync_backup%': 1, | 744 'enable_pre_sync_backup%': 1, |
760 }], | 745 }], |
761 | 746 |
762 ['OS=="android"', { | 747 ['OS=="android"', { |
763 'enable_extensions%': 0, | 748 'enable_extensions%': 0, |
764 'enable_google_now%': 0, | 749 'enable_google_now%': 0, |
765 'cld_version%': 1, | 750 'cld_version%': 2, |
766 'enable_spellcheck%': 0, | 751 'enable_spellcheck%': 0, |
767 'enable_themes%': 0, | 752 'enable_themes%': 0, |
768 'remoting%': 0, | 753 'remoting%': 0, |
769 'arm_neon%': 0, | 754 'arm_neon%': 0, |
770 'arm_neon_optional%': 1, | 755 'arm_neon_optional%': 1, |
771 'native_discardable_memory%': 1, | 756 'native_discardable_memory%': 1, |
772 'native_memory_pressure_signals%': 1, | 757 'native_memory_pressure_signals%': 1, |
773 'enable_basic_printing%': 1, | 758 'enable_basic_printing%': 1, |
774 'enable_print_preview%': 0, | 759 'enable_print_preview%': 0, |
775 'enable_task_manager%':0, | 760 'enable_task_manager%':0, |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 'use_canvas_skia%': '<(use_canvas_skia)', | 1165 'use_canvas_skia%': '<(use_canvas_skia)', |
1181 'test_isolation_mode%': '<(test_isolation_mode)', | 1166 'test_isolation_mode%': '<(test_isolation_mode)', |
1182 'test_isolation_outdir%': '<(test_isolation_outdir)', | 1167 'test_isolation_outdir%': '<(test_isolation_outdir)', |
1183 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', | 1168 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', |
1184 'enable_basic_printing%': '<(enable_basic_printing)', | 1169 'enable_basic_printing%': '<(enable_basic_printing)', |
1185 'enable_print_preview%': '<(enable_print_preview)', | 1170 'enable_print_preview%': '<(enable_print_preview)', |
1186 'enable_spellcheck%': '<(enable_spellcheck)', | 1171 'enable_spellcheck%': '<(enable_spellcheck)', |
1187 'enable_google_now%': '<(enable_google_now)', | 1172 'enable_google_now%': '<(enable_google_now)', |
1188 'cld_version%': '<(cld_version)', | 1173 'cld_version%': '<(cld_version)', |
1189 'cld2_table_size%': '<(cld2_table_size)', | 1174 'cld2_table_size%': '<(cld2_table_size)', |
1190 'cld2_data_source%': '<(cld2_data_source)', | |
1191 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 1175 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
1192 'disable_file_support%': '<(disable_file_support)', | 1176 'disable_file_support%': '<(disable_file_support)', |
1193 'disable_ftp_support%': '<(disable_ftp_support)', | 1177 'disable_ftp_support%': '<(disable_ftp_support)', |
1194 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', | 1178 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', |
1195 'enable_task_manager%': '<(enable_task_manager)', | 1179 'enable_task_manager%': '<(enable_task_manager)', |
1196 'sas_dll_path%': '<(sas_dll_path)', | 1180 'sas_dll_path%': '<(sas_dll_path)', |
1197 'wix_path%': '<(wix_path)', | 1181 'wix_path%': '<(wix_path)', |
1198 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 1182 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
1199 'use_system_libjpeg%': '<(use_system_libjpeg)', | 1183 'use_system_libjpeg%': '<(use_system_libjpeg)', |
1200 'android_channel%': '<(android_channel)', | 1184 'android_channel%': '<(android_channel)', |
(...skipping 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2923 }], | 2907 }], |
2924 ['enable_background==1', { | 2908 ['enable_background==1', { |
2925 'defines': ['ENABLE_BACKGROUND=1'], | 2909 'defines': ['ENABLE_BACKGROUND=1'], |
2926 }], | 2910 }], |
2927 ['enable_google_now==1', { | 2911 ['enable_google_now==1', { |
2928 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2912 'defines': ['ENABLE_GOOGLE_NOW=1'], |
2929 }], | 2913 }], |
2930 ['cld_version!=0', { | 2914 ['cld_version!=0', { |
2931 'defines': ['CLD_VERSION=<(cld_version)'], | 2915 'defines': ['CLD_VERSION=<(cld_version)'], |
2932 }], | 2916 }], |
2933 ['cld_version==2', { | |
2934 # This is used to populate the "CLD Data Source" field in: | |
2935 # chrome://translate-internals | |
2936 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'], | |
2937 }], | |
2938 ['enable_basic_printing==1 or enable_print_preview==1', { | 2917 ['enable_basic_printing==1 or enable_print_preview==1', { |
2939 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. | 2918 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. |
2940 'defines': ['ENABLE_PRINTING=1'], | 2919 'defines': ['ENABLE_PRINTING=1'], |
2941 }], | 2920 }], |
2942 ['enable_basic_printing==1', { | 2921 ['enable_basic_printing==1', { |
2943 # Enable basic printing support and UI. | 2922 # Enable basic printing support and UI. |
2944 'defines': ['ENABLE_BASIC_PRINTING=1'], | 2923 'defines': ['ENABLE_BASIC_PRINTING=1'], |
2945 }], | 2924 }], |
2946 ['enable_print_preview==1', { | 2925 ['enable_print_preview==1', { |
2947 # Enable printing with print preview. | 2926 # Enable printing with print preview. |
(...skipping 2976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5924 # 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 |
5925 # Xcode variables depend on it, including variables such as | 5904 # Xcode variables depend on it, including variables such as |
5926 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5905 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5927 # 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 |
5928 # 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 |
5929 # 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, |
5930 # and therefore SYMROOT, needs to be set at the project level. | 5909 # and therefore SYMROOT, needs to be set at the project level. |
5931 'SYMROOT': '<(DEPTH)/xcodebuild', | 5910 'SYMROOT': '<(DEPTH)/xcodebuild', |
5932 }, | 5911 }, |
5933 } | 5912 } |
OLD | NEW |