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

Side by Side Diff: build/common.gypi

Issue 160113002: Exclude notification strings for builds that dont use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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') | chrome/app/generated_resources.grd » ('J')
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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 'cld_version%': 1, 609 'cld_version%': 1,
610 'enable_spellcheck%': 0, 610 'enable_spellcheck%': 0,
611 'enable_themes%': 0, 611 'enable_themes%': 0,
612 'remoting%': 0, 612 'remoting%': 0,
613 'arm_neon%': 0, 613 'arm_neon%': 0,
614 'arm_neon_optional%': 1, 614 'arm_neon_optional%': 1,
615 'native_discardable_memory%': 1, 615 'native_discardable_memory%': 1,
616 'native_memory_pressure_signals%': 1, 616 'native_memory_pressure_signals%': 1,
617 'enable_printing%': 2, 617 'enable_printing%': 2,
618 'enable_task_manager%':0, 618 'enable_task_manager%':0,
619 # Set to 1 once we have a notification system for Android.
620 # http://crbug.com/115320
621 'notifications%': 0,
619 }], 622 }],
620 623
621 # Android OS includes support for proprietary codecs regardless of 624 # Android OS includes support for proprietary codecs regardless of
622 # building Chromium or Google Chrome. We also ship Google Chrome with 625 # building Chromium or Google Chrome. We also ship Google Chrome with
623 # proprietary codecs. 626 # proprietary codecs.
624 ['OS=="android" or branding=="Chrome"', { 627 ['OS=="android" or branding=="Chrome"', {
625 'proprietary_codecs%': 1, 628 'proprietary_codecs%': 1,
626 }, { 629 }, {
627 'proprietary_codecs%': 0, 630 'proprietary_codecs%': 0,
628 }], 631 }],
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 1459
1457 # Disable Native Client. 1460 # Disable Native Client.
1458 'disable_nacl%': 1, 1461 'disable_nacl%': 1,
1459 1462
1460 # Android does not support background apps. 1463 # Android does not support background apps.
1461 'enable_background%': 0, 1464 'enable_background%': 0,
1462 1465
1463 # Sessions are store separately in the Java side. 1466 # Sessions are store separately in the Java side.
1464 'enable_session_service%': 0, 1467 'enable_session_service%': 0,
1465 1468
1466 # Set to 1 once we have a notification system for Android.
1467 # http://crbug.com/115320
1468 'notifications%': 0,
1469
1470 'p2p_apis%' : 0, 1469 'p2p_apis%' : 0,
1471 1470
1472 'gtest_target_type%': 'shared_library', 1471 'gtest_target_type%': 'shared_library',
1473 1472
1474 # Uses system APIs for decoding audio and video. 1473 # Uses system APIs for decoding audio and video.
1475 'use_libffmpeg%': '0', 1474 'use_libffmpeg%': '0',
1476 1475
1477 # When building as part of the Android system, use system libraries 1476 # When building as part of the Android system, use system libraries
1478 # where possible to reduce ROM size. 1477 # where possible to reduce ROM size.
1479 # TODO(steveblock): Investigate using the system version of sqlite. 1478 # TODO(steveblock): Investigate using the system version of sqlite.
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }],
1771 ['enable_task_manager==1', { 1770 ['enable_task_manager==1', {
1772 'grit_defines': ['-D', 'enable_task_manager'], 1771 'grit_defines': ['-D', 'enable_task_manager'],
1773 }], 1772 }],
1773 ['notifications==1', {
1774 'grit_defines': ['-D', 'enable_notifications'],
1775 }],
1774 ['clang_use_chrome_plugins==1 and OS!="win"', { 1776 ['clang_use_chrome_plugins==1 and OS!="win"', {
1775 'clang_chrome_plugins_flags': [ 1777 'clang_chrome_plugins_flags': [
1776 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' 1778 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'
1777 ], 1779 ],
1778 }], 1780 }],
1779 1781
1780 ['asan==1 and OS!="win"', { 1782 ['asan==1 and OS!="win"', {
1781 'clang%': 1, 1783 'clang%': 1,
1782 }], 1784 }],
1783 ['asan==1 and OS=="mac"', { 1785 ['asan==1 and OS=="mac"', {
(...skipping 3110 matching lines...) Expand 10 before | Expand all | Expand 10 after
4894 # settings in target dicts. SYMROOT is a special case, because many other 4896 # settings in target dicts. SYMROOT is a special case, because many other
4895 # Xcode variables depend on it, including variables such as 4897 # Xcode variables depend on it, including variables such as
4896 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4898 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4897 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4899 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4898 # files to appear (when present) in the UI as actual files and not red 4900 # files to appear (when present) in the UI as actual files and not red
4899 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4901 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4900 # and therefore SYMROOT, needs to be set at the project level. 4902 # and therefore SYMROOT, needs to be set at the project level.
4901 'SYMROOT': '<(DEPTH)/xcodebuild', 4903 'SYMROOT': '<(DEPTH)/xcodebuild',
4902 }, 4904 },
4903 } 4905 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | chrome/app/generated_resources.grd » ('J')

Powered by Google App Engine
This is Rietveld 408576698