OLD | NEW |
1 # Copyright 2011 Google Inc. | 1 # Copyright 2011 Google Inc. |
2 # | 2 # |
3 # Licensed under the Apache License, Version 2.0 (the "License"); | 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
4 # you may not use this file except in compliance with the License. | 4 # you may not use this file except in compliance with the License. |
5 # You may obtain a copy of the License at | 5 # You may obtain a copy of the License at |
6 # | 6 # |
7 # http://www.apache.org/licenses/LICENSE-2.0 | 7 # http://www.apache.org/licenses/LICENSE-2.0 |
8 # | 8 # |
9 # Unless required by applicable law or agreed to in writing, software | 9 # Unless required by applicable law or agreed to in writing, software |
10 # distributed under the License is distributed on an "AS IS" BASIS, | 10 # distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 'AdditionalOptions!': [ | 72 'AdditionalOptions!': [ |
73 '-Wheader-hygiene', # Suppress warning about using namespace. | 73 '-Wheader-hygiene', # Suppress warning about using namespace. |
74 ], | 74 ], |
75 'AdditionalOptions': [ | 75 'AdditionalOptions': [ |
76 '-Wno-unused-local-typedef', # Suppress unused private typedef. | 76 '-Wno-unused-local-typedef', # Suppress unused private typedef. |
77 ], | 77 ], |
78 }, | 78 }, |
79 }, | 79 }, |
80 }], | 80 }], |
81 ['clang==1', { | 81 ['clang==1', { |
| 82 'cflags': ['-Wno-unused-local-typedef',], |
82 'cflags!': ['-Wheader-hygiene',], | 83 'cflags!': ['-Wheader-hygiene',], |
83 'xcode_settings': { | 84 'xcode_settings': { |
| 85 'WARNING_CFLAGS': ['-Wno-unused-local-typedef',], |
84 'WARNING_CFLAGS!': ['-Wheader-hygiene',], | 86 'WARNING_CFLAGS!': ['-Wheader-hygiene',], |
85 }, | 87 }, |
86 }], | 88 }], |
87 ], | 89 ], |
88 }, | 90 }, |
89 ], | 91 ], |
90 } | 92 } |
OLD | NEW |