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

Side by Side Diff: build/common.gypi

Issue 149463005: Exclude Task Manager strings when enable_task_manager==0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated capitalization Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 'enable_google_now%': 0, 613 'enable_google_now%': 0,
614 'cld_version%': 1, 614 'cld_version%': 1,
615 'enable_spellcheck%': 0, 615 'enable_spellcheck%': 0,
616 'enable_themes%': 0, 616 'enable_themes%': 0,
617 'remoting%': 0, 617 'remoting%': 0,
618 'arm_neon%': 0, 618 'arm_neon%': 0,
619 'arm_neon_optional%': 1, 619 'arm_neon_optional%': 1,
620 'native_discardable_memory%': 1, 620 'native_discardable_memory%': 1,
621 'native_memory_pressure_signals%': 1, 621 'native_memory_pressure_signals%': 1,
622 'enable_printing%': 2, 622 'enable_printing%': 2,
623 'enable_task_manager%':0,
623 }], 624 }],
624 625
625 # Android OS includes support for proprietary codecs regardless of 626 # Android OS includes support for proprietary codecs regardless of
626 # building Chromium or Google Chrome. We also ship Google Chrome with 627 # building Chromium or Google Chrome. We also ship Google Chrome with
627 # proprietary codecs. 628 # proprietary codecs.
628 ['OS=="android" or branding=="Chrome"', { 629 ['OS=="android" or branding=="Chrome"', {
629 'proprietary_codecs%': 1, 630 'proprietary_codecs%': 1,
630 }, { 631 }, {
631 'proprietary_codecs%': 0, 632 'proprietary_codecs%': 0,
632 }], 633 }],
(...skipping 26 matching lines...) Expand all
659 'enable_google_now%': 0, 660 'enable_google_now%': 0,
660 'cld_version%': 1, 661 'cld_version%': 1,
661 'enable_printing%': 0, 662 'enable_printing%': 0,
662 'enable_session_service%': 0, 663 'enable_session_service%': 0,
663 'enable_themes%': 0, 664 'enable_themes%': 0,
664 'enable_webrtc%': 0, 665 'enable_webrtc%': 0,
665 'notifications%': 0, 666 'notifications%': 0,
666 'remoting%': 0, 667 'remoting%': 0,
667 'safe_browsing%': 0, 668 'safe_browsing%': 0,
668 'enable_managed_users%': 0, 669 'enable_managed_users%': 0,
670 'enable_task_manager%': 0,
669 }], 671 }],
670 672
671 # Use GPU accelerated cross process image transport by default 673 # Use GPU accelerated cross process image transport by default
672 # on linux builds with the Aura window manager 674 # on linux builds with the Aura window manager
673 ['use_aura==1 and OS=="linux"', { 675 ['use_aura==1 and OS=="linux"', {
674 'ui_compositor_image_transport%': 1, 676 'ui_compositor_image_transport%': 1,
675 }, { 677 }, {
676 'ui_compositor_image_transport%': 0, 678 'ui_compositor_image_transport%': 0,
677 }], 679 }],
678 680
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 'icu_use_data_file_flag%': 1, 1314 'icu_use_data_file_flag%': 1,
1313 }], 1315 }],
1314 ], 1316 ],
1315 }], # os_posix==1 and OS!="mac" and OS!="ios" 1317 }], # os_posix==1 and OS!="mac" and OS!="ios"
1316 ['OS=="mac"', { 1318 ['OS=="mac"', {
1317 'icu_use_data_file_flag%': 1, 1319 'icu_use_data_file_flag%': 1,
1318 }], # os=="mac" 1320 }], # os=="mac"
1319 ['OS=="ios"', { 1321 ['OS=="ios"', {
1320 'disable_nacl%': 1, 1322 'disable_nacl%': 1,
1321 'enable_background%': 0, 1323 'enable_background%': 0,
1322 'enable_task_manager%': 0,
1323 'icu_use_data_file_flag%': 1, 1324 'icu_use_data_file_flag%': 1,
1324 'use_system_libxml%': 1, 1325 'use_system_libxml%': 1,
1325 'use_system_sqlite%': 1, 1326 'use_system_sqlite%': 1,
1326 'locales==': [ 1327 'locales==': [
1327 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', 1328 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX',
1328 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', 1329 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb',
1329 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 1330 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk',
1330 'vi', 'zh-CN', 'zh-TW', 1331 'vi', 'zh-CN', 'zh-TW',
1331 ], 1332 ],
1332 1333
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 # Determines whether we should optimize JNI generation at the cost of 1442 # Determines whether we should optimize JNI generation at the cost of
1442 # breaking assumptions in the build system that when inputs have changed 1443 # breaking assumptions in the build system that when inputs have changed
1443 # the outputs should always change as well. This is meant purely for 1444 # the outputs should always change as well. This is meant purely for
1444 # developer builds, to avoid spurious re-linking of native files. 1445 # developer builds, to avoid spurious re-linking of native files.
1445 'optimize_jni_generation%': 0, 1446 'optimize_jni_generation%': 0,
1446 1447
1447 # Always uses openssl. 1448 # Always uses openssl.
1448 'use_openssl%': 1, 1449 'use_openssl%': 1,
1449 1450
1450 'proprietary_codecs%': '<(proprietary_codecs)', 1451 'proprietary_codecs%': '<(proprietary_codecs)',
1451 'enable_task_manager%': 0,
1452 'safe_browsing%': 2, 1452 'safe_browsing%': 2,
1453 'input_speech%': 0, 1453 'input_speech%': 0,
1454 'enable_automation%': 0, 1454 'enable_automation%': 0,
1455 'java_bridge%': 1, 1455 'java_bridge%': 1,
1456 'build_ffmpegsumo%': 0, 1456 'build_ffmpegsumo%': 0,
1457 'linux_use_tcmalloc%': 0, 1457 'linux_use_tcmalloc%': 0,
1458 1458
1459 # Disable Native Client. 1459 # Disable Native Client.
1460 'disable_nacl%': 1, 1460 'disable_nacl%': 1,
1461 1461
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1728 ['"<(GENERATOR)"=="ninja"', { 1728 ['"<(GENERATOR)"=="ninja"', {
1729 'clang%': 1, 1729 'clang%': 1,
1730 'host_os%': "mac", 1730 'host_os%': "mac",
1731 }] 1731 }]
1732 ], 1732 ],
1733 }], 1733 }],
1734 ['enable_extensions==1', { 1734 ['enable_extensions==1', {
1735 'grit_defines': ['-D', 'enable_extensions'], 1735 'grit_defines': ['-D', 'enable_extensions'],
1736 }], 1736 }],
1737 ['enable_plugins!=0', { 1737 ['enable_plugins!=0', {
1738
1739 'grit_defines': ['-D', 'enable_plugins'], 1738 'grit_defines': ['-D', 'enable_plugins'],
1740 }], 1739 }],
1741 ['enable_printing!=0', { 1740 ['enable_printing!=0', {
1742 'grit_defines': ['-D', 'enable_printing'], 1741 'grit_defines': ['-D', 'enable_printing'],
1743 }], 1742 }],
1744 ['enable_printing==1', { 1743 ['enable_printing==1', {
1745 'grit_defines': ['-D', 'enable_full_printing'], 1744 'grit_defines': ['-D', 'enable_full_printing'],
1746 }], 1745 }],
1747 ['enable_themes==1', { 1746 ['enable_themes==1', {
1748 'grit_defines': ['-D', 'enable_themes'], 1747 'grit_defines': ['-D', 'enable_themes'],
(...skipping 12 matching lines...) Expand all
1761 }], 1760 }],
1762 ['enable_webrtc==1', { 1761 ['enable_webrtc==1', {
1763 'grit_defines': ['-D', 'enable_webrtc'], 1762 'grit_defines': ['-D', 'enable_webrtc'],
1764 }], 1763 }],
1765 ['enable_mdns==1', { 1764 ['enable_mdns==1', {
1766 'grit_defines': ['-D', 'enable_mdns'], 1765 'grit_defines': ['-D', 'enable_mdns'],
1767 }], 1766 }],
1768 ['enable_enhanced_bookmarks==1', { 1767 ['enable_enhanced_bookmarks==1', {
1769 'grit_defines': ['-D', 'enable_enhanced_bookmarks'], 1768 'grit_defines': ['-D', 'enable_enhanced_bookmarks'],
1770 }], 1769 }],
1770 ['enable_task_manager==1', {
1771 'grit_defines': ['-D', 'enable_task_manager'],
1772 }],
1771 ['clang_use_chrome_plugins==1 and OS!="win"', { 1773 ['clang_use_chrome_plugins==1 and OS!="win"', {
1772 'clang_chrome_plugins_flags': [ 1774 'clang_chrome_plugins_flags': [
1773 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' 1775 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'
1774 ], 1776 ],
1775 }], 1777 }],
1776 1778
1777 ['asan==1 and OS!="win"', { 1779 ['asan==1 and OS!="win"', {
1778 'clang%': 1, 1780 'clang%': 1,
1779 }], 1781 }],
1780 ['asan==1 and OS=="mac"', { 1782 ['asan==1 and OS=="mac"', {
(...skipping 3097 matching lines...) Expand 10 before | Expand all | Expand 10 after
4878 # settings in target dicts. SYMROOT is a special case, because many other 4880 # settings in target dicts. SYMROOT is a special case, because many other
4879 # Xcode variables depend on it, including variables such as 4881 # Xcode variables depend on it, including variables such as
4880 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4882 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4881 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4883 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4882 # files to appear (when present) in the UI as actual files and not red 4884 # files to appear (when present) in the UI as actual files and not red
4883 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4885 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4884 # and therefore SYMROOT, needs to be set at the project level. 4886 # and therefore SYMROOT, needs to be set at the project level.
4885 'SYMROOT': '<(DEPTH)/xcodebuild', 4887 'SYMROOT': '<(DEPTH)/xcodebuild',
4886 }, 4888 },
4887 } 4889 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698