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

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

Issue 1540293003: Support for arm64 build. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 4 years, 11 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 | « no previous file | mojo/tools/mojob.py » ('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" || current_cpu == "arm64") {
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 if (current_cpu == "arm64") {
10 arm_version = 8
11 } else {
12 arm_version = 7
13 }
10 14
11 # The ARM floating point mode. This is either the string "hard", "soft", or 15 # The ARM floating point mode. This is either the string "hard", "soft", or
12 # "softfp". An empty string means to use the default one for the 16 # "softfp". An empty string means to use the default one for the
13 # arm_version. 17 # arm_version.
14 arm_float_abi = "" 18 arm_float_abi = ""
15 19
16 # The ARM variant-specific tuning mode. This will be a string like "armv6" 20 # The ARM variant-specific tuning mode. This will be a string like "armv6"
17 # or "cortex-a15". An empty string means to use the default for the 21 # or "cortex-a15". An empty string means to use the default for the
18 # arm_version. 22 # arm_version.
19 arm_tune = "" 23 arm_tune = ""
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 67
64 arm_use_thumb = true 68 arm_use_thumb = true
65 69
66 if (arm_use_neon) { 70 if (arm_use_neon) {
67 arm_fpu = "neon" 71 arm_fpu = "neon"
68 } else { 72 } else {
69 arm_fpu = "vfpv3-d16" 73 arm_fpu = "vfpv3-d16"
70 } 74 }
71 } 75 }
72 } 76 }
OLDNEW
« no previous file with comments | « no previous file | mojo/tools/mojob.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698