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 2819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2830 ['OS=="android"', { | 2830 ['OS=="android"', { |
2831 # Most of the following flags are derived from what Android | 2831 # Most of the following flags are derived from what Android |
2832 # uses by default when building for arm, reference for which | 2832 # uses by default when building for arm, reference for which |
2833 # can be found in the following file in the Android NDK: | 2833 # can be found in the following file in the Android NDK: |
2834 # toolchains/arm-linux-androideabi-4.4.3/setup.mk | 2834 # toolchains/arm-linux-androideabi-4.4.3/setup.mk |
2835 'cflags': [ | 2835 'cflags': [ |
2836 # The tree-sra optimization (scalar replacement for | 2836 # The tree-sra optimization (scalar replacement for |
2837 # aggregates enabling subsequent optimizations) leads to | 2837 # aggregates enabling subsequent optimizations) leads to |
2838 # invalid code generation when using the Android NDK's | 2838 # invalid code generation when using the Android NDK's |
2839 # compiler (r5-r7). This can be verified using | 2839 # compiler (r5-r7). This can be verified using |
2840 # TestWebKitAPI's WTF.Checked_int8_t test. | 2840 # webkit_unit_tests' WTF.Checked_int8_t test. |
2841 '-fno-tree-sra', | 2841 '-fno-tree-sra', |
2842 '-fuse-ld=gold', | 2842 '-fuse-ld=gold', |
2843 '-Wno-psabi', | 2843 '-Wno-psabi', |
2844 ], | 2844 ], |
2845 # Android now supports .relro sections properly. | 2845 # Android now supports .relro sections properly. |
2846 # NOTE: While these flags enable the generation of .relro | 2846 # NOTE: While these flags enable the generation of .relro |
2847 # sections, the generated libraries can still be loaded on | 2847 # sections, the generated libraries can still be loaded on |
2848 # older Android platform versions. | 2848 # older Android platform versions. |
2849 'ldflags': [ | 2849 'ldflags': [ |
2850 '-Wl,-z,relro', | 2850 '-Wl,-z,relro', |
(...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4274 # settings in target dicts. SYMROOT is a special case, because many other | 4274 # settings in target dicts. SYMROOT is a special case, because many other |
4275 # Xcode variables depend on it, including variables such as | 4275 # Xcode variables depend on it, including variables such as |
4276 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4276 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4277 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4277 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4278 # files to appear (when present) in the UI as actual files and not red | 4278 # files to appear (when present) in the UI as actual files and not red |
4279 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4279 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4280 # and therefore SYMROOT, needs to be set at the project level. | 4280 # and therefore SYMROOT, needs to be set at the project level. |
4281 'SYMROOT': '<(DEPTH)/xcodebuild', | 4281 'SYMROOT': '<(DEPTH)/xcodebuild', |
4282 }, | 4282 }, |
4283 } | 4283 } |
OLD | NEW |