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 2257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2268 'arm_fpu%': 'neon', | 2268 'arm_fpu%': 'neon', |
2269 }, { | 2269 }, { |
2270 'arm_fpu%': 'vfpv3-d16', | 2270 'arm_fpu%': 'vfpv3-d16', |
2271 }], | 2271 }], |
2272 ], | 2272 ], |
2273 # Change the default to hard once the armhf transition is complete. | 2273 # Change the default to hard once the armhf transition is complete. |
2274 'arm_float_abi%': 'softfp', | 2274 'arm_float_abi%': 'softfp', |
2275 'arm_thumb%': 1, | 2275 'arm_thumb%': 1, |
2276 }], | 2276 }], |
2277 | 2277 |
| 2278 # Set default compiler flags depending on MIPS architecture variant. |
| 2279 ['target_arch=="mipsel" and mips_arch_variant=="r2" and android_webview_bu
ild==0', { |
| 2280 'mips_fpu_mode%': 'fp32', |
| 2281 }], |
| 2282 |
2278 ['android_webview_build==1', { | 2283 ['android_webview_build==1', { |
2279 # The WebView build gets its cpu-specific flags from the Android build s
ystem. | 2284 # The WebView build gets its cpu-specific flags from the Android build s
ystem. |
2280 'arm_arch%': '', | 2285 'arm_arch%': '', |
2281 'arm_tune%': '', | 2286 'arm_tune%': '', |
2282 'arm_fpu%': '', | 2287 'arm_fpu%': '', |
2283 'arm_float_abi%': '', | 2288 'arm_float_abi%': '', |
2284 'arm_thumb%': 0, | 2289 'arm_thumb%': 0, |
| 2290 'mips_fpu_mode%': '', |
2285 }], | 2291 }], |
2286 | 2292 |
2287 # Enable brlapi by default for chromeos. | 2293 # Enable brlapi by default for chromeos. |
2288 [ 'chromeos==1', { | 2294 [ 'chromeos==1', { |
2289 'use_brlapi%': 1, | 2295 'use_brlapi%': 1, |
2290 }], | 2296 }], |
2291 | 2297 |
2292 ['use_ozone==1 and ozone_auto_platforms==1', { | 2298 ['use_ozone==1 and ozone_auto_platforms==1', { |
2293 # Use test as the default platform. | 2299 # Use test as the default platform. |
2294 'ozone_platform%': 'test', | 2300 'ozone_platform%': 'test', |
(...skipping 3562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5857 # settings in target dicts. SYMROOT is a special case, because many other | 5863 # settings in target dicts. SYMROOT is a special case, because many other |
5858 # Xcode variables depend on it, including variables such as | 5864 # Xcode variables depend on it, including variables such as |
5859 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5865 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5860 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5866 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5861 # files to appear (when present) in the UI as actual files and not red | 5867 # files to appear (when present) in the UI as actual files and not red |
5862 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5868 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5863 # and therefore SYMROOT, needs to be set at the project level. | 5869 # and therefore SYMROOT, needs to be set at the project level. |
5864 'SYMROOT': '<(DEPTH)/xcodebuild', | 5870 'SYMROOT': '<(DEPTH)/xcodebuild', |
5865 }, | 5871 }, |
5866 } | 5872 } |
OLD | NEW |