| 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1179 'use_canvas_skia%': '<(use_canvas_skia)', | 1164 'use_canvas_skia%': '<(use_canvas_skia)', |
| 1180 'test_isolation_mode%': '<(test_isolation_mode)', | 1165 'test_isolation_mode%': '<(test_isolation_mode)', |
| 1181 'test_isolation_outdir%': '<(test_isolation_outdir)', | 1166 'test_isolation_outdir%': '<(test_isolation_outdir)', |
| 1182 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', | 1167 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', |
| 1183 'enable_basic_printing%': '<(enable_basic_printing)', | 1168 'enable_basic_printing%': '<(enable_basic_printing)', |
| 1184 'enable_print_preview%': '<(enable_print_preview)', | 1169 'enable_print_preview%': '<(enable_print_preview)', |
| 1185 'enable_spellcheck%': '<(enable_spellcheck)', | 1170 'enable_spellcheck%': '<(enable_spellcheck)', |
| 1186 'enable_google_now%': '<(enable_google_now)', | 1171 'enable_google_now%': '<(enable_google_now)', |
| 1187 'cld_version%': '<(cld_version)', | 1172 'cld_version%': '<(cld_version)', |
| 1188 'cld2_table_size%': '<(cld2_table_size)', | 1173 'cld2_table_size%': '<(cld2_table_size)', |
| 1189 'cld2_data_source%': '<(cld2_data_source)', | |
| 1190 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 1174 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
| 1191 'disable_file_support%': '<(disable_file_support)', | 1175 'disable_file_support%': '<(disable_file_support)', |
| 1192 'disable_ftp_support%': '<(disable_ftp_support)', | 1176 'disable_ftp_support%': '<(disable_ftp_support)', |
| 1193 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', | 1177 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', |
| 1194 'enable_task_manager%': '<(enable_task_manager)', | 1178 'enable_task_manager%': '<(enable_task_manager)', |
| 1195 'sas_dll_path%': '<(sas_dll_path)', | 1179 'sas_dll_path%': '<(sas_dll_path)', |
| 1196 'wix_path%': '<(wix_path)', | 1180 'wix_path%': '<(wix_path)', |
| 1197 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 1181 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
| 1198 'use_system_libjpeg%': '<(use_system_libjpeg)', | 1182 'use_system_libjpeg%': '<(use_system_libjpeg)', |
| 1199 'android_channel%': '<(android_channel)', | 1183 'android_channel%': '<(android_channel)', |
| (...skipping 1717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2917 }], | 2901 }], |
| 2918 ['enable_background==1', { | 2902 ['enable_background==1', { |
| 2919 'defines': ['ENABLE_BACKGROUND=1'], | 2903 'defines': ['ENABLE_BACKGROUND=1'], |
| 2920 }], | 2904 }], |
| 2921 ['enable_google_now==1', { | 2905 ['enable_google_now==1', { |
| 2922 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2906 'defines': ['ENABLE_GOOGLE_NOW=1'], |
| 2923 }], | 2907 }], |
| 2924 ['cld_version!=0', { | 2908 ['cld_version!=0', { |
| 2925 'defines': ['CLD_VERSION=<(cld_version)'], | 2909 'defines': ['CLD_VERSION=<(cld_version)'], |
| 2926 }], | 2910 }], |
| 2927 ['cld_version==2', { | |
| 2928 # This is used to populate the "CLD Data Source" field in: | |
| 2929 # chrome://translate-internals | |
| 2930 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'], | |
| 2931 }], | |
| 2932 ['enable_basic_printing==1 or enable_print_preview==1', { | 2911 ['enable_basic_printing==1 or enable_print_preview==1', { |
| 2933 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. | 2912 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. |
| 2934 'defines': ['ENABLE_PRINTING=1'], | 2913 'defines': ['ENABLE_PRINTING=1'], |
| 2935 }], | 2914 }], |
| 2936 ['enable_basic_printing==1', { | 2915 ['enable_basic_printing==1', { |
| 2937 # Enable basic printing support and UI. | 2916 # Enable basic printing support and UI. |
| 2938 'defines': ['ENABLE_BASIC_PRINTING=1'], | 2917 'defines': ['ENABLE_BASIC_PRINTING=1'], |
| 2939 }], | 2918 }], |
| 2940 ['enable_print_preview==1', { | 2919 ['enable_print_preview==1', { |
| 2941 # Enable printing with print preview. | 2920 # Enable printing with print preview. |
| (...skipping 2963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5905 # settings in target dicts. SYMROOT is a special case, because many other | 5884 # settings in target dicts. SYMROOT is a special case, because many other |
| 5906 # Xcode variables depend on it, including variables such as | 5885 # Xcode variables depend on it, including variables such as |
| 5907 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5886 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5908 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5887 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5909 # files to appear (when present) in the UI as actual files and not red | 5888 # files to appear (when present) in the UI as actual files and not red |
| 5910 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5889 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5911 # and therefore SYMROOT, needs to be set at the project level. | 5890 # and therefore SYMROOT, needs to be set at the project level. |
| 5912 'SYMROOT': '<(DEPTH)/xcodebuild', | 5891 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5913 }, | 5892 }, |
| 5914 } | 5893 } |
| OLD | NEW |