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

Side by Side Diff: build/common.gypi

Issue 12261047: Warn on missing OVERRIDE/virtual everywhere, not just in header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | tools/clang/scripts/plugin_flags.sh » ('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 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 ['enable_app_list==1', { 1420 ['enable_app_list==1', {
1421 'grit_defines': ['-D', 'enable_app_list'], 1421 'grit_defines': ['-D', 'enable_app_list'],
1422 }], 1422 }],
1423 ['enable_settings_app==1', { 1423 ['enable_settings_app==1', {
1424 'grit_defines': ['-D', 'enable_settings_app'], 1424 'grit_defines': ['-D', 'enable_settings_app'],
1425 }], 1425 }],
1426 ['enable_google_now==1', { 1426 ['enable_google_now==1', {
1427 'grit_defines': ['-D', 'enable_google_now'], 1427 'grit_defines': ['-D', 'enable_google_now'],
1428 }], 1428 }],
1429 ['clang_use_chrome_plugins==1 and OS!="win"', { 1429 ['clang_use_chrome_plugins==1 and OS!="win"', {
1430 'clang_chrome_plugins_flags': [ 1430 'variables': {
1431 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' 1431 'clang_chrome_plugins_flags': [
1432 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'
1433 ],
1434 },
1435 'conditions': [
1436 ['OS=="linux" or chromeos==1', {
1437 'clang_chrome_plugin_flags': [
1438 '<@(clang_chrome_plugin_flags)'
1439 ],
Nico 2013/02/18 09:42:24 (do you need this branch at all?)
Ryan Sleevi 2013/02/18 09:50:26 Yeah, this brings it out from variable-variable sc
Nico 2013/02/18 12:07:41 That's what I guessed.
1440 }, {
1441 # TODO(rsleevi): http://crbug.com/115047 - This warning is only
1442 # enabled for Linux/ChromiumOS for now. Disable everywhere else.
1443 'clang_chrome_plugin_flags': [
1444 '<@(clang_chrome_plugin_flags)',
1445 '-Xclang',
1446 '-plugin-arg-find-bad-constructs',
1447 '-Xclang',
1448 'skip-virtuals-in-implementations',
1449 ],
1450 }]
1432 ], 1451 ],
1433 }], 1452 }],
1434 1453
1435 ['enable_web_intents_tag==1', { 1454 ['enable_web_intents_tag==1', {
1436 'grit_defines': ['-D', 'enable_web_intents_tag'], 1455 'grit_defines': ['-D', 'enable_web_intents_tag'],
1437 }], 1456 }],
1438 1457
1439 ['asan==1 and OS!="win"', { 1458 ['asan==1 and OS!="win"', {
1440 'clang%': 1, 1459 'clang%': 1,
1441 }], 1460 }],
(...skipping 2598 matching lines...) Expand 10 before | Expand all | Expand 10 after
4040 # settings in target dicts. SYMROOT is a special case, because many other 4059 # settings in target dicts. SYMROOT is a special case, because many other
4041 # Xcode variables depend on it, including variables such as 4060 # Xcode variables depend on it, including variables such as
4042 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4061 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4043 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4062 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4044 # files to appear (when present) in the UI as actual files and not red 4063 # files to appear (when present) in the UI as actual files and not red
4045 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4064 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4046 # and therefore SYMROOT, needs to be set at the project level. 4065 # and therefore SYMROOT, needs to be set at the project level.
4047 'SYMROOT': '<(DEPTH)/xcodebuild', 4066 'SYMROOT': '<(DEPTH)/xcodebuild',
4048 }, 4067 },
4049 } 4068 }
OLDNEW
« no previous file with comments | « no previous file | tools/clang/scripts/plugin_flags.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698