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

Side by Side Diff: build/common.gypi

Issue 1469383005: New build flag system, convert Google Now flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make separate gyp to avoid cycle 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
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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
2173 }], 2167 }],
2174 ['enable_themes==1', { 2168 ['enable_themes==1', {
2175 'grit_defines': ['-D', 'enable_themes'], 2169 'grit_defines': ['-D', 'enable_themes'],
2176 }], 2170 }],
2177 ['enable_app_list==1', { 2171 ['enable_app_list==1', {
2178 'grit_defines': ['-D', 'enable_app_list'], 2172 'grit_defines': ['-D', 'enable_app_list'],
2179 }], 2173 }],
2180 ['enable_settings_app==1', { 2174 ['enable_settings_app==1', {
2181 'grit_defines': ['-D', 'enable_settings_app'], 2175 'grit_defines': ['-D', 'enable_settings_app'],
2182 }], 2176 }],
2183 ['enable_google_now==1', {
2184 'grit_defines': ['-D', 'enable_google_now'],
2185 }],
2186 ['use_concatenated_impulse_responses==1', { 2177 ['use_concatenated_impulse_responses==1', {
2187 'grit_defines': ['-D', 'use_concatenated_impulse_responses'], 2178 'grit_defines': ['-D', 'use_concatenated_impulse_responses'],
2188 }], 2179 }],
2189 ['enable_media_router==1', { 2180 ['enable_media_router==1', {
2190 'grit_defines': ['-D', 'enable_media_router'], 2181 'grit_defines': ['-D', 'enable_media_router'],
2191 }], 2182 }],
2192 ['enable_webrtc==1', { 2183 ['enable_webrtc==1', {
2193 'grit_defines': ['-D', 'enable_webrtc'], 2184 'grit_defines': ['-D', 'enable_webrtc'],
2194 }], 2185 }],
2195 ['enable_hangout_services_extension==1', { 2186 ['enable_hangout_services_extension==1', {
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
2988 'defines': ['ENABLE_AUTOFILL_DIALOG=1'], 2979 'defines': ['ENABLE_AUTOFILL_DIALOG=1'],
2989 }], 2980 }],
2990 ['enable_prod_wallet_service==1', { 2981 ['enable_prod_wallet_service==1', {
2991 # In GN, this is set on the autofill tagets only. See 2982 # In GN, this is set on the autofill tagets only. See
2992 # //components/autofill/core/browser:wallet_service 2983 # //components/autofill/core/browser:wallet_service
2993 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'], 2984 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'],
2994 }], 2985 }],
2995 ['enable_background==1', { 2986 ['enable_background==1', {
2996 'defines': ['ENABLE_BACKGROUND=1'], 2987 'defines': ['ENABLE_BACKGROUND=1'],
2997 }], 2988 }],
2998 ['enable_google_now==1', {
2999 'defines': ['ENABLE_GOOGLE_NOW=1'],
3000 }],
3001 ['enable_basic_printing==1 or enable_print_preview==1', { 2989 ['enable_basic_printing==1 or enable_print_preview==1', {
3002 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. 2990 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW.
3003 'defines': ['ENABLE_PRINTING=1'], 2991 'defines': ['ENABLE_PRINTING=1'],
3004 }], 2992 }],
3005 ['enable_basic_printing==1', { 2993 ['enable_basic_printing==1', {
3006 # Enable basic printing support and UI. 2994 # Enable basic printing support and UI.
3007 'defines': ['ENABLE_BASIC_PRINTING=1'], 2995 'defines': ['ENABLE_BASIC_PRINTING=1'],
3008 }], 2996 }],
3009 ['enable_print_preview==1', { 2997 ['enable_print_preview==1', {
3010 # Enable printing with print preview. 2998 # Enable printing with print preview.
(...skipping 3364 matching lines...) Expand 10 before | Expand all | Expand 10 after
6375 # settings in target dicts. SYMROOT is a special case, because many other 6363 # settings in target dicts. SYMROOT is a special case, because many other
6376 # Xcode variables depend on it, including variables such as 6364 # Xcode variables depend on it, including variables such as
6377 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6365 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6378 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6366 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6379 # files to appear (when present) in the UI as actual files and not red 6367 # files to appear (when present) in the UI as actual files and not red
6380 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6368 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6381 # and therefore SYMROOT, needs to be set at the project level. 6369 # and therefore SYMROOT, needs to be set at the project level.
6382 'SYMROOT': '<(DEPTH)/xcodebuild', 6370 'SYMROOT': '<(DEPTH)/xcodebuild',
6383 }, 6371 },
6384 } 6372 }
OLDNEW
« no previous file with comments | « build/buildflag_header.gypi ('k') | build/config/BUILD.gn » ('j') | chrome/chrome_resources.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698