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

Side by Side Diff: build/common.gypi

Issue 461633002: Refactor language detection logic to allow non-static CLD data sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create a factory for test harnesses and use it Created 6 years, 2 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 | « no previous file | build/config/features.gni » ('j') | chrome/browser/chrome_browser_main.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 486
487 # For CLD2, the size of the tables that should be included in the build 487 # For CLD2, the size of the tables that should be included in the build
488 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data 488 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data
489 # tool explicitly. 489 # tool explicitly.
490 # See third_party/cld_2/cld_2.gyp for more information. 490 # See third_party/cld_2/cld_2.gyp for more information.
491 # 0: Small tables, lower accuracy 491 # 0: Small tables, lower accuracy
492 # 1: Medium tables, medium accuracy 492 # 1: Medium tables, medium accuracy
493 # 2: Large tables, high accuracy 493 # 2: Large tables, high accuracy
494 'cld2_table_size%': 2, 494 'cld2_table_size%': 2,
495 495
496 # The data acquisition mode for CLD2. Possible values are:
497 # static: CLD2 data is statically linked to the executable.
498 # standalone: CLD2 data is provided in a standalone file that is
499 # bundled with the executable.
500 # component: CLD2 data is provided as a Chrome "component" and is
501 # downloaded via the component updater.
502 #
503 # For more information on switching the CLD2 data source, see:
504 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/compact -language-detector-cld-data-source-configuration
505 #
506 # This string will be exposed in chrome://translate-internals under the
507 # heading "CLD Data Source". This allows easy determination of which
508 # data source the browser was built with.
509 'cld2_data_source%': 'static',
510
511 # Enable spell checker. 496 # Enable spell checker.
512 'enable_spellcheck%': 1, 497 'enable_spellcheck%': 1,
513 498
514 # Webrtc compilation is enabled by default. Set to 0 to disable. 499 # Webrtc compilation is enabled by default. Set to 0 to disable.
515 'enable_webrtc%': 1, 500 'enable_webrtc%': 1,
516 501
517 # Enables use of the session service, which is enabled by default. 502 # Enables use of the session service, which is enabled by default.
518 # Support for disabling depends on the platform. 503 # Support for disabling depends on the platform.
519 'enable_session_service%': 1, 504 'enable_session_service%': 1,
520 505
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 'linux_use_debug_fission%': '<(linux_use_debug_fission)', 1144 'linux_use_debug_fission%': '<(linux_use_debug_fission)',
1160 'use_canvas_skia%': '<(use_canvas_skia)', 1145 'use_canvas_skia%': '<(use_canvas_skia)',
1161 'test_isolation_mode%': '<(test_isolation_mode)', 1146 'test_isolation_mode%': '<(test_isolation_mode)',
1162 'test_isolation_outdir%': '<(test_isolation_outdir)', 1147 'test_isolation_outdir%': '<(test_isolation_outdir)',
1163 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', 1148 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
1164 'enable_printing%': '<(enable_printing)', 1149 'enable_printing%': '<(enable_printing)',
1165 'enable_spellcheck%': '<(enable_spellcheck)', 1150 'enable_spellcheck%': '<(enable_spellcheck)',
1166 'enable_google_now%': '<(enable_google_now)', 1151 'enable_google_now%': '<(enable_google_now)',
1167 'cld_version%': '<(cld_version)', 1152 'cld_version%': '<(cld_version)',
1168 'cld2_table_size%': '<(cld2_table_size)', 1153 'cld2_table_size%': '<(cld2_table_size)',
1169 'cld2_data_source%': '<(cld2_data_source)',
1170 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 1154 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
1171 'disable_file_support%': '<(disable_file_support)', 1155 'disable_file_support%': '<(disable_file_support)',
1172 'disable_ftp_support%': '<(disable_ftp_support)', 1156 'disable_ftp_support%': '<(disable_ftp_support)',
1173 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', 1157 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)',
1174 'enable_task_manager%': '<(enable_task_manager)', 1158 'enable_task_manager%': '<(enable_task_manager)',
1175 'sas_dll_path%': '<(sas_dll_path)', 1159 'sas_dll_path%': '<(sas_dll_path)',
1176 'wix_path%': '<(wix_path)', 1160 'wix_path%': '<(wix_path)',
1177 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 1161 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
1178 'use_system_libjpeg%': '<(use_system_libjpeg)', 1162 'use_system_libjpeg%': '<(use_system_libjpeg)',
1179 'android_webview_build%': '<(android_webview_build)', 1163 'android_webview_build%': '<(android_webview_build)',
(...skipping 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after
2863 }], 2847 }],
2864 ['enable_background==1', { 2848 ['enable_background==1', {
2865 'defines': ['ENABLE_BACKGROUND=1'], 2849 'defines': ['ENABLE_BACKGROUND=1'],
2866 }], 2850 }],
2867 ['enable_google_now==1', { 2851 ['enable_google_now==1', {
2868 'defines': ['ENABLE_GOOGLE_NOW=1'], 2852 'defines': ['ENABLE_GOOGLE_NOW=1'],
2869 }], 2853 }],
2870 ['cld_version!=0', { 2854 ['cld_version!=0', {
2871 'defines': ['CLD_VERSION=<(cld_version)'], 2855 'defines': ['CLD_VERSION=<(cld_version)'],
2872 }], 2856 }],
2873 ['cld_version==2', {
2874 # This is used to populate the "CLD Data Source" field in:
2875 # chrome://translate-internals
2876 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'],
2877 }],
2878 ['enable_printing==1', { 2857 ['enable_printing==1', {
2879 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], 2858 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'],
2880 }], 2859 }],
2881 ['enable_printing==2', { 2860 ['enable_printing==2', {
2882 'defines': ['ENABLE_PRINTING=1'], 2861 'defines': ['ENABLE_PRINTING=1'],
2883 }], 2862 }],
2884 ['enable_spellcheck==1', { 2863 ['enable_spellcheck==1', {
2885 'defines': ['ENABLE_SPELLCHECK=1'], 2864 'defines': ['ENABLE_SPELLCHECK=1'],
2886 }], 2865 }],
2887 ['enable_captive_portal_detection==1', { 2866 ['enable_captive_portal_detection==1', {
(...skipping 2886 matching lines...) Expand 10 before | Expand all | Expand 10 after
5774 # settings in target dicts. SYMROOT is a special case, because many other 5753 # settings in target dicts. SYMROOT is a special case, because many other
5775 # Xcode variables depend on it, including variables such as 5754 # Xcode variables depend on it, including variables such as
5776 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5755 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5777 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5756 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5778 # files to appear (when present) in the UI as actual files and not red 5757 # files to appear (when present) in the UI as actual files and not red
5779 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5758 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5780 # and therefore SYMROOT, needs to be set at the project level. 5759 # and therefore SYMROOT, needs to be set at the project level.
5781 'SYMROOT': '<(DEPTH)/xcodebuild', 5760 'SYMROOT': '<(DEPTH)/xcodebuild',
5782 }, 5761 },
5783 } 5762 }
OLDNEW
« no previous file with comments | « no previous file | build/config/features.gni » ('j') | chrome/browser/chrome_browser_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698