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

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: merge 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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 531
532 # Whether one-click signin is enabled or not. 532 # Whether one-click signin is enabled or not.
533 'enable_one_click_signin%': 0, 533 'enable_one_click_signin%': 0,
534 534
535 # Whether to back up data before sync. 535 # Whether to back up data before sync.
536 'enable_pre_sync_backup%': 0, 536 'enable_pre_sync_backup%': 0,
537 537
538 # Enable Chrome browser extensions 538 # Enable Chrome browser extensions
539 'enable_extensions%': 1, 539 'enable_extensions%': 1,
540 540
541 # Enable Google Now.
542 'enable_google_now%': 1,
543
544 # Enable basic printing support and UI. 541 # Enable basic printing support and UI.
545 'enable_basic_printing%': 1, 542 'enable_basic_printing%': 1,
546 543
547 # Enable printing with print preview. It does not imply 544 # Enable printing with print preview. It does not imply
548 # enable_basic_printing. It's possible to build Chrome with preview only. 545 # enable_basic_printing. It's possible to build Chrome with preview only.
549 'enable_print_preview%': 1, 546 'enable_print_preview%': 1,
550 547
551 # Set the version of CLD. 548 # Set the version of CLD.
552 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. 549 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1.
553 # 2: Use only CLD2. 550 # 2: Use only CLD2.
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 'image_loader_extension%': 0, 793 'image_loader_extension%': 0,
797 }], 794 }],
798 795
799 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { 796 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
800 'enable_one_click_signin%': 1, 797 'enable_one_click_signin%': 1,
801 'enable_pre_sync_backup%': 1, 798 'enable_pre_sync_backup%': 1,
802 }], 799 }],
803 800
804 ['OS=="android"', { 801 ['OS=="android"', {
805 'enable_extensions%': 0, 802 'enable_extensions%': 0,
806 'enable_google_now%': 0,
807 'cld2_table_size%': 0, 803 'cld2_table_size%': 0,
808 'enable_themes%': 0, 804 'enable_themes%': 0,
809 'remoting%': 0, 805 'remoting%': 0,
810 'arm_neon%': 0, 806 'arm_neon%': 0,
811 'arm_neon_optional%': 1, 807 'arm_neon_optional%': 1,
812 'enable_basic_printing%': 1, 808 'enable_basic_printing%': 1,
813 'enable_print_preview%': 0, 809 'enable_print_preview%': 0,
814 'enable_task_manager%':0, 810 'enable_task_manager%':0,
815 'video_hole%': 1, 811 'video_hole%': 1,
816 }], 812 }],
(...skipping 26 matching lines...) Expand all
843 'enable_hotwording%': 1, 839 'enable_hotwording%': 1,
844 }], 840 }],
845 841
846 ['OS=="android"', { 842 ['OS=="android"', {
847 'enable_webrtc%': 1, 843 'enable_webrtc%': 1,
848 }], 844 }],
849 845
850 ['OS=="ios"', { 846 ['OS=="ios"', {
851 'disable_ftp_support%': 1, 847 'disable_ftp_support%': 1,
852 'enable_extensions%': 0, 848 'enable_extensions%': 0,
853 'enable_google_now%': 0,
854 'cld2_table_size%': 0, 849 'cld2_table_size%': 0,
855 'enable_basic_printing%': 0, 850 'enable_basic_printing%': 0,
856 'enable_print_preview%': 0, 851 'enable_print_preview%': 0,
857 'enable_session_service%': 0, 852 'enable_session_service%': 0,
858 'enable_spellcheck%': 0, 853 'enable_spellcheck%': 0,
859 'enable_themes%': 0, 854 'enable_themes%': 0,
860 'enable_webrtc%': 0, 855 'enable_webrtc%': 0,
861 'notifications%': 0, 856 'notifications%': 0,
862 'remoting%': 0, 857 'remoting%': 0,
863 'safe_browsing%': 2, 858 'safe_browsing%': 2,
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', 1191 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)',
1197 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)', 1192 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)',
1198 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 1193 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
1199 'linux_use_debug_fission%': '<(linux_use_debug_fission)', 1194 'linux_use_debug_fission%': '<(linux_use_debug_fission)',
1200 'use_canvas_skia%': '<(use_canvas_skia)', 1195 'use_canvas_skia%': '<(use_canvas_skia)',
1201 'test_isolation_mode%': '<(test_isolation_mode)', 1196 'test_isolation_mode%': '<(test_isolation_mode)',
1202 'enable_basic_printing%': '<(enable_basic_printing)', 1197 'enable_basic_printing%': '<(enable_basic_printing)',
1203 'enable_print_preview%': '<(enable_print_preview)', 1198 'enable_print_preview%': '<(enable_print_preview)',
1204 'enable_spellcheck%': '<(enable_spellcheck)', 1199 'enable_spellcheck%': '<(enable_spellcheck)',
1205 'use_browser_spellchecker%': '<(use_browser_spellchecker)', 1200 'use_browser_spellchecker%': '<(use_browser_spellchecker)',
1206 'enable_google_now%': '<(enable_google_now)',
1207 'cld_version%': '<(cld_version)', 1201 'cld_version%': '<(cld_version)',
1208 'cld2_table_size%': '<(cld2_table_size)', 1202 'cld2_table_size%': '<(cld2_table_size)',
1209 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 1203 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
1210 'disable_file_support%': '<(disable_file_support)', 1204 'disable_file_support%': '<(disable_file_support)',
1211 'disable_ftp_support%': '<(disable_ftp_support)', 1205 'disable_ftp_support%': '<(disable_ftp_support)',
1212 'enable_task_manager%': '<(enable_task_manager)', 1206 'enable_task_manager%': '<(enable_task_manager)',
1213 'sas_dll_path%': '<(sas_dll_path)', 1207 'sas_dll_path%': '<(sas_dll_path)',
1214 'wix_path%': '<(wix_path)', 1208 'wix_path%': '<(wix_path)',
1215 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 1209 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
1216 'use_system_libjpeg%': '<(use_system_libjpeg)', 1210 'use_system_libjpeg%': '<(use_system_libjpeg)',
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
2159 }], 2153 }],
2160 ['enable_themes==1', { 2154 ['enable_themes==1', {
2161 'grit_defines': ['-D', 'enable_themes'], 2155 'grit_defines': ['-D', 'enable_themes'],
2162 }], 2156 }],
2163 ['enable_app_list==1', { 2157 ['enable_app_list==1', {
2164 'grit_defines': ['-D', 'enable_app_list'], 2158 'grit_defines': ['-D', 'enable_app_list'],
2165 }], 2159 }],
2166 ['enable_settings_app==1', { 2160 ['enable_settings_app==1', {
2167 'grit_defines': ['-D', 'enable_settings_app'], 2161 'grit_defines': ['-D', 'enable_settings_app'],
2168 }], 2162 }],
2169 ['enable_google_now==1', {
2170 'grit_defines': ['-D', 'enable_google_now'],
2171 }],
2172 ['use_concatenated_impulse_responses==1', { 2163 ['use_concatenated_impulse_responses==1', {
2173 'grit_defines': ['-D', 'use_concatenated_impulse_responses'], 2164 'grit_defines': ['-D', 'use_concatenated_impulse_responses'],
2174 }], 2165 }],
2175 ['enable_media_router==1', { 2166 ['enable_media_router==1', {
2176 'grit_defines': ['-D', 'enable_media_router'], 2167 'grit_defines': ['-D', 'enable_media_router'],
2177 }], 2168 }],
2178 ['enable_webrtc==1', { 2169 ['enable_webrtc==1', {
2179 'grit_defines': ['-D', 'enable_webrtc'], 2170 'grit_defines': ['-D', 'enable_webrtc'],
2180 }], 2171 }],
2181 ['enable_hangout_services_extension==1', { 2172 ['enable_hangout_services_extension==1', {
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
2971 'defines': ['ENABLE_AUTOFILL_DIALOG=1'], 2962 'defines': ['ENABLE_AUTOFILL_DIALOG=1'],
2972 }], 2963 }],
2973 ['enable_prod_wallet_service==1', { 2964 ['enable_prod_wallet_service==1', {
2974 # In GN, this is set on the autofill tagets only. See 2965 # In GN, this is set on the autofill tagets only. See
2975 # //components/autofill/core/browser:wallet_service 2966 # //components/autofill/core/browser:wallet_service
2976 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'], 2967 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'],
2977 }], 2968 }],
2978 ['enable_background==1', { 2969 ['enable_background==1', {
2979 'defines': ['ENABLE_BACKGROUND=1'], 2970 'defines': ['ENABLE_BACKGROUND=1'],
2980 }], 2971 }],
2981 ['enable_google_now==1', {
2982 'defines': ['ENABLE_GOOGLE_NOW=1'],
2983 }],
2984 ['enable_basic_printing==1 or enable_print_preview==1', { 2972 ['enable_basic_printing==1 or enable_print_preview==1', {
2985 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. 2973 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW.
2986 'defines': ['ENABLE_PRINTING=1'], 2974 'defines': ['ENABLE_PRINTING=1'],
2987 }], 2975 }],
2988 ['enable_basic_printing==1', { 2976 ['enable_basic_printing==1', {
2989 # Enable basic printing support and UI. 2977 # Enable basic printing support and UI.
2990 'defines': ['ENABLE_BASIC_PRINTING=1'], 2978 'defines': ['ENABLE_BASIC_PRINTING=1'],
2991 }], 2979 }],
2992 ['enable_print_preview==1', { 2980 ['enable_print_preview==1', {
2993 # Enable printing with print preview. 2981 # Enable printing with print preview.
(...skipping 3363 matching lines...) Expand 10 before | Expand all | Expand 10 after
6357 # settings in target dicts. SYMROOT is a special case, because many other 6345 # settings in target dicts. SYMROOT is a special case, because many other
6358 # Xcode variables depend on it, including variables such as 6346 # Xcode variables depend on it, including variables such as
6359 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6347 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6360 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6348 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6361 # files to appear (when present) in the UI as actual files and not red 6349 # files to appear (when present) in the UI as actual files and not red
6362 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6350 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6363 # and therefore SYMROOT, needs to be set at the project level. 6351 # and therefore SYMROOT, needs to be set at the project level.
6364 'SYMROOT': '<(DEPTH)/xcodebuild', 6352 'SYMROOT': '<(DEPTH)/xcodebuild',
6365 }, 6353 },
6366 } 6354 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698