| 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 3789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3800 '-fno-move-loop-invariants', | 3800 '-fno-move-loop-invariants', |
| 3801 '-fno-caller-saves', | 3801 '-fno-caller-saves', |
| 3802 '-Wno-psabi', | 3802 '-Wno-psabi', |
| 3803 ], | 3803 ], |
| 3804 'cflags': [ | 3804 'cflags': [ |
| 3805 # TODO(hans) Enable integrated-as (crbug.com/124610). | 3805 # TODO(hans) Enable integrated-as (crbug.com/124610). |
| 3806 '-no-integrated-as', | 3806 '-no-integrated-as', |
| 3807 '-B<(android_toolchain)', # Else /usr/bin/as gets pic
ked up. | 3807 '-B<(android_toolchain)', # Else /usr/bin/as gets pic
ked up. |
| 3808 ], | 3808 ], |
| 3809 'ldflags': [ | 3809 'ldflags': [ |
| 3810 # Let clang can find the ld.gold in the NDK. | 3810 # Let clang find the ld.gold in the NDK. |
| 3811 '--gcc-toolchain=<(android_toolchain)/..', | 3811 '--gcc-toolchain=<(android_toolchain)/..', |
| 3812 ], | 3812 ], |
| 3813 }], | 3813 }], |
| 3814 ['asan==1', { | 3814 ['asan==1', { |
| 3815 'cflags': [ | 3815 'cflags': [ |
| 3816 '-marm', # Required for frame pointer based stack trac
es. | 3816 '-marm', # Required for frame pointer based stack trac
es. |
| 3817 ], | 3817 ], |
| 3818 }], | 3818 }], |
| 3819 ], | 3819 ], |
| 3820 }], | 3820 }], |
| (...skipping 1834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5655 # settings in target dicts. SYMROOT is a special case, because many other | 5655 # settings in target dicts. SYMROOT is a special case, because many other |
| 5656 # Xcode variables depend on it, including variables such as | 5656 # Xcode variables depend on it, including variables such as |
| 5657 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5657 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5658 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5658 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5659 # files to appear (when present) in the UI as actual files and not red | 5659 # files to appear (when present) in the UI as actual files and not red |
| 5660 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5660 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5661 # and therefore SYMROOT, needs to be set at the project level. | 5661 # and therefore SYMROOT, needs to be set at the project level. |
| 5662 'SYMROOT': '<(DEPTH)/xcodebuild', | 5662 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5663 }, | 5663 }, |
| 5664 } | 5664 } |
| OLD | NEW |