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

Side by Side Diff: test/mac/xcode-gcc/test.gyp

Issue 10451028: Add support for GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO to xcode emulation. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: grrrr Created 8 years, 7 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 | « test/mac/gyptest-xcode-gcc.py ('k') | test/mac/xcode-gcc/warn_about_invalid_offsetof_macro.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 {
5 'target_defaults': {
6 'xcode_settings': {
7 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES',
8 },
9 },
10
11 # Targets come in pairs: 'foo' and 'foo-fail', with the former building with
12 # no warnings and the latter not.
13 'targets': [
14 # GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO (default: YES):
15 {
16 'target_name': 'warn_about_invalid_offsetof_macro',
17 'type': 'executable',
18 'sources': [ 'warn_about_invalid_offsetof_macro.cc', ],
19 'xcode_settings': {
20 'GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO': 'NO',
21 },
22 },
23 {
24 'target_name': 'warn_about_invalid_offsetof_macro-fail',
25 'type': 'executable',
26 'sources': [ 'warn_about_invalid_offsetof_macro.cc', ],
27 },
28 # GCC_WARN_ABOUT_MISSING_NEWLINE (default: NO):
29 {
30 'target_name': 'warn_about_missing_newline',
31 'type': 'executable',
32 'sources': [ 'warn_about_missing_newline.c', ],
33 },
34 {
35 'target_name': 'warn_about_missing_newline-fail',
36 'type': 'executable',
37 'sources': [ 'warn_about_missing_newline.c', ],
38 'xcode_settings': {
39 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES',
40 },
41 },
42 ],
43 }
OLDNEW
« no previous file with comments | « test/mac/gyptest-xcode-gcc.py ('k') | test/mac/xcode-gcc/warn_about_invalid_offsetof_macro.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698