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

Side by Side Diff: build/common.gypi

Issue 1210943008: Patch 2: Added a preprocessor flag for platform spellcheck. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enable_spellcheck_flag
Patch Set: Added a preprocessor flag for Android spellcheck. Created 5 years, 5 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
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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data 560 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data
561 # tool explicitly. 561 # tool explicitly.
562 # See third_party/cld_2/cld_2.gyp for more information. 562 # See third_party/cld_2/cld_2.gyp for more information.
563 # 0: Small tables, lower accuracy 563 # 0: Small tables, lower accuracy
564 # 2: Large tables, high accuracy 564 # 2: Large tables, high accuracy
565 'cld2_table_size%': 2, 565 'cld2_table_size%': 2,
566 566
567 # Enable spell checker. 567 # Enable spell checker.
568 'enable_spellcheck%': 1, 568 'enable_spellcheck%': 1,
569 569
570 # Signify that the platform has a native spellchecker.
please use gerrit instead 2015/07/02 04:27:05 This comment can be confusing, because "native" me
dylanking 2015/07/07 02:31:22 Fixed in https://codereview.chromium.org/122755300
dylanking 2015/07/07 19:02:15 Now fixed here, too.
571 'use_platform_spellchecker%': 0,
572
570 # Webrtc compilation is enabled by default. Set to 0 to disable. 573 # Webrtc compilation is enabled by default. Set to 0 to disable.
571 'enable_webrtc%': 1, 574 'enable_webrtc%': 1,
572 575
573 # Media router support is enabled by default. Set to 0 to disable. 576 # Media router support is enabled by default. Set to 0 to disable.
574 'enable_media_router%': 1, 577 'enable_media_router%': 1,
575 578
576 # Enables use of the session service, which is enabled by default. 579 # Enables use of the session service, which is enabled by default.
577 # Support for disabling depends on the platform. 580 # Support for disabling depends on the platform.
578 'enable_session_service%': 1, 581 'enable_session_service%': 1,
579 582
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 'remoting%': 0, 814 'remoting%': 0,
812 'arm_neon%': 0, 815 'arm_neon%': 0,
813 'arm_neon_optional%': 1, 816 'arm_neon_optional%': 1,
814 'native_memory_pressure_signals%': 1, 817 'native_memory_pressure_signals%': 1,
815 'enable_basic_printing%': 1, 818 'enable_basic_printing%': 1,
816 'enable_print_preview%': 0, 819 'enable_print_preview%': 0,
817 'enable_task_manager%':0, 820 'enable_task_manager%':0,
818 'video_hole%': 1, 821 'video_hole%': 1,
819 }], 822 }],
820 823
824 # Android and OSX have native spellcheckers that we can utilize.
please use gerrit instead 2015/07/02 04:27:05 s/native/operating system/ Or anything other term
dylanking 2015/07/07 02:31:22 Fixed in https://codereview.chromium.org/122755300
dylanking 2015/07/07 19:02:15 Now fixed here, too.
825 ['OS=="android" or OS=="mac"', {
826 'use_platform_spellchecker%': 1,
827 }],
828
821 # Android OS includes support for proprietary codecs regardless of 829 # Android OS includes support for proprietary codecs regardless of
822 # building Chromium or Google Chrome. We also ship Google Chrome and 830 # building Chromium or Google Chrome. We also ship Google Chrome and
823 # Chromecast with proprietary codecs. 831 # Chromecast with proprietary codecs.
824 ['OS=="android" or branding=="Chrome" or chromecast==1', { 832 ['OS=="android" or branding=="Chrome" or chromecast==1', {
825 'proprietary_codecs%': 1, 833 'proprietary_codecs%': 1,
826 }, { 834 }, {
827 'proprietary_codecs%': 0, 835 'proprietary_codecs%': 0,
828 }], 836 }],
829 837
830 ['OS=="mac" or OS=="ios"', { 838 ['OS=="mac" or OS=="ios"', {
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 'enable_background%': '<(enable_background)', 1194 'enable_background%': '<(enable_background)',
1187 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', 1195 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)',
1188 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)', 1196 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)',
1189 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 1197 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
1190 'linux_use_debug_fission%': '<(linux_use_debug_fission)', 1198 'linux_use_debug_fission%': '<(linux_use_debug_fission)',
1191 'use_canvas_skia%': '<(use_canvas_skia)', 1199 'use_canvas_skia%': '<(use_canvas_skia)',
1192 'test_isolation_mode%': '<(test_isolation_mode)', 1200 'test_isolation_mode%': '<(test_isolation_mode)',
1193 'enable_basic_printing%': '<(enable_basic_printing)', 1201 'enable_basic_printing%': '<(enable_basic_printing)',
1194 'enable_print_preview%': '<(enable_print_preview)', 1202 'enable_print_preview%': '<(enable_print_preview)',
1195 'enable_spellcheck%': '<(enable_spellcheck)', 1203 'enable_spellcheck%': '<(enable_spellcheck)',
1204 'use_platform_spellchecker%': '<(use_platform_spellchecker)',
1196 'enable_google_now%': '<(enable_google_now)', 1205 'enable_google_now%': '<(enable_google_now)',
1197 'cld_version%': '<(cld_version)', 1206 'cld_version%': '<(cld_version)',
1198 'cld2_table_size%': '<(cld2_table_size)', 1207 'cld2_table_size%': '<(cld2_table_size)',
1199 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 1208 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
1200 'disable_file_support%': '<(disable_file_support)', 1209 'disable_file_support%': '<(disable_file_support)',
1201 'disable_ftp_support%': '<(disable_ftp_support)', 1210 'disable_ftp_support%': '<(disable_ftp_support)',
1202 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', 1211 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)',
1203 'enable_task_manager%': '<(enable_task_manager)', 1212 'enable_task_manager%': '<(enable_task_manager)',
1204 'sas_dll_path%': '<(sas_dll_path)', 1213 'sas_dll_path%': '<(sas_dll_path)',
1205 'wix_path%': '<(wix_path)', 1214 'wix_path%': '<(wix_path)',
(...skipping 1771 matching lines...) Expand 10 before | Expand all | Expand 10 after
2977 'defines': ['ENABLE_BASIC_PRINTING=1'], 2986 'defines': ['ENABLE_BASIC_PRINTING=1'],
2978 }], 2987 }],
2979 ['enable_print_preview==1', { 2988 ['enable_print_preview==1', {
2980 # Enable printing with print preview. 2989 # Enable printing with print preview.
2981 # Can be defined without ENABLE_BASIC_PRINTING. 2990 # Can be defined without ENABLE_BASIC_PRINTING.
2982 'defines': ['ENABLE_PRINT_PREVIEW=1'], 2991 'defines': ['ENABLE_PRINT_PREVIEW=1'],
2983 }], 2992 }],
2984 ['enable_spellcheck==1', { 2993 ['enable_spellcheck==1', {
2985 'defines': ['ENABLE_SPELLCHECK=1'], 2994 'defines': ['ENABLE_SPELLCHECK=1'],
2986 }], 2995 }],
2996 ['use_platform_spellchecker', {
2997 'defines': ['USE_PLATFORM_SPELLCHECKER=1'],
2998 }],
2987 ['enable_captive_portal_detection==1', { 2999 ['enable_captive_portal_detection==1', {
2988 'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'], 3000 'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'],
2989 }], 3001 }],
2990 ['enable_app_list==1', { 3002 ['enable_app_list==1', {
2991 'defines': ['ENABLE_APP_LIST=1'], 3003 'defines': ['ENABLE_APP_LIST=1'],
2992 }], 3004 }],
2993 ['enable_settings_app==1', { 3005 ['enable_settings_app==1', {
2994 'defines': ['ENABLE_SETTINGS_APP=1'], 3006 'defines': ['ENABLE_SETTINGS_APP=1'],
2995 }], 3007 }],
2996 ['disable_file_support==1', { 3008 ['disable_file_support==1', {
(...skipping 3193 matching lines...) Expand 10 before | Expand all | Expand 10 after
6190 # settings in target dicts. SYMROOT is a special case, because many other 6202 # settings in target dicts. SYMROOT is a special case, because many other
6191 # Xcode variables depend on it, including variables such as 6203 # Xcode variables depend on it, including variables such as
6192 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6204 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6193 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6205 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6194 # files to appear (when present) in the UI as actual files and not red 6206 # files to appear (when present) in the UI as actual files and not red
6195 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6207 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6196 # and therefore SYMROOT, needs to be set at the project level. 6208 # and therefore SYMROOT, needs to be set at the project level.
6197 'SYMROOT': '<(DEPTH)/xcodebuild', 6209 'SYMROOT': '<(DEPTH)/xcodebuild',
6198 }, 6210 },
6199 } 6211 }
OLDNEW
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | chrome/browser/spellchecker/spellcheck_message_filter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698