OLD | NEW |
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 3202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3213 }], | 3213 }], |
3214 ['clang==1 and OS=="android"', { | 3214 ['clang==1 and OS=="android"', { |
3215 # Android uses stlport, whose include/new defines | 3215 # Android uses stlport, whose include/new defines |
3216 # `void operator delete[](void* ptr) throw();`, which | 3216 # `void operator delete[](void* ptr) throw();`, which |
3217 # clang's -Wimplicit-exception-spec-mismatch warns about for some | 3217 # clang's -Wimplicit-exception-spec-mismatch warns about for some |
3218 # reason -- http://llvm.org/PR16638. TODO(thakis): Include stlport | 3218 # reason -- http://llvm.org/PR16638. TODO(thakis): Include stlport |
3219 # via -isystem instead. | 3219 # via -isystem instead. |
3220 'cflags_cc': [ | 3220 'cflags_cc': [ |
3221 '-Wno-implicit-exception-spec-mismatch', | 3221 '-Wno-implicit-exception-spec-mismatch', |
3222 ], | 3222 ], |
3223 'cflags': [ | |
3224 # TODO(hans): Remove once we've cleaned up the warnings. | |
3225 # http://crbug.com/307668 | |
3226 '-Wno-unused-const-variable', | |
3227 ], | |
3228 }], | 3223 }], |
3229 ['clang==1 and clang_use_chrome_plugins==1', { | 3224 ['clang==1 and clang_use_chrome_plugins==1', { |
3230 'cflags': [ | 3225 'cflags': [ |
3231 '<@(clang_chrome_plugins_flags)', | 3226 '<@(clang_chrome_plugins_flags)', |
3232 ], | 3227 ], |
3233 }], | 3228 }], |
3234 ['clang==1 and clang_load!=""', { | 3229 ['clang==1 and clang_load!=""', { |
3235 'cflags': [ | 3230 'cflags': [ |
3236 '-Xclang', '-load', '-Xclang', '<(clang_load)', | 3231 '-Xclang', '-load', '-Xclang', '<(clang_load)', |
3237 ], | 3232 ], |
(...skipping 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4728 # settings in target dicts. SYMROOT is a special case, because many other | 4723 # settings in target dicts. SYMROOT is a special case, because many other |
4729 # Xcode variables depend on it, including variables such as | 4724 # Xcode variables depend on it, including variables such as |
4730 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4725 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4731 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4726 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4732 # files to appear (when present) in the UI as actual files and not red | 4727 # files to appear (when present) in the UI as actual files and not red |
4733 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4728 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4734 # and therefore SYMROOT, needs to be set at the project level. | 4729 # and therefore SYMROOT, needs to be set at the project level. |
4735 'SYMROOT': '<(DEPTH)/xcodebuild', | 4730 'SYMROOT': '<(DEPTH)/xcodebuild', |
4736 }, | 4731 }, |
4737 } | 4732 } |
OLD | NEW |