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

Side by Side Diff: build/common.gypi

Issue 1160243004: Add build flag to disable hotwording. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove space. Created 5 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 # for safe browsing feature. Safe browsing can be compiled in 4 different 410 # for safe browsing feature. Safe browsing can be compiled in 4 different
411 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and 411 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and
412 # reporting features for use with Data Saver on Mobile, and 3 enables 412 # reporting features for use with Data Saver on Mobile, and 3 enables
413 # extended mobile protection via an external API. When 3 is fully 413 # extended mobile protection via an external API. When 3 is fully
414 # deployed, it will replace 2. 414 # deployed, it will replace 2.
415 'safe_browsing%': 1, 415 'safe_browsing%': 1,
416 416
417 # Web speech is enabled by default. Set to 0 to disable. 417 # Web speech is enabled by default. Set to 0 to disable.
418 'enable_web_speech%': 1, 418 'enable_web_speech%': 1,
419 419
420 # 'Ok Google' hotwording is disabled by default. Set to 1 to enable.
421 'enable_hotwording%': 0,
422
420 # Notifications are compiled in by default. Set to 0 to disable. 423 # Notifications are compiled in by default. Set to 0 to disable.
421 'notifications%' : 1, 424 'notifications%' : 1,
422 425
423 # Use dsymutil to generate real .dSYM files on Mac. The default is 0 for 426 # Use dsymutil to generate real .dSYM files on Mac. The default is 0 for
424 # regular builds and 1 for ASan builds. 427 # regular builds and 1 for ASan builds.
425 'mac_want_real_dsym%': 'default', 428 'mac_want_real_dsym%': 'default',
426 429
427 # If this is set, the clang plugins used on the buildbot will be used. 430 # If this is set, the clang plugins used on the buildbot will be used.
428 # Run tools/clang/scripts/update.sh to make sure they are compiled. 431 # Run tools/clang/scripts/update.sh to make sure they are compiled.
429 # This causes 'clang_chrome_plugins_flags' to be set. 432 # This causes 'clang_chrome_plugins_flags' to be set.
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1145 'use_third_party_translations%': '<(use_third_party_translations)', 1148 'use_third_party_translations%': '<(use_third_party_translations)',
1146 'remoting%': '<(remoting)', 1149 'remoting%': '<(remoting)',
1147 'enable_one_click_signin%': '<(enable_one_click_signin)', 1150 'enable_one_click_signin%': '<(enable_one_click_signin)',
1148 'enable_pre_sync_backup%': '<(enable_pre_sync_backup)', 1151 'enable_pre_sync_backup%': '<(enable_pre_sync_backup)',
1149 'enable_media_router%': '<(enable_media_router)', 1152 'enable_media_router%': '<(enable_media_router)',
1150 'enable_webrtc%': '<(enable_webrtc)', 1153 'enable_webrtc%': '<(enable_webrtc)',
1151 'chromium_win_pch%': '<(chromium_win_pch)', 1154 'chromium_win_pch%': '<(chromium_win_pch)',
1152 'configuration_policy%': '<(configuration_policy)', 1155 'configuration_policy%': '<(configuration_policy)',
1153 'safe_browsing%': '<(safe_browsing)', 1156 'safe_browsing%': '<(safe_browsing)',
1154 'enable_web_speech%': '<(enable_web_speech)', 1157 'enable_web_speech%': '<(enable_web_speech)',
1158 'enable_hotwording%': '<(enable_hotwording)',
1155 'notifications%': '<(notifications)', 1159 'notifications%': '<(notifications)',
1156 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', 1160 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
1157 'mac_want_real_dsym%': '<(mac_want_real_dsym)', 1161 'mac_want_real_dsym%': '<(mac_want_real_dsym)',
1158 'asan%': '<(asan)', 1162 'asan%': '<(asan)',
1159 'asan_blacklist%': '<(asan_blacklist)', 1163 'asan_blacklist%': '<(asan_blacklist)',
1160 'asan_coverage%': '<(asan_coverage)', 1164 'asan_coverage%': '<(asan_coverage)',
1161 'sanitizer_coverage%': '<(sanitizer_coverage)', 1165 'sanitizer_coverage%': '<(sanitizer_coverage)',
1162 'asan_field_padding%': '<(asan_field_padding)', 1166 'asan_field_padding%': '<(asan_field_padding)',
1163 'use_sanitizer_options%': '<(use_sanitizer_options)', 1167 'use_sanitizer_options%': '<(use_sanitizer_options)',
1164 'syzyasan%': '<(syzyasan)', 1168 'syzyasan%': '<(syzyasan)',
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after
2412 'target_arch=="arm64"))', { 2416 'target_arch=="arm64"))', {
2413 'use_seccomp_bpf%': 1, 2417 'use_seccomp_bpf%': 1,
2414 }, { 2418 }, {
2415 'use_seccomp_bpf%': 0, 2419 'use_seccomp_bpf%': 0,
2416 }], 2420 }],
2417 2421
2418 ['cfi_vptr==1', { 2422 ['cfi_vptr==1', {
2419 'use_lto%': 1, 2423 'use_lto%': 1,
2420 }], 2424 }],
2421 2425
2422 ['branding=="Chrome" and buildtype=="Official"', { 2426 ['branding=="Chrome"', {
Lei Zhang 2015/06/04 23:11:00 I'm not sure if this is what hangouts want. Maybe
Anand Mistry (off Chromium) 2015/06/05 00:12:50 Done. I've split hotwording into it's own section
2423 'enable_hangout_services_extension%': 1, 2427 'enable_hangout_services_extension%': 1,
2428 'enable_hotwording%': 1,
2424 }, { 2429 }, {
2425 'enable_hangout_services_extension%': 0, 2430 'enable_hangout_services_extension%': 0,
2426 }], 2431 }],
2427 ], 2432 ],
2428 2433
2429 # The path to the ANGLE library. 2434 # The path to the ANGLE library.
2430 'angle_path': '<(DEPTH)/third_party/angle', 2435 'angle_path': '<(DEPTH)/third_party/angle',
2431 2436
2432 # List of default apps to install in new profiles. The first list contains 2437 # List of default apps to install in new profiles. The first list contains
2433 # the source files as found in svn. The second list, used only for linux, 2438 # the source files as found in svn. The second list, used only for linux,
(...skipping 3760 matching lines...) Expand 10 before | Expand all | Expand 10 after
6194 # settings in target dicts. SYMROOT is a special case, because many other 6199 # settings in target dicts. SYMROOT is a special case, because many other
6195 # Xcode variables depend on it, including variables such as 6200 # Xcode variables depend on it, including variables such as
6196 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6201 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6197 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6202 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6198 # files to appear (when present) in the UI as actual files and not red 6203 # files to appear (when present) in the UI as actual files and not red
6199 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6204 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6200 # and therefore SYMROOT, needs to be set at the project level. 6205 # and therefore SYMROOT, needs to be set at the project level.
6201 'SYMROOT': '<(DEPTH)/xcodebuild', 6206 'SYMROOT': '<(DEPTH)/xcodebuild',
6202 }, 6207 },
6203 } 6208 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698