Home | History | Annotate | Download | only in split-select
      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 <utils/Vector.h>
     21 
     22 namespace split {
     23 namespace abi {
     24 
     25 enum Variant {
     26     Variant_none = 0,
     27     Variant_armeabi,
     28     Variant_armeabi_v7a,
     29     Variant_arm64_v8a,
     30     Variant_x86,
     31     Variant_x86_64,
     32     Variant_mips,
     33     Variant_mips64,
     34 };
     35 
     36 enum Family {
     37     Family_none,
     38     Family_arm,
     39     Family_intel,
     40     Family_mips,
     41 };
     42 
     43 Family getFamily(Variant variant);
     44 const android::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
     51