Dianne Hackborn | cba2e2c | 2011-02-07 17:42:11 -0800 | [diff] [blame] | 1 | # Copyright (C) 2011 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | LOCAL_PATH := $(call my-dir) |
| 16 | |
Kirill Grouchnikov | 64dbe1d | 2016-05-11 10:48:44 -0700 | [diff] [blame] | 17 | # A helper sub-library that makes direct use of Gingerbread APIs. |
Przemyslaw Szczepaniak | 8e65b64 | 2014-05-07 16:40:19 +0100 | [diff] [blame] | 18 | include $(CLEAR_VARS) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 19 | LOCAL_MODULE := android-support-core-utils-gingerbread |
Kirill Grouchnikov | 81fc7d7 | 2016-05-11 10:01:23 -0700 | [diff] [blame] | 20 | LOCAL_SDK_VERSION := 9 |
| 21 | LOCAL_SRC_FILES := $(call all-java-files-under, gingerbread) |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 22 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 23 | android-support-annotations \ |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 24 | android-support-compat |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 25 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Przemyslaw Szczepaniak | 8e65b64 | 2014-05-07 16:40:19 +0100 | [diff] [blame] | 26 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 27 | |
| 28 | # ----------------------------------------------------------------------- |
| 29 | |
Dianne Hackborn | 27aea04 | 2011-02-22 13:51:13 -0800 | [diff] [blame] | 30 | # A helper sub-library that makes direct use of Honeycomb APIs. |
| 31 | include $(CLEAR_VARS) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 32 | LOCAL_MODULE := android-support-core-utils-honeycomb |
Dianne Hackborn | 27aea04 | 2011-02-22 13:51:13 -0800 | [diff] [blame] | 33 | LOCAL_SDK_VERSION := 11 |
| 34 | LOCAL_SRC_FILES := $(call all-java-files-under, honeycomb) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 35 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-gingerbread |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 36 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Dianne Hackborn | 27aea04 | 2011-02-22 13:51:13 -0800 | [diff] [blame] | 37 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 38 | |
| 39 | # ----------------------------------------------------------------------- |
| 40 | |
Svetoslav Ganov | 956b013 | 2012-01-31 11:29:47 -0800 | [diff] [blame] | 41 | # A helper sub-library that makes direct use of JellyBean APIs. |
| 42 | include $(CLEAR_VARS) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 43 | LOCAL_MODULE := android-support-core-utils-jellybean |
Svetoslav Ganov | f3ed7c5 | 2012-05-13 13:29:30 -0700 | [diff] [blame] | 44 | LOCAL_SDK_VERSION := 16 |
Svetoslav Ganov | 956b013 | 2012-01-31 11:29:47 -0800 | [diff] [blame] | 45 | LOCAL_SRC_FILES := $(call all-java-files-under, jellybean) |
Kirill Grouchnikov | 55fc3f2 | 2016-05-12 12:17:09 -0700 | [diff] [blame] | 46 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-honeycomb |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 47 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Svetoslav | 0fc5bd7 | 2013-02-04 15:19:36 -0800 | [diff] [blame] | 48 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 49 | |
| 50 | # ----------------------------------------------------------------------- |
| 51 | |
Mindy DelliCarpini | b7c7eb8 | 2013-09-18 15:52:11 +0000 | [diff] [blame] | 52 | # A helper sub-library that makes direct use of KitKat APIs. |
| 53 | include $(CLEAR_VARS) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 54 | LOCAL_MODULE := android-support-core-utils-kitkat |
Adam Powell | dd2c232 | 2013-10-09 15:12:20 -0700 | [diff] [blame] | 55 | LOCAL_SDK_VERSION := 19 |
Mindy DelliCarpini | b7c7eb8 | 2013-09-18 15:52:11 +0000 | [diff] [blame] | 56 | LOCAL_SRC_FILES := $(call all-java-files-under, kitkat) |
Kirill Grouchnikov | 55fc3f2 | 2016-05-12 12:17:09 -0700 | [diff] [blame] | 57 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-jellybean |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 58 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Mindy DelliCarpini | b7c7eb8 | 2013-09-18 15:52:11 +0000 | [diff] [blame] | 59 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 60 | |
| 61 | # ----------------------------------------------------------------------- |
| 62 | |
RoboErik | ceb8bf5 | 2014-11-20 16:37:23 -0800 | [diff] [blame] | 63 | # A helper sub-library that makes direct use of V20 APIs. |
Griff Hazen | b56de0d | 2014-02-13 08:55:28 -0800 | [diff] [blame] | 64 | include $(CLEAR_VARS) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 65 | LOCAL_MODULE := android-support-core-utils-api20 |
Griff Hazen | 43c5718 | 2014-07-24 09:13:39 -0700 | [diff] [blame] | 66 | LOCAL_SDK_VERSION := 20 |
Griff Hazen | b56de0d | 2014-02-13 08:55:28 -0800 | [diff] [blame] | 67 | LOCAL_SRC_FILES := $(call all-java-files-under, api20) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 68 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-kitkat |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 69 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Griff Hazen | b56de0d | 2014-02-13 08:55:28 -0800 | [diff] [blame] | 70 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 71 | |
| 72 | # ----------------------------------------------------------------------- |
| 73 | |
RoboErik | ceb8bf5 | 2014-11-20 16:37:23 -0800 | [diff] [blame] | 74 | # A helper sub-library that makes direct use of Lollipop APIs. |
Alan Viverette | 479dd28 | 2014-05-20 13:36:51 -0700 | [diff] [blame] | 75 | include $(CLEAR_VARS) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 76 | LOCAL_MODULE := android-support-core-utils-api21 |
Griff Hazen | fcec128 | 2014-11-18 12:35:04 -0800 | [diff] [blame] | 77 | LOCAL_SDK_VERSION := 21 |
Sungsoo Lim | f80997e | 2015-12-28 16:00:30 +0900 | [diff] [blame] | 78 | LOCAL_SRC_FILES := $(call all-java-files-under, api21) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 79 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-api20 |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 80 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Alan Viverette | 479dd28 | 2014-05-20 13:36:51 -0700 | [diff] [blame] | 81 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 82 | |
| 83 | # ----------------------------------------------------------------------- |
| 84 | |
Chris Banes | 44918a9 | 2015-01-08 11:55:55 +0000 | [diff] [blame] | 85 | # A helper sub-library that makes direct use of V23 APIs. |
| 86 | include $(CLEAR_VARS) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 87 | LOCAL_MODULE := android-support-core-utils-api23 |
Chris Banes | c12dc3d | 2016-01-22 11:11:47 +0000 | [diff] [blame] | 88 | LOCAL_SDK_VERSION := 23 |
Chris Banes | 44918a9 | 2015-01-08 11:55:55 +0000 | [diff] [blame] | 89 | LOCAL_SRC_FILES := $(call all-java-files-under, api23) |
Kirill Grouchnikov | 55fc3f2 | 2016-05-12 12:17:09 -0700 | [diff] [blame] | 90 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-api21 |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 91 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Chris Banes | 44918a9 | 2015-01-08 11:55:55 +0000 | [diff] [blame] | 92 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 93 | |
| 94 | # ----------------------------------------------------------------------- |
| 95 | |
Chris Banes | 0eb5e0e | 2016-02-03 12:30:07 +0000 | [diff] [blame] | 96 | # A helper sub-library that makes direct use of V24 APIs. |
| 97 | include $(CLEAR_VARS) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 98 | LOCAL_MODULE := android-support-core-utils-api24 |
Chris Banes | 0eb5e0e | 2016-02-03 12:30:07 +0000 | [diff] [blame] | 99 | LOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION) |
| 100 | LOCAL_SRC_FILES := $(call all-java-files-under, api24) |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 101 | LOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-api23 |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 102 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Chris Banes | 0eb5e0e | 2016-02-03 12:30:07 +0000 | [diff] [blame] | 103 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 104 | |
Chris Banes | 0eb5e0e | 2016-02-03 12:30:07 +0000 | [diff] [blame] | 105 | # ----------------------------------------------------------------------- |
| 106 | |
Dianne Hackborn | 27aea04 | 2011-02-22 13:51:13 -0800 | [diff] [blame] | 107 | # Here is the final static library that apps can link against. |
Dianne Hackborn | cba2e2c | 2011-02-07 17:42:11 -0800 | [diff] [blame] | 108 | include $(CLEAR_VARS) |
Adam Lesinski | 6759b10 | 2016-02-24 19:57:25 -0800 | [diff] [blame] | 109 | LOCAL_USE_AAPT2 := true |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 110 | LOCAL_MODULE := android-support-core-utils |
Kirill Grouchnikov | f185f10 | 2016-05-09 15:23:55 -0700 | [diff] [blame] | 111 | LOCAL_SDK_VERSION := 9 |
RoboErik | e49860b | 2014-12-04 13:53:39 -0800 | [diff] [blame] | 112 | LOCAL_AIDL_INCLUDES := frameworks/support/v4/java |
Griff Hazen | ce16e42 | 2014-05-21 11:19:52 -0700 | [diff] [blame] | 113 | LOCAL_SRC_FILES := $(call all-java-files-under, java) \ |
| 114 | $(call all-Iaidl-files-under, java) |
Adam Lesinski | 6759b10 | 2016-02-24 19:57:25 -0800 | [diff] [blame] | 115 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 116 | LOCAL_STATIC_JAVA_LIBRARIES += android-support-core-utils-api24 |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 117 | LOCAL_SHARED_ANDROID_LIBRARIES := \ |
| 118 | android-support-compat \ |
| 119 | android-support-annotations |
Adam Lesinski | 6759b10 | 2016-02-24 19:57:25 -0800 | [diff] [blame] | 120 | LOCAL_JAR_EXCLUDE_FILES := none |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 121 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Dianne Hackborn | cba2e2c | 2011-02-07 17:42:11 -0800 | [diff] [blame] | 122 | include $(BUILD_STATIC_JAVA_LIBRARY) |