blob: 3e00eba547ec7c859913da1279ff65a9e0ec0934 [file] [log] [blame]
Adam Lesinski40e8eef2014-09-16 14:43:29 -07001/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef H_ANDROID_SPLIT_ABI
18#define H_ANDROID_SPLIT_ABI
19
20#include <vector>
21
22namespace split {
23namespace abi {
24
25enum class Variant {
26 none = 0,
27 armeabi,
28 armeabi_v7a,
29 arm64_v8a,
30 x86,
31 x86_64,
32 mips,
33 mips64,
34};
35
36enum class Family {
37 none,
38 arm,
39 intel,
40 mips,
41};
42
43Family getFamily(Variant variant);
44const std::vector<Variant>& getVariants(Family family);
45const char* toString(Variant variant);
46
47} // namespace abi
48} // namespace split
49
50#endif // H_ANDROID_SPLIT_ABI