Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / ios / chrome / browser / arch_util.h
blob74ab9f2b4f04a06d68455c458328e6bcf0c3dced
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.
5 #ifndef IOS_CHROME_BROWSER_ARCH_UTIL_H_
6 #define IOS_CHROME_BROWSER_ARCH_UTIL_H_
8 namespace arch_util {
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[];
16 // Constant for 32-bit ARM architecture.
17 extern const char kARMArch[];
19 // Constant for 64-bit ARM architecture.
20 extern const char kARM64Arch[];
22 } // namespace arch_util
24 #endif // IOS_CHROME_BROWSER_ARCH_UTIL_H_