1cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# Copyright (C) 2011 The Android Open Source Project 2cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# 3cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# Licensed under the Apache License, Version 2.0 (the "License"); 4cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# you may not use this file except in compliance with the License. 5cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# You may obtain a copy of the License at 6cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# 7cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# http://www.apache.org/licenses/LICENSE-2.0 8cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# 9cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# Unless required by applicable law or agreed to in writing, software 10cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# distributed under the License is distributed on an "AS IS" BASIS, 11cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# See the License for the specific language governing permissions and 13cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn# limitations under the License. 14cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn 15cba2e2c881e8e16ea5025b564c94320174d65f01Dianne HackbornLOCAL_PATH := $(call my-dir) 16cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborn 1764dbe1d454f1190b3cd8426d09b9119949a10709Kirill Grouchnikov# A helper sub-library that makes direct use of Gingerbread APIs. 188e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniakinclude $(CLEAR_VARS) 19ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-core-utils-gingerbread 2081fc7d74aa951af803aeab9087455c2d2e027136Kirill GrouchnikovLOCAL_SDK_VERSION := 9 2181fc7d74aa951af803aeab9087455c2d2e027136Kirill GrouchnikovLOCAL_SRC_FILES := $(call all-java-files-under, gingerbread) 22d3c5347b3ec0025ec906e2053eaa9b97287c46a5Kirill GrouchnikovLOCAL_STATIC_JAVA_LIBRARIES := \ 23d3c5347b3ec0025ec906e2053eaa9b97287c46a5Kirill Grouchnikov android-support-annotations \ 24d3c5347b3ec0025ec906e2053eaa9b97287c46a5Kirill Grouchnikov android-support-compat 25e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 268e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniakinclude $(BUILD_STATIC_JAVA_LIBRARY) 278e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniak 288e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniak# ----------------------------------------------------------------------- 298e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniak 3027aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn# A helper sub-library that makes direct use of Honeycomb APIs. 3127aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborninclude $(CLEAR_VARS) 32ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-core-utils-honeycomb 3327aea04b07c1fafa0f815aa4f80374a9e051b41cDianne HackbornLOCAL_SDK_VERSION := 11 3427aea04b07c1fafa0f815aa4f80374a9e051b41cDianne HackbornLOCAL_SRC_FILES := $(call all-java-files-under, honeycomb) 35ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-gingerbread 36e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 3727aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY) 3827aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn 3927aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn# ----------------------------------------------------------------------- 4027aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn 41956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganov# A helper sub-library that makes direct use of JellyBean APIs. 42956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganovinclude $(CLEAR_VARS) 43ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-core-utils-jellybean 44f3ed7c56e6c409d27c60f7d74c026906593c21d4Svetoslav GanovLOCAL_SDK_VERSION := 16 45956b013dfda37760b0232ed6d448900a546d2903Svetoslav GanovLOCAL_SRC_FILES := $(call all-java-files-under, jellybean) 4655fc3f2df63118f3d4daea6df5b5eb531dcf194fKirill GrouchnikovLOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-honeycomb 47e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 480fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslavinclude $(BUILD_STATIC_JAVA_LIBRARY) 490fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav 500fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav# ----------------------------------------------------------------------- 510fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav 52b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini# A helper sub-library that makes direct use of KitKat APIs. 53b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniinclude $(CLEAR_VARS) 54ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-core-utils-kitkat 55dd2c232b1f64d270269a2f515b4f9d448893f858Adam PowellLOCAL_SDK_VERSION := 19 56b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniLOCAL_SRC_FILES := $(call all-java-files-under, kitkat) 5755fc3f2df63118f3d4daea6df5b5eb531dcf194fKirill GrouchnikovLOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-jellybean 58e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 59b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniinclude $(BUILD_STATIC_JAVA_LIBRARY) 60b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini 61b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini# ----------------------------------------------------------------------- 62b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini 63ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik# A helper sub-library that makes direct use of V20 APIs. 64b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazeninclude $(CLEAR_VARS) 65ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-core-utils-api20 6643c5718722bab1f836b7c94f2ec0bc19e653037cGriff HazenLOCAL_SDK_VERSION := 20 67b56de0d1a113c71a2808303009ab4d9708ed6e84Griff HazenLOCAL_SRC_FILES := $(call all-java-files-under, api20) 68ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-kitkat 69e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 70b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazeninclude $(BUILD_STATIC_JAVA_LIBRARY) 71b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazen 72b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazen# ----------------------------------------------------------------------- 73b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazen 74ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik# A helper sub-library that makes direct use of Lollipop APIs. 75479dd28f2936062d37166a949419d332053af44cAlan Viveretteinclude $(CLEAR_VARS) 76ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-core-utils-api21 77fcec1282de632ec009109ae3f93a25fea97fc170Griff HazenLOCAL_SDK_VERSION := 21 78f80997ed02133739b794a301a0bbddacdcd90c8bSungsoo LimLOCAL_SRC_FILES := $(call all-java-files-under, api21) 79ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-api20 80e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 81479dd28f2936062d37166a949419d332053af44cAlan Viveretteinclude $(BUILD_STATIC_JAVA_LIBRARY) 82479dd28f2936062d37166a949419d332053af44cAlan Viverette 83479dd28f2936062d37166a949419d332053af44cAlan Viverette# ----------------------------------------------------------------------- 84479dd28f2936062d37166a949419d332053af44cAlan Viverette 8544918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes# A helper sub-library that makes direct use of V23 APIs. 8644918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banesinclude $(CLEAR_VARS) 87ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-core-utils-api23 88c12dc3d83c1ef7be0f4d4fd7a5a1dbce68138820Chris BanesLOCAL_SDK_VERSION := 23 8944918a92e1d66a01a03063e2c5e68b2570f64b03Chris BanesLOCAL_SRC_FILES := $(call all-java-files-under, api23) 9055fc3f2df63118f3d4daea6df5b5eb531dcf194fKirill GrouchnikovLOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-api21 91e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 9244918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banesinclude $(BUILD_STATIC_JAVA_LIBRARY) 9344918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes 9444918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes# ----------------------------------------------------------------------- 9544918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes 960eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banes# A helper sub-library that makes direct use of V24 APIs. 970eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banesinclude $(CLEAR_VARS) 98ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-core-utils-api24 990eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris BanesLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION) 1000eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris BanesLOCAL_SRC_FILES := $(call all-java-files-under, api24) 101ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_STATIC_JAVA_LIBRARIES := android-support-core-utils-api23 102e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 1030eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banesinclude $(BUILD_STATIC_JAVA_LIBRARY) 1040eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banes 1050eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banes# ----------------------------------------------------------------------- 1060eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banes 10727aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn# Here is the final static library that apps can link against. 108cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborninclude $(CLEAR_VARS) 1096759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_USE_AAPT2 := true 110ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-core-utils 111f185f104c4786740765e549d535f9ba1052f96ccKirill GrouchnikovLOCAL_SDK_VERSION := 9 112246d9446ad06395348d9a6d0a210699bb7ebe969Kirill GrouchnikovLOCAL_SRC_FILES := $(call all-java-files-under, java) 1136759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res 114ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_STATIC_JAVA_LIBRARIES += android-support-core-utils-api24 1153ac77bf186f87ecad4bf0063b2f6c4384efbd56aKirill GrouchnikovLOCAL_SHARED_ANDROID_LIBRARIES := \ 1163ac77bf186f87ecad4bf0063b2f6c4384efbd56aKirill Grouchnikov android-support-compat \ 1173ac77bf186f87ecad4bf0063b2f6c4384efbd56aKirill Grouchnikov android-support-annotations 1186759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_JAR_EXCLUDE_FILES := none 119e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 120cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY) 121