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 2284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2295 'arm_fpu%': 'neon', | 2295 'arm_fpu%': 'neon', |
2296 }, { | 2296 }, { |
2297 'arm_fpu%': 'vfpv3-d16', | 2297 'arm_fpu%': 'vfpv3-d16', |
2298 }], | 2298 }], |
2299 ], | 2299 ], |
2300 # Change the default to hard once the armhf transition is complete. | 2300 # Change the default to hard once the armhf transition is complete. |
2301 'arm_float_abi%': 'softfp', | 2301 'arm_float_abi%': 'softfp', |
2302 'arm_thumb%': 1, | 2302 'arm_thumb%': 1, |
2303 }], | 2303 }], |
2304 | 2304 |
2305 # Set default compiler flags depending on MIPS architecture variant. | 2305 # Set default compiler flags for MIPS floating-point support. |
2306 ['target_arch=="mipsel" and android_webview_build==0', { | |
2307 'mips_float_abi%': 'hard', | |
2308 }], | |
2306 ['target_arch=="mipsel" and mips_arch_variant=="r2" and android_webview_bu ild==0', { | 2309 ['target_arch=="mipsel" and mips_arch_variant=="r2" and android_webview_bu ild==0', { |
2307 'mips_fpu_mode%': 'fp32', | 2310 'mips_fpu_mode%': 'fp32', |
wtc
2015/03/03 23:21:41
I reordered these two build variables to suggest t
| |
2308 }], | 2311 }], |
2309 ['target_arch=="mipsel" and android_webview_build==0', { | |
2310 'mips_float_abi%': 'hard', | |
2311 }], | |
2312 | 2312 |
2313 ['android_webview_build==1', { | 2313 ['android_webview_build==1', { |
2314 # The WebView build gets its cpu-specific flags from the Android build s ystem. | 2314 # The WebView build gets its cpu-specific flags from the Android build s ystem. |
2315 'arm_arch%': '', | 2315 'arm_arch%': '', |
2316 'arm_tune%': '', | 2316 'arm_tune%': '', |
2317 'arm_fpu%': '', | 2317 'arm_fpu%': '', |
2318 'arm_float_abi%': '', | 2318 'arm_float_abi%': '', |
2319 'arm_thumb%': 0, | 2319 'arm_thumb%': 0, |
2320 'mips_float_abi%': '', | |
2320 'mips_fpu_mode%': '', | 2321 'mips_fpu_mode%': '', |
2321 'mips_float_abi%': '', | |
2322 }], | 2322 }], |
2323 | 2323 |
2324 # Enable brlapi by default for chromeos. | 2324 # Enable brlapi by default for chromeos. |
2325 [ 'chromeos==1', { | 2325 [ 'chromeos==1', { |
2326 'use_brlapi%': 1, | 2326 'use_brlapi%': 1, |
2327 }], | 2327 }], |
2328 | 2328 |
2329 ['use_ozone==1 and ozone_auto_platforms==1', { | 2329 ['use_ozone==1 and ozone_auto_platforms==1', { |
2330 # Use test as the default platform. | 2330 # Use test as the default platform. |
2331 'ozone_platform%': 'test', | 2331 'ozone_platform%': 'test', |
(...skipping 1742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4074 'cflags': ['-mips32r6', '-Wa,-mips32r6'], | 4074 'cflags': ['-mips32r6', '-Wa,-mips32r6'], |
4075 'conditions': [ | 4075 'conditions': [ |
4076 ['OS=="android"', { | 4076 ['OS=="android"', { |
4077 'ldflags': ['-mips32r6', '-Wl,-melf32ltsmip',], | 4077 'ldflags': ['-mips32r6', '-Wl,-melf32ltsmip',], |
4078 }], | 4078 }], |
4079 ], | 4079 ], |
4080 }], | 4080 }], |
4081 ['mips_arch_variant=="r2"', { | 4081 ['mips_arch_variant=="r2"', { |
4082 'cflags': ['-mips32r2', '-Wa,-mips32r2'], | 4082 'cflags': ['-mips32r2', '-Wa,-mips32r2'], |
4083 'conditions': [ | 4083 'conditions': [ |
4084 ['mips_fpu_mode!=""', { | 4084 ['mips_float_abi=="hard" and mips_fpu_mode!=""', { |
4085 'cflags': ['-m<(mips_fpu_mode)'], | 4085 'cflags': ['-m<(mips_fpu_mode)'], |
4086 }], | 4086 }], |
4087 ], | 4087 ], |
4088 }], | 4088 }], |
4089 ['mips_arch_variant=="r1"', { | 4089 ['mips_arch_variant=="r1"', { |
4090 'cflags': ['-mips32', '-Wa,-mips32'], | 4090 'cflags': ['-mips32', '-Wa,-mips32'], |
4091 }], | 4091 }], |
4092 ['mips_dsp_rev==1', { | 4092 ['mips_dsp_rev==1', { |
4093 'cflags': ['-mdsp'], | 4093 'cflags': ['-mdsp'], |
4094 }], | 4094 }], |
(...skipping 1884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5979 # settings in target dicts. SYMROOT is a special case, because many other | 5979 # settings in target dicts. SYMROOT is a special case, because many other |
5980 # Xcode variables depend on it, including variables such as | 5980 # Xcode variables depend on it, including variables such as |
5981 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5981 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5982 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5982 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5983 # files to appear (when present) in the UI as actual files and not red | 5983 # files to appear (when present) in the UI as actual files and not red |
5984 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5984 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5985 # and therefore SYMROOT, needs to be set at the project level. | 5985 # and therefore SYMROOT, needs to be set at the project level. |
5986 'SYMROOT': '<(DEPTH)/xcodebuild', | 5986 'SYMROOT': '<(DEPTH)/xcodebuild', |
5987 }, | 5987 }, |
5988 } | 5988 } |
OLD | NEW |