Adam Lesinski | 40e8eef | 2014-09-16 14:43:29 -0700 | [diff] [blame^] | 1 | /* |
| 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 | |
| 22 | namespace split { |
| 23 | namespace abi { |
| 24 | |
| 25 | enum class Variant { |
| 26 | none = 0, |
| 27 | armeabi, |
| 28 | armeabi_v7a, |
| 29 | arm64_v8a, |
| 30 | x86, |
| 31 | x86_64, |
| 32 | mips, |
| 33 | mips64, |
| 34 | }; |
| 35 | |
| 36 | enum class Family { |
| 37 | none, |
| 38 | arm, |
| 39 | intel, |
| 40 | mips, |
| 41 | }; |
| 42 | |
| 43 | Family getFamily(Variant variant); |
| 44 | const std::vector<Variant>& getVariants(Family family); |
| 45 | const char* toString(Variant variant); |
| 46 | |
| 47 | } // namespace abi |
| 48 | } // namespace split |
| 49 | |
| 50 | #endif // H_ANDROID_SPLIT_ABI |