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

Side by Side Diff: build/common.gypi

Issue 7605019: Reduce number of unnamed-type-template-args violations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « base/base_paths.h ('k') | chrome/browser/chromeos/status/clock_menu_button.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 ], 1541 ],
1542 }]] 1542 }]]
1543 }], 1543 }],
1544 ['clang==1', { 1544 ['clang==1', {
1545 'cflags': [ 1545 'cflags': [
1546 '-Wheader-hygiene', 1546 '-Wheader-hygiene',
1547 # Clang spots more unused functions. 1547 # Clang spots more unused functions.
1548 '-Wno-unused-function', 1548 '-Wno-unused-function',
1549 # Don't die on dtoa code that uses a char as an array index. 1549 # Don't die on dtoa code that uses a char as an array index.
1550 '-Wno-char-subscripts', 1550 '-Wno-char-subscripts',
1551 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see 1551 # Especially needed for gtest macros using enum values from Mac
1552 # http://code.google.com/p/googletest/source/detail?r=446 . 1552 # system headers.
1553 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ) 1553 # TODO(pkasting): In C++11 this is legal, so this should be
1554 # removed when we change to that. (This is also why we don't
1555 # bother fixing all these cases today.)
1554 '-Wno-unnamed-type-template-args', 1556 '-Wno-unnamed-type-template-args',
1555 ], 1557 ],
1556 'cflags!': [ 1558 'cflags!': [
1557 # Clang doesn't seem to know know this flag. 1559 # Clang doesn't seem to know know this flag.
1558 '-mfpmath=sse', 1560 '-mfpmath=sse',
1559 ], 1561 ],
1560 }], 1562 }],
1561 ['clang==1 and clang_use_chrome_plugins==1', { 1563 ['clang==1 and clang_use_chrome_plugins==1', {
1562 'cflags': [ 1564 'cflags': [
1563 '<(clang_chrome_plugins_flags)', 1565 '<(clang_chrome_plugins_flags)',
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1666 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'} 1668 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'}
1667 ], 1669 ],
1668 ['clang==1', { 1670 ['clang==1', {
1669 'WARNING_CFLAGS': [ 1671 'WARNING_CFLAGS': [
1670 '-Wheader-hygiene', 1672 '-Wheader-hygiene',
1671 # Don't die on dtoa code that uses a char as an array index. 1673 # Don't die on dtoa code that uses a char as an array index.
1672 # This is required solely for base/third_party/dmg_fp/dtoa.cc. 1674 # This is required solely for base/third_party/dmg_fp/dtoa.cc.
1673 '-Wno-char-subscripts', 1675 '-Wno-char-subscripts',
1674 # Clang spots more unused functions. 1676 # Clang spots more unused functions.
1675 '-Wno-unused-function', 1677 '-Wno-unused-function',
1676 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see 1678 # See comments on this flag higher up in this file.
1677 # http://code.google.com/p/googletest/source/detail?r=446 .
1678 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ).
1679 '-Wno-unnamed-type-template-args', 1679 '-Wno-unnamed-type-template-args',
1680 # TODO(thakis): Reenable once the one instance this warns on 1680 # TODO(thakis): Reenable once the one instance this warns on
1681 # is fixed. 1681 # is fixed.
1682 '-Wno-parentheses', 1682 '-Wno-parentheses',
1683 ], 1683 ],
1684 }], 1684 }],
1685 ['clang==1 and clang_use_chrome_plugins==1', { 1685 ['clang==1 and clang_use_chrome_plugins==1', {
1686 'OTHER_CFLAGS': [ 1686 'OTHER_CFLAGS': [
1687 '<(clang_chrome_plugins_flags)', 1687 '<(clang_chrome_plugins_flags)',
1688 ], 1688 ],
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
2012 # settings in target dicts. SYMROOT is a special case, because many other 2012 # settings in target dicts. SYMROOT is a special case, because many other
2013 # Xcode variables depend on it, including variables such as 2013 # Xcode variables depend on it, including variables such as
2014 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2014 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2015 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2015 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2016 # files to appear (when present) in the UI as actual files and not red 2016 # files to appear (when present) in the UI as actual files and not red
2017 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2017 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2018 # and therefore SYMROOT, needs to be set at the project level. 2018 # and therefore SYMROOT, needs to be set at the project level.
2019 'SYMROOT': '<(DEPTH)/xcodebuild', 2019 'SYMROOT': '<(DEPTH)/xcodebuild',
2020 }, 2020 },
2021 } 2021 }
OLDNEW
« no previous file with comments | « base/base_paths.h ('k') | chrome/browser/chromeos/status/clock_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698