Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: build/config/arm.gni

Issue 1130153009: Update build configuration to support iOS targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/allocator.gni ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 if (current_cpu == "arm") { 5 if (current_cpu == "arm") {
6 declare_args() { 6 declare_args() {
7 # Version of the ARM processor when compiling on ARM. Ignored on non-ARM 7 # Version of the ARM processor when compiling on ARM. Ignored on non-ARM
8 # platforms. 8 # platforms.
9 arm_version = 7 9 arm_version = 7
10 10
(...skipping 10 matching lines...) Expand all
21 # Whether to use the neon FPU instruction set or not. 21 # Whether to use the neon FPU instruction set or not.
22 arm_use_neon = true 22 arm_use_neon = true
23 23
24 # Whether to enable optional NEON code paths. 24 # Whether to enable optional NEON code paths.
25 arm_optionally_use_neon = false 25 arm_optionally_use_neon = false
26 26
27 if (is_android) { 27 if (is_android) {
28 arm_use_neon = false 28 arm_use_neon = false
29 arm_optionally_use_neon = true 29 arm_optionally_use_neon = true
30 } 30 }
31
32 if (is_ios) {
33 arm_use_neon = false
34 arm_optionally_use_neon = false
35 }
31 } 36 }
32 37
33 assert(arm_float_abi == "" || arm_float_abi == "hard" || 38 assert(arm_float_abi == "" || arm_float_abi == "hard" ||
34 arm_float_abi == "soft" || arm_float_abi == "softfp") 39 arm_float_abi == "soft" || arm_float_abi == "softfp")
35 40
36 if (arm_version == 6) { 41 if (arm_version == 6) {
37 arm_arch = "armv6" 42 arm_arch = "armv6"
38 if (arm_tune != "") { 43 if (arm_tune != "") {
39 arm_tune = "" 44 arm_tune = ""
40 } 45 }
(...skipping 17 matching lines...) Expand all
58 63
59 arm_use_thumb = true 64 arm_use_thumb = true
60 65
61 if (arm_use_neon) { 66 if (arm_use_neon) {
62 arm_fpu = "neon" 67 arm_fpu = "neon"
63 } else { 68 } else {
64 arm_fpu = "vfpv3-d16" 69 arm_fpu = "vfpv3-d16"
65 } 70 }
66 } 71 }
67 } 72 }
OLDNEW
« no previous file with comments | « build/config/allocator.gni ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698