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

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: GYP Created 5 years, 1 month 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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 536
537 # Whether one-click signin is enabled or not. 537 # Whether one-click signin is enabled or not.
538 'enable_one_click_signin%': 0, 538 'enable_one_click_signin%': 0,
539 539
540 # Whether to back up data before sync. 540 # Whether to back up data before sync.
541 'enable_pre_sync_backup%': 0, 541 'enable_pre_sync_backup%': 0,
542 542
543 # Enable Chrome browser extensions 543 # Enable Chrome browser extensions
544 'enable_extensions%': 1, 544 'enable_extensions%': 1,
545 545
546 # Enable Google Now.
547 'enable_google_now%': 1,
548
549 # Enable basic printing support and UI. 546 # Enable basic printing support and UI.
550 'enable_basic_printing%': 1, 547 'enable_basic_printing%': 1,
551 548
552 # Enable printing with print preview. It does not imply 549 # Enable printing with print preview. It does not imply
553 # enable_basic_printing. It's possible to build Chrome with preview only. 550 # enable_basic_printing. It's possible to build Chrome with preview only.
554 'enable_print_preview%': 1, 551 'enable_print_preview%': 1,
555 552
556 # Set the version of CLD. 553 # Set the version of CLD.
557 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. 554 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1.
558 # 2: Use only CLD2. 555 # 2: Use only CLD2.
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 'image_loader_extension%': 0, 805 'image_loader_extension%': 0,
809 }], 806 }],
810 807
811 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { 808 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
812 'enable_one_click_signin%': 1, 809 'enable_one_click_signin%': 1,
813 'enable_pre_sync_backup%': 1, 810 'enable_pre_sync_backup%': 1,
814 }], 811 }],
815 812
816 ['OS=="android"', { 813 ['OS=="android"', {
817 'enable_extensions%': 0, 814 'enable_extensions%': 0,
818 'enable_google_now%': 0,
819 'cld2_table_size%': 0, 815 'cld2_table_size%': 0,
820 'enable_themes%': 0, 816 'enable_themes%': 0,
821 'remoting%': 0, 817 'remoting%': 0,
822 'arm_neon%': 0, 818 'arm_neon%': 0,
823 'arm_neon_optional%': 1, 819 'arm_neon_optional%': 1,
824 'enable_basic_printing%': 1, 820 'enable_basic_printing%': 1,
825 'enable_print_preview%': 0, 821 'enable_print_preview%': 0,
826 'enable_task_manager%':0, 822 'enable_task_manager%':0,
827 'video_hole%': 1, 823 'video_hole%': 1,
828 }], 824 }],
(...skipping 26 matching lines...) Expand all
855 'enable_hotwording%': 1, 851 'enable_hotwording%': 1,
856 }], 852 }],
857 853
858 ['OS=="android"', { 854 ['OS=="android"', {
859 'enable_webrtc%': 1, 855 'enable_webrtc%': 1,
860 }], 856 }],
861 857
862 ['OS=="ios"', { 858 ['OS=="ios"', {
863 'disable_ftp_support%': 1, 859 'disable_ftp_support%': 1,
864 'enable_extensions%': 0, 860 'enable_extensions%': 0,
865 'enable_google_now%': 0,
866 'cld2_table_size%': 0, 861 'cld2_table_size%': 0,
867 'enable_basic_printing%': 0, 862 'enable_basic_printing%': 0,
868 'enable_print_preview%': 0, 863 'enable_print_preview%': 0,
869 'enable_session_service%': 0, 864 'enable_session_service%': 0,
870 'enable_spellcheck%': 0, 865 'enable_spellcheck%': 0,
871 'enable_themes%': 0, 866 'enable_themes%': 0,
872 'enable_webrtc%': 0, 867 'enable_webrtc%': 0,
873 'notifications%': 0, 868 'notifications%': 0,
874 'remoting%': 0, 869 'remoting%': 0,
875 'safe_browsing%': 2, 870 'safe_browsing%': 2,
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', 1204 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)',
1210 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)', 1205 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)',
1211 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 1206 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
1212 'linux_use_debug_fission%': '<(linux_use_debug_fission)', 1207 'linux_use_debug_fission%': '<(linux_use_debug_fission)',
1213 'use_canvas_skia%': '<(use_canvas_skia)', 1208 'use_canvas_skia%': '<(use_canvas_skia)',
1214 'test_isolation_mode%': '<(test_isolation_mode)', 1209 'test_isolation_mode%': '<(test_isolation_mode)',
1215 'enable_basic_printing%': '<(enable_basic_printing)', 1210 'enable_basic_printing%': '<(enable_basic_printing)',
1216 'enable_print_preview%': '<(enable_print_preview)', 1211 'enable_print_preview%': '<(enable_print_preview)',
1217 'enable_spellcheck%': '<(enable_spellcheck)', 1212 'enable_spellcheck%': '<(enable_spellcheck)',
1218 'use_browser_spellchecker%': '<(use_browser_spellchecker)', 1213 'use_browser_spellchecker%': '<(use_browser_spellchecker)',
1219 'enable_google_now%': '<(enable_google_now)',
1220 'cld_version%': '<(cld_version)', 1214 'cld_version%': '<(cld_version)',
1221 'cld2_table_size%': '<(cld2_table_size)', 1215 'cld2_table_size%': '<(cld2_table_size)',
1222 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 1216 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
1223 'disable_file_support%': '<(disable_file_support)', 1217 'disable_file_support%': '<(disable_file_support)',
1224 'disable_ftp_support%': '<(disable_ftp_support)', 1218 'disable_ftp_support%': '<(disable_ftp_support)',
1225 'enable_task_manager%': '<(enable_task_manager)', 1219 'enable_task_manager%': '<(enable_task_manager)',
1226 'sas_dll_path%': '<(sas_dll_path)', 1220 'sas_dll_path%': '<(sas_dll_path)',
1227 'wix_path%': '<(wix_path)', 1221 'wix_path%': '<(wix_path)',
1228 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 1222 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
1229 'use_system_libjpeg%': '<(use_system_libjpeg)', 1223 'use_system_libjpeg%': '<(use_system_libjpeg)',
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
2171 }], 2165 }],
2172 ['enable_themes==1', { 2166 ['enable_themes==1', {
2173 'grit_defines': ['-D', 'enable_themes'], 2167 'grit_defines': ['-D', 'enable_themes'],
2174 }], 2168 }],
2175 ['enable_app_list==1', { 2169 ['enable_app_list==1', {
2176 'grit_defines': ['-D', 'enable_app_list'], 2170 'grit_defines': ['-D', 'enable_app_list'],
2177 }], 2171 }],
2178 ['enable_settings_app==1', { 2172 ['enable_settings_app==1', {
2179 'grit_defines': ['-D', 'enable_settings_app'], 2173 'grit_defines': ['-D', 'enable_settings_app'],
2180 }], 2174 }],
2181 ['enable_google_now==1', {
2182 'grit_defines': ['-D', 'enable_google_now'],
2183 }],
2184 ['use_concatenated_impulse_responses==1', { 2175 ['use_concatenated_impulse_responses==1', {
2185 'grit_defines': ['-D', 'use_concatenated_impulse_responses'], 2176 'grit_defines': ['-D', 'use_concatenated_impulse_responses'],
2186 }], 2177 }],
2187 ['enable_media_router==1', { 2178 ['enable_media_router==1', {
2188 'grit_defines': ['-D', 'enable_media_router'], 2179 'grit_defines': ['-D', 'enable_media_router'],
2189 }], 2180 }],
2190 ['enable_webrtc==1', { 2181 ['enable_webrtc==1', {
2191 'grit_defines': ['-D', 'enable_webrtc'], 2182 'grit_defines': ['-D', 'enable_webrtc'],
2192 }], 2183 }],
2193 ['enable_hangout_services_extension==1', { 2184 ['enable_hangout_services_extension==1', {
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
2986 'defines': ['ENABLE_AUTOFILL_DIALOG=1'], 2977 'defines': ['ENABLE_AUTOFILL_DIALOG=1'],
2987 }], 2978 }],
2988 ['enable_prod_wallet_service==1', { 2979 ['enable_prod_wallet_service==1', {
2989 # In GN, this is set on the autofill tagets only. See 2980 # In GN, this is set on the autofill tagets only. See
2990 # //components/autofill/core/browser:wallet_service 2981 # //components/autofill/core/browser:wallet_service
2991 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'], 2982 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'],
2992 }], 2983 }],
2993 ['enable_background==1', { 2984 ['enable_background==1', {
2994 'defines': ['ENABLE_BACKGROUND=1'], 2985 'defines': ['ENABLE_BACKGROUND=1'],
2995 }], 2986 }],
2996 ['enable_google_now==1', {
2997 'defines': ['ENABLE_GOOGLE_NOW=1'],
2998 }],
2999 ['enable_basic_printing==1 or enable_print_preview==1', { 2987 ['enable_basic_printing==1 or enable_print_preview==1', {
3000 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. 2988 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW.
3001 'defines': ['ENABLE_PRINTING=1'], 2989 'defines': ['ENABLE_PRINTING=1'],
3002 }], 2990 }],
3003 ['enable_basic_printing==1', { 2991 ['enable_basic_printing==1', {
3004 # Enable basic printing support and UI. 2992 # Enable basic printing support and UI.
3005 'defines': ['ENABLE_BASIC_PRINTING=1'], 2993 'defines': ['ENABLE_BASIC_PRINTING=1'],
3006 }], 2994 }],
3007 ['enable_print_preview==1', { 2995 ['enable_print_preview==1', {
3008 # Enable printing with print preview. 2996 # Enable printing with print preview.
(...skipping 3363 matching lines...) Expand 10 before | Expand all | Expand 10 after
6372 # settings in target dicts. SYMROOT is a special case, because many other 6360 # settings in target dicts. SYMROOT is a special case, because many other
6373 # Xcode variables depend on it, including variables such as 6361 # Xcode variables depend on it, including variables such as
6374 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6362 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6375 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6363 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6376 # files to appear (when present) in the UI as actual files and not red 6364 # files to appear (when present) in the UI as actual files and not red
6377 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6365 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6378 # and therefore SYMROOT, needs to be set at the project level. 6366 # and therefore SYMROOT, needs to be set at the project level.
6379 'SYMROOT': '<(DEPTH)/xcodebuild', 6367 'SYMROOT': '<(DEPTH)/xcodebuild',
6380 }, 6368 },
6381 } 6369 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698