OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_ARCH_UTIL_H_ |
| 6 #define IOS_CHROME_BROWSER_ARCH_UTIL_H_ |
| 7 |
| 8 namespace arch_util { |
| 9 |
| 10 // Architecture of the currently running binary. Depends on the combination of |
| 11 // app binary archs and device's arch. e.g. for arm7/arm64 fat binary running |
| 12 // on 64-bit processor the value will be "arm64", but for the same fat binary |
| 13 // running on 32-bit processor the value will be "arm". |
| 14 extern const char kCurrentArch[]; |
| 15 |
| 16 // Constant for 32-bit ARM architecture. |
| 17 extern const char kARMArch[]; |
| 18 |
| 19 // Constant for 64-bit ARM architecture. |
| 20 extern const char kARM64Arch[]; |
| 21 |
| 22 } // namespace arch_util |
| 23 |
| 24 #endif // IOS_CHROME_BROWSER_ARCH_UTIL_H_ |
OLD | NEW |