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 3253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3264 # Clang does not support the following options. | 3264 # Clang does not support the following options. |
3265 '-mthumb-interwork', | 3265 '-mthumb-interwork', |
3266 '-finline-limit=64', | 3266 '-finline-limit=64', |
3267 '-fno-tree-sra', | 3267 '-fno-tree-sra', |
3268 '-fuse-ld=gold', | 3268 '-fuse-ld=gold', |
3269 '-Wno-psabi', | 3269 '-Wno-psabi', |
3270 ], | 3270 ], |
3271 'cflags': [ | 3271 'cflags': [ |
3272 # TODO(hans) Enable integrated-as (crbug.com/124610). | 3272 # TODO(hans) Enable integrated-as (crbug.com/124610). |
3273 '-no-integrated-as', | 3273 '-no-integrated-as', |
| 3274 '-B<(android_toolchain)', # Else /usr/bin/as gets pic
ked up. |
3274 ], | 3275 ], |
3275 | 3276 |
3276 'ldflags!': [ | 3277 'ldflags!': [ |
3277 # Clang does not support the following options. | 3278 # Clang does not support the following options. |
3278 '-fuse-ld=gold', | 3279 '-fuse-ld=gold', |
3279 ], | 3280 ], |
3280 }], | 3281 }], |
3281 ], | 3282 ], |
3282 }], | 3283 }], |
3283 ], | 3284 ], |
(...skipping 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4833 # settings in target dicts. SYMROOT is a special case, because many other | 4834 # settings in target dicts. SYMROOT is a special case, because many other |
4834 # Xcode variables depend on it, including variables such as | 4835 # Xcode variables depend on it, including variables such as |
4835 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4836 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4836 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4837 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4837 # files to appear (when present) in the UI as actual files and not red | 4838 # files to appear (when present) in the UI as actual files and not red |
4838 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4839 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4839 # and therefore SYMROOT, needs to be set at the project level. | 4840 # and therefore SYMROOT, needs to be set at the project level. |
4840 'SYMROOT': '<(DEPTH)/xcodebuild', | 4841 'SYMROOT': '<(DEPTH)/xcodebuild', |
4841 }, | 4842 }, |
4842 } | 4843 } |
OLD | NEW |