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 3900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3911 '-m64', | 3911 '-m64', |
3912 ], | 3912 ], |
3913 }], | 3913 }], |
3914 ], | 3914 ], |
3915 }], | 3915 }], |
3916 ['target_arch=="arm"', { | 3916 ['target_arch=="arm"', { |
3917 'target_conditions': [ | 3917 'target_conditions': [ |
3918 ['_toolset=="target"', { | 3918 ['_toolset=="target"', { |
3919 'conditions': [ | 3919 'conditions': [ |
3920 ['clang==0', { | 3920 ['clang==0', { |
| 3921 'cflags': [ |
| 3922 # Don't warn about "maybe" uninitialized. Clang doesn't |
| 3923 # include this in -Wall but gcc does, and it gives false |
| 3924 # positives. |
| 3925 '-Wno-maybe-uninitialized', |
| 3926 ], |
3921 'cflags_cc': [ | 3927 'cflags_cc': [ |
3922 # The codesourcery arm-2009q3 toolchain warns at that the
ABI | 3928 # The codesourcery arm-2009q3 toolchain warns at that the
ABI |
3923 # has changed whenever it encounters a varargs function. T
his | 3929 # has changed whenever it encounters a varargs function. T
his |
3924 # silences those warnings, as they are not helpful and | 3930 # silences those warnings, as they are not helpful and |
3925 # clutter legitimate warnings. | 3931 # clutter legitimate warnings. |
3926 '-Wno-abi', | 3932 '-Wno-abi', |
3927 ], | 3933 ], |
3928 }], | 3934 }], |
3929 ['clang==1 and arm_arch!="" and OS!="android"', { | 3935 ['clang==1 and arm_arch!="" and OS!="android"', { |
3930 'cflags': [ | 3936 'cflags': [ |
(...skipping 2386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6317 # settings in target dicts. SYMROOT is a special case, because many other | 6323 # settings in target dicts. SYMROOT is a special case, because many other |
6318 # Xcode variables depend on it, including variables such as | 6324 # Xcode variables depend on it, including variables such as |
6319 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6325 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6320 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6326 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6321 # files to appear (when present) in the UI as actual files and not red | 6327 # files to appear (when present) in the UI as actual files and not red |
6322 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6328 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6323 # and therefore SYMROOT, needs to be set at the project level. | 6329 # and therefore SYMROOT, needs to be set at the project level. |
6324 'SYMROOT': '<(DEPTH)/xcodebuild', | 6330 'SYMROOT': '<(DEPTH)/xcodebuild', |
6325 }, | 6331 }, |
6326 } | 6332 } |
OLD | NEW |