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

Side by Side Diff: build/common.gypi

Issue 1458653002: New build flag system, convert Google Now flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « build/buildflag_header.gypi ('k') | build/config/BUILD.gn » ('j') | no next file with comments »
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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 540
541 # Whether one-click signin is enabled or not. 541 # Whether one-click signin is enabled or not.
542 'enable_one_click_signin%': 0, 542 'enable_one_click_signin%': 0,
543 543
544 # Whether to back up data before sync. 544 # Whether to back up data before sync.
545 'enable_pre_sync_backup%': 0, 545 'enable_pre_sync_backup%': 0,
546 546
547 # Enable Chrome browser extensions 547 # Enable Chrome browser extensions
548 'enable_extensions%': 1, 548 'enable_extensions%': 1,
549 549
550 # Enable Google Now.
551 'enable_google_now%': 1,
552
553 # Enable basic printing support and UI. 550 # Enable basic printing support and UI.
554 'enable_basic_printing%': 1, 551 'enable_basic_printing%': 1,
555 552
556 # Enable printing with print preview. It does not imply 553 # Enable printing with print preview. It does not imply
557 # enable_basic_printing. It's possible to build Chrome with preview only. 554 # enable_basic_printing. It's possible to build Chrome with preview only.
558 'enable_print_preview%': 1, 555 'enable_print_preview%': 1,
559 556
560 # Set the version of CLD. 557 # Set the version of CLD.
561 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. 558 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1.
562 # 2: Use only CLD2. 559 # 2: Use only CLD2.
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 'image_loader_extension%': 0, 809 'image_loader_extension%': 0,
813 }], 810 }],
814 811
815 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { 812 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
816 'enable_one_click_signin%': 1, 813 'enable_one_click_signin%': 1,
817 'enable_pre_sync_backup%': 1, 814 'enable_pre_sync_backup%': 1,
818 }], 815 }],
819 816
820 ['OS=="android"', { 817 ['OS=="android"', {
821 'enable_extensions%': 0, 818 'enable_extensions%': 0,
822 'enable_google_now%': 0,
823 'cld2_table_size%': 0, 819 'cld2_table_size%': 0,
824 'enable_themes%': 0, 820 'enable_themes%': 0,
825 'remoting%': 0, 821 'remoting%': 0,
826 'arm_neon%': 0, 822 'arm_neon%': 0,
827 'arm_neon_optional%': 1, 823 'arm_neon_optional%': 1,
828 'enable_basic_printing%': 1, 824 'enable_basic_printing%': 1,
829 'enable_print_preview%': 0, 825 'enable_print_preview%': 0,
830 'enable_task_manager%':0, 826 'enable_task_manager%':0,
831 'video_hole%': 1, 827 'video_hole%': 1,
832 }], 828 }],
(...skipping 27 matching lines...) Expand all
860 }], 856 }],
861 857
862 ['OS=="android"', { 858 ['OS=="android"', {
863 'enable_webrtc%': 1, 859 'enable_webrtc%': 1,
864 }], 860 }],
865 861
866 ['OS=="ios"', { 862 ['OS=="ios"', {
867 'configuration_policy%': 0, 863 'configuration_policy%': 0,
868 'disable_ftp_support%': 1, 864 'disable_ftp_support%': 1,
869 'enable_extensions%': 0, 865 'enable_extensions%': 0,
870 'enable_google_now%': 0,
871 'cld2_table_size%': 0, 866 'cld2_table_size%': 0,
872 'enable_basic_printing%': 0, 867 'enable_basic_printing%': 0,
873 'enable_print_preview%': 0, 868 'enable_print_preview%': 0,
874 'enable_session_service%': 0, 869 'enable_session_service%': 0,
875 'enable_spellcheck%': 0, 870 'enable_spellcheck%': 0,
876 'enable_themes%': 0, 871 'enable_themes%': 0,
877 'enable_webrtc%': 0, 872 'enable_webrtc%': 0,
878 'notifications%': 0, 873 'notifications%': 0,
879 'remoting%': 0, 874 'remoting%': 0,
880 'safe_browsing%': 2, 875 'safe_browsing%': 2,
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', 1209 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)',
1215 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)', 1210 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)',
1216 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 1211 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
1217 'linux_use_debug_fission%': '<(linux_use_debug_fission)', 1212 'linux_use_debug_fission%': '<(linux_use_debug_fission)',
1218 'use_canvas_skia%': '<(use_canvas_skia)', 1213 'use_canvas_skia%': '<(use_canvas_skia)',
1219 'test_isolation_mode%': '<(test_isolation_mode)', 1214 'test_isolation_mode%': '<(test_isolation_mode)',
1220 'enable_basic_printing%': '<(enable_basic_printing)', 1215 'enable_basic_printing%': '<(enable_basic_printing)',
1221 'enable_print_preview%': '<(enable_print_preview)', 1216 'enable_print_preview%': '<(enable_print_preview)',
1222 'enable_spellcheck%': '<(enable_spellcheck)', 1217 'enable_spellcheck%': '<(enable_spellcheck)',
1223 'use_browser_spellchecker%': '<(use_browser_spellchecker)', 1218 'use_browser_spellchecker%': '<(use_browser_spellchecker)',
1224 'enable_google_now%': '<(enable_google_now)',
1225 'cld_version%': '<(cld_version)', 1219 'cld_version%': '<(cld_version)',
1226 'cld2_table_size%': '<(cld2_table_size)', 1220 'cld2_table_size%': '<(cld2_table_size)',
1227 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 1221 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
1228 'disable_file_support%': '<(disable_file_support)', 1222 'disable_file_support%': '<(disable_file_support)',
1229 'disable_ftp_support%': '<(disable_ftp_support)', 1223 'disable_ftp_support%': '<(disable_ftp_support)',
1230 'enable_task_manager%': '<(enable_task_manager)', 1224 'enable_task_manager%': '<(enable_task_manager)',
1231 'sas_dll_path%': '<(sas_dll_path)', 1225 'sas_dll_path%': '<(sas_dll_path)',
1232 'wix_path%': '<(wix_path)', 1226 'wix_path%': '<(wix_path)',
1233 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 1227 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
1234 'use_system_libjpeg%': '<(use_system_libjpeg)', 1228 'use_system_libjpeg%': '<(use_system_libjpeg)',
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
2176 }], 2170 }],
2177 ['enable_themes==1', { 2171 ['enable_themes==1', {
2178 'grit_defines': ['-D', 'enable_themes'], 2172 'grit_defines': ['-D', 'enable_themes'],
2179 }], 2173 }],
2180 ['enable_app_list==1', { 2174 ['enable_app_list==1', {
2181 'grit_defines': ['-D', 'enable_app_list'], 2175 'grit_defines': ['-D', 'enable_app_list'],
2182 }], 2176 }],
2183 ['enable_settings_app==1', { 2177 ['enable_settings_app==1', {
2184 'grit_defines': ['-D', 'enable_settings_app'], 2178 'grit_defines': ['-D', 'enable_settings_app'],
2185 }], 2179 }],
2186 ['enable_google_now==1', {
2187 'grit_defines': ['-D', 'enable_google_now'],
2188 }],
2189 ['use_concatenated_impulse_responses==1', { 2180 ['use_concatenated_impulse_responses==1', {
2190 'grit_defines': ['-D', 'use_concatenated_impulse_responses'], 2181 'grit_defines': ['-D', 'use_concatenated_impulse_responses'],
2191 }], 2182 }],
2192 ['enable_media_router==1', { 2183 ['enable_media_router==1', {
2193 'grit_defines': ['-D', 'enable_media_router'], 2184 'grit_defines': ['-D', 'enable_media_router'],
2194 }], 2185 }],
2195 ['enable_webrtc==1', { 2186 ['enable_webrtc==1', {
2196 'grit_defines': ['-D', 'enable_webrtc'], 2187 'grit_defines': ['-D', 'enable_webrtc'],
2197 }], 2188 }],
2198 ['enable_hangout_services_extension==1', { 2189 ['enable_hangout_services_extension==1', {
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
2991 'defines': ['ENABLE_AUTOFILL_DIALOG=1'], 2982 'defines': ['ENABLE_AUTOFILL_DIALOG=1'],
2992 }], 2983 }],
2993 ['enable_prod_wallet_service==1', { 2984 ['enable_prod_wallet_service==1', {
2994 # In GN, this is set on the autofill tagets only. See 2985 # In GN, this is set on the autofill tagets only. See
2995 # //components/autofill/core/browser:wallet_service 2986 # //components/autofill/core/browser:wallet_service
2996 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'], 2987 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'],
2997 }], 2988 }],
2998 ['enable_background==1', { 2989 ['enable_background==1', {
2999 'defines': ['ENABLE_BACKGROUND=1'], 2990 'defines': ['ENABLE_BACKGROUND=1'],
3000 }], 2991 }],
3001 ['enable_google_now==1', {
3002 'defines': ['ENABLE_GOOGLE_NOW=1'],
3003 }],
3004 ['enable_basic_printing==1 or enable_print_preview==1', { 2992 ['enable_basic_printing==1 or enable_print_preview==1', {
3005 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. 2993 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW.
3006 'defines': ['ENABLE_PRINTING=1'], 2994 'defines': ['ENABLE_PRINTING=1'],
3007 }], 2995 }],
3008 ['enable_basic_printing==1', { 2996 ['enable_basic_printing==1', {
3009 # Enable basic printing support and UI. 2997 # Enable basic printing support and UI.
3010 'defines': ['ENABLE_BASIC_PRINTING=1'], 2998 'defines': ['ENABLE_BASIC_PRINTING=1'],
3011 }], 2999 }],
3012 ['enable_print_preview==1', { 3000 ['enable_print_preview==1', {
3013 # Enable printing with print preview. 3001 # Enable printing with print preview.
(...skipping 3363 matching lines...) Expand 10 before | Expand all | Expand 10 after
6377 # settings in target dicts. SYMROOT is a special case, because many other 6365 # settings in target dicts. SYMROOT is a special case, because many other
6378 # Xcode variables depend on it, including variables such as 6366 # Xcode variables depend on it, including variables such as
6379 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6367 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6380 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6368 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6381 # files to appear (when present) in the UI as actual files and not red 6369 # files to appear (when present) in the UI as actual files and not red
6382 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6370 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6383 # and therefore SYMROOT, needs to be set at the project level. 6371 # and therefore SYMROOT, needs to be set at the project level.
6384 'SYMROOT': '<(DEPTH)/xcodebuild', 6372 'SYMROOT': '<(DEPTH)/xcodebuild',
6385 }, 6373 },
6386 } 6374 }
OLDNEW
« no previous file with comments | « build/buildflag_header.gypi ('k') | build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698