Android.mk revision f80997ed02133739b794a301a0bbddacdcd90c8b
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 178e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniak# A helper sub-library that makes direct use of Donut APIs. 188e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniakinclude $(CLEAR_VARS) 198e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw SzczepaniakLOCAL_MODULE := android-support-v4-donut 208e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw SzczepaniakLOCAL_SDK_VERSION := 4 218e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw SzczepaniakLOCAL_SRC_FILES := $(call all-java-files-under, donut) 22d392c8cae159a3a9a416200f4e117634bdbf064eYigit BoyarLOCAL_STATIC_JAVA_LIBRARIES := android-support-annotations 238e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniakinclude $(BUILD_STATIC_JAVA_LIBRARY) 248e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniak 2595ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files := $(LOCAL_SRC_FILES) 2695ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_java_libraries := android-support-annotations 2795ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 288e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniak# ----------------------------------------------------------------------- 298e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniak 30e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn# A helper sub-library that makes direct use of Eclair APIs. 31e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborninclude $(CLEAR_VARS) 32e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_MODULE := android-support-v4-eclair 33e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_SDK_VERSION := 5 34e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_SRC_FILES := $(call all-java-files-under, eclair) 358e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw SzczepaniakLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-donut 36e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY) 37e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn 3895ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 3995ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 40e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn# ----------------------------------------------------------------------- 41e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn 42c029e15f5a4709214cb433a562256586824a0f33Adam Powell# A helper sub-library that makes direct use of Eclair MR1 APIs. 43c029e15f5a4709214cb433a562256586824a0f33Adam Powellinclude $(CLEAR_VARS) 44c029e15f5a4709214cb433a562256586824a0f33Adam PowellLOCAL_MODULE := android-support-v4-eclair-mr1 45c029e15f5a4709214cb433a562256586824a0f33Adam PowellLOCAL_SDK_VERSION := 7 46c029e15f5a4709214cb433a562256586824a0f33Adam PowellLOCAL_SRC_FILES := $(call all-java-files-under, eclair-mr1) 47c029e15f5a4709214cb433a562256586824a0f33Adam PowellLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-eclair 48c029e15f5a4709214cb433a562256586824a0f33Adam Powellinclude $(BUILD_STATIC_JAVA_LIBRARY) 49c029e15f5a4709214cb433a562256586824a0f33Adam Powell 5095ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 5195ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 52c029e15f5a4709214cb433a562256586824a0f33Adam Powell# ----------------------------------------------------------------------- 53c029e15f5a4709214cb433a562256586824a0f33Adam Powell 54e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn# A helper sub-library that makes direct use of Froyo APIs. 55e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborninclude $(CLEAR_VARS) 56e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_MODULE := android-support-v4-froyo 57e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_SDK_VERSION := 8 58e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_SRC_FILES := $(call all-java-files-under, froyo) 59c029e15f5a4709214cb433a562256586824a0f33Adam PowellLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-eclair-mr1 60e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY) 61e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn 6295ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 6395ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 64e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn# ----------------------------------------------------------------------- 65e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn 66560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powell# A helper sub-library that makes direct use of Gingerbread APIs. 67560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powellinclude $(CLEAR_VARS) 68560114f591be31d0fb73c26a1ee1cc0a15184abaAdam PowellLOCAL_MODULE := android-support-v4-gingerbread 69560114f591be31d0fb73c26a1ee1cc0a15184abaAdam PowellLOCAL_SDK_VERSION := 9 70560114f591be31d0fb73c26a1ee1cc0a15184abaAdam PowellLOCAL_SRC_FILES := $(call all-java-files-under, gingerbread) 71c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-froyo 72560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powellinclude $(BUILD_STATIC_JAVA_LIBRARY) 73560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powell 7495ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 7595ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 76560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powell# ----------------------------------------------------------------------- 77560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powell 7827aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn# A helper sub-library that makes direct use of Honeycomb APIs. 7927aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborninclude $(CLEAR_VARS) 8027aea04b07c1fafa0f815aa4f80374a9e051b41cDianne HackbornLOCAL_MODULE := android-support-v4-honeycomb 8127aea04b07c1fafa0f815aa4f80374a9e051b41cDianne HackbornLOCAL_SDK_VERSION := 11 8227aea04b07c1fafa0f815aa4f80374a9e051b41cDianne HackbornLOCAL_SRC_FILES := $(call all-java-files-under, honeycomb) 83c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-gingerbread 8427aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY) 8527aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn 8695ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 8795ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 8827aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn# ----------------------------------------------------------------------- 8927aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn 90c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banes# A helper sub-library that makes direct use of Honeycomb MR1 APIs. 91c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banesinclude $(CLEAR_VARS) 92c55f505d6e5cd8b701721f42431bfd742a1968f0Chris BanesLOCAL_MODULE := android-support-v4-honeycomb-mr1 93c55f505d6e5cd8b701721f42431bfd742a1968f0Chris BanesLOCAL_SDK_VERSION := 12 94c55f505d6e5cd8b701721f42431bfd742a1968f0Chris BanesLOCAL_SRC_FILES := $(call all-java-files-under, honeycomb_mr1) 95c55f505d6e5cd8b701721f42431bfd742a1968f0Chris BanesLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-honeycomb 96c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banesinclude $(BUILD_STATIC_JAVA_LIBRARY) 97c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banes 9895ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 9995ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 100c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banes# ----------------------------------------------------------------------- 101c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banes 1025c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborn# A helper sub-library that makes direct use of Honeycomb MR2 APIs. 1035c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborninclude $(CLEAR_VARS) 1045c1637087453de15e31861f073eae5133c4e9f7bDianne HackbornLOCAL_MODULE := android-support-v4-honeycomb-mr2 105bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam PowellLOCAL_SDK_VERSION := 13 1065c1637087453de15e31861f073eae5133c4e9f7bDianne HackbornLOCAL_SRC_FILES := $(call all-java-files-under, honeycomb_mr2) 107c55f505d6e5cd8b701721f42431bfd742a1968f0Chris BanesLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-honeycomb-mr1 1085c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY) 1095c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborn 11095ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 11195ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 1125c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborn# ----------------------------------------------------------------------- 1135c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborn 114bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powell# A helper sub-library that makes direct use of Ice Cream Sandwich APIs. 115bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powellinclude $(CLEAR_VARS) 116bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam PowellLOCAL_MODULE := android-support-v4-ics 1172f57132efb6e8ce3aa19d4f39518073e00680265Ying WangLOCAL_SDK_VERSION := 14 118bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam PowellLOCAL_SRC_FILES := $(call all-java-files-under, ics) 119c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-honeycomb-mr2 120bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powellinclude $(BUILD_STATIC_JAVA_LIBRARY) 121bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powell 12295ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 12395ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 124bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powell# ----------------------------------------------------------------------- 125bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powell 126c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganov# A helper sub-library that makes direct use of Ice Cream Sandwich MR1 APIs. 127c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganovinclude $(CLEAR_VARS) 128c64858f808c159a8b144d22e3168459074cdc181Svetoslav GanovLOCAL_MODULE := android-support-v4-ics-mr1 129c64858f808c159a8b144d22e3168459074cdc181Svetoslav GanovLOCAL_SDK_VERSION := 15 130c64858f808c159a8b144d22e3168459074cdc181Svetoslav GanovLOCAL_SRC_FILES := $(call all-java-files-under, ics-mr1) 131c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-ics 132c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganovinclude $(BUILD_STATIC_JAVA_LIBRARY) 133c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganov 13495ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 13595ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 136c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganov# ----------------------------------------------------------------------- 137c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganov 138956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganov# A helper sub-library that makes direct use of JellyBean APIs. 139956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganovinclude $(CLEAR_VARS) 140956b013dfda37760b0232ed6d448900a546d2903Svetoslav GanovLOCAL_MODULE := android-support-v4-jellybean 141f3ed7c56e6c409d27c60f7d74c026906593c21d4Svetoslav GanovLOCAL_SDK_VERSION := 16 142956b013dfda37760b0232ed6d448900a546d2903Svetoslav GanovLOCAL_SRC_FILES := $(call all-java-files-under, jellybean) 143c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-ics-mr1 144956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganovinclude $(BUILD_STATIC_JAVA_LIBRARY) 145956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganov 14695ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 14795ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 148956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganov# ----------------------------------------------------------------------- 149956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganov 1500af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganov# A helper sub-library that makes direct use of JellyBean MR1 APIs. 1510af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganovinclude $(CLEAR_VARS) 1520af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav GanovLOCAL_MODULE := android-support-v4-jellybean-mr1 1538295680249abdd0cffece49cbefb337f03425c20Jim GuggemosLOCAL_SDK_VERSION := 17 1540af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav GanovLOCAL_SRC_FILES := $(call all-java-files-under, jellybean-mr1) 155c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-jellybean 1560af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganovinclude $(BUILD_STATIC_JAVA_LIBRARY) 1570af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganov 15895ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 15995ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 1600af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganov# ----------------------------------------------------------------------- 1610af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganov 1620fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav# A helper sub-library that makes direct use of JellyBean MR2 APIs. 1630fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslavinclude $(CLEAR_VARS) 1640fc5bd7644f7563f7b59bd1017df9c938857e794SvetoslavLOCAL_MODULE := android-support-v4-jellybean-mr2 165b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniLOCAL_SDK_VERSION := 18 1660fc5bd7644f7563f7b59bd1017df9c938857e794SvetoslavLOCAL_SRC_FILES := $(call all-java-files-under, jellybean-mr2) 167c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-jellybean-mr1 1680fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslavinclude $(BUILD_STATIC_JAVA_LIBRARY) 1690fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav 17095ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 17195ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 1720fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav# ----------------------------------------------------------------------- 1730fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav 174b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini# A helper sub-library that makes direct use of KitKat APIs. 175b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniinclude $(CLEAR_VARS) 176b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniLOCAL_MODULE := android-support-v4-kitkat 177dd2c232b1f64d270269a2f515b4f9d448893f858Adam PowellLOCAL_SDK_VERSION := 19 178b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniLOCAL_SRC_FILES := $(call all-java-files-under, kitkat) 179b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-jellybean-mr2 180b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniinclude $(BUILD_STATIC_JAVA_LIBRARY) 181b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini 18295ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 18395ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 184b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini# ----------------------------------------------------------------------- 185b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini 186ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik# A helper sub-library that makes direct use of V20 APIs. 187b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazeninclude $(CLEAR_VARS) 188b56de0d1a113c71a2808303009ab4d9708ed6e84Griff HazenLOCAL_MODULE := android-support-v4-api20 18943c5718722bab1f836b7c94f2ec0bc19e653037cGriff HazenLOCAL_SDK_VERSION := 20 190b56de0d1a113c71a2808303009ab4d9708ed6e84Griff HazenLOCAL_SRC_FILES := $(call all-java-files-under, api20) 191b56de0d1a113c71a2808303009ab4d9708ed6e84Griff HazenLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-kitkat 192b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazeninclude $(BUILD_STATIC_JAVA_LIBRARY) 193b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazen 19495ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 19595ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 196b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazen# ----------------------------------------------------------------------- 197b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazen 198ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik# A helper sub-library that makes direct use of Lollipop APIs. 199479dd28f2936062d37166a949419d332053af44cAlan Viveretteinclude $(CLEAR_VARS) 200479dd28f2936062d37166a949419d332053af44cAlan ViveretteLOCAL_MODULE := android-support-v4-api21 201fcec1282de632ec009109ae3f93a25fea97fc170Griff HazenLOCAL_SDK_VERSION := 21 202f80997ed02133739b794a301a0bbddacdcd90c8bSungsoo LimLOCAL_SRC_FILES := $(call all-java-files-under, api21) 203479dd28f2936062d37166a949419d332053af44cAlan ViveretteLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-api20 204479dd28f2936062d37166a949419d332053af44cAlan Viveretteinclude $(BUILD_STATIC_JAVA_LIBRARY) 205479dd28f2936062d37166a949419d332053af44cAlan Viverette 20695ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 20795ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 208479dd28f2936062d37166a949419d332053af44cAlan Viverette# ----------------------------------------------------------------------- 209479dd28f2936062d37166a949419d332053af44cAlan Viverette 210ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik# A helper sub-library that makes direct use of V22 APIs. 211ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikinclude $(CLEAR_VARS) 212ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikLOCAL_MODULE := android-support-v4-api22 213ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikLOCAL_SDK_VERSION := current 214ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikLOCAL_SRC_FILES := $(call all-java-files-under, api22) 215ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-api21 216ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikinclude $(BUILD_STATIC_JAVA_LIBRARY) 217ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik 21895ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 21995ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 220ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik# ----------------------------------------------------------------------- 221ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik 22244918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes# A helper sub-library that makes direct use of V23 APIs. 22344918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banesinclude $(CLEAR_VARS) 22444918a92e1d66a01a03063e2c5e68b2570f64b03Chris BanesLOCAL_MODULE := android-support-v4-api23 22544918a92e1d66a01a03063e2c5e68b2570f64b03Chris BanesLOCAL_SDK_VERSION := current 22644918a92e1d66a01a03063e2c5e68b2570f64b03Chris BanesLOCAL_SRC_FILES := $(call all-java-files-under, api23) 22744918a92e1d66a01a03063e2c5e68b2570f64b03Chris BanesLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-api22 22844918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banesinclude $(BUILD_STATIC_JAVA_LIBRARY) 22944918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes 23095ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 23195ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 23244918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes# ----------------------------------------------------------------------- 23344918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes 23427aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn# Here is the final static library that apps can link against. 235cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborninclude $(CLEAR_VARS) 236cba2e2c881e8e16ea5025b564c94320174d65f01Dianne HackbornLOCAL_MODULE := android-support-v4 237cba2e2c881e8e16ea5025b564c94320174d65f01Dianne HackbornLOCAL_SDK_VERSION := 4 238e49860b0f76d8336c1d41831ed370b0ff94278efRoboErikLOCAL_AIDL_INCLUDES := frameworks/support/v4/java 239ce16e4276c2f61109a23b3f6707cfcd87b07c735Griff HazenLOCAL_SRC_FILES := $(call all-java-files-under, java) \ 240ce16e4276c2f61109a23b3f6707cfcd87b07c735Griff Hazen $(call all-Iaidl-files-under, java) 241493571364635be0190cea8ee230a601070391e6fIan PedowitzLOCAL_STATIC_JAVA_LIBRARIES += android-support-v4-api23 242cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY) 243f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banes 24495ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES) 24595ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_aidl_includes := $(LOCAL_AIDL_INCLUDES) 24695ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes 247f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banes# API Check 248f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banes# --------------------------------------------- 249f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banessupport_module := $(LOCAL_MODULE) 250f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banessupport_module_api_dir := $(LOCAL_PATH)/api 251639640523bdb81cc5a2ac2a1ebbe0c4e13a2c82bChris Banessupport_module_java_packages := android.support.v4.* 252f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banesinclude $(SUPPORT_API_CHECK) 253