2 * Copyright (C) 2015 The Android Open Source Project
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef AAPT_SDK_CONSTANTS_H
18 #define AAPT_SDK_CONSTANTS_H
22 #include "androidfw/StringPiece.h"
36 SDK_GINGERBREAD_MR1 = 10,
38 SDK_HONEYCOMB_MR1 = 12,
39 SDK_HONEYCOMB_MR2 = 13,
40 SDK_ICE_CREAM_SANDWICH = 14,
41 SDK_ICE_CREAM_SANDWICH_MR1 = 15,
43 SDK_JELLY_BEAN_MR1 = 17,
44 SDK_JELLY_BEAN_MR2 = 18,
46 SDK_KITKAT_WATCH = 20,
48 SDK_LOLLIPOP_MR1 = 22,
52 SDK_O = 26, // STOPSHIP Replace with real version
55 size_t FindAttributeSdkLevel(const ResourceId& id);
56 size_t FindAttributeSdkLevel(const ResourceName& name);
57 std::pair<android::StringPiece, int> GetDevelopmentSdkCodeNameAndVersion();
61 #endif // AAPT_SDK_CONSTANTS_H