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
23e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
248e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniakinclude $(BUILD_STATIC_JAVA_LIBRARY)
258e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniak
2695ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files := $(LOCAL_SRC_FILES)
2795ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_java_libraries := android-support-annotations
2895ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
298e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniak# -----------------------------------------------------------------------
308e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw Szczepaniak
31e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn# A helper sub-library that makes direct use of Eclair APIs.
32e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborninclude $(CLEAR_VARS)
33e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_MODULE := android-support-v4-eclair
34e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_SDK_VERSION := 5
35e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_SRC_FILES := $(call all-java-files-under, eclair)
368e65b64e60cfcf07acafecbde5a750bdcfdc2df1Przemyslaw SzczepaniakLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-donut
37e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
38e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY)
39e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn
4095ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
4195ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
42e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn# -----------------------------------------------------------------------
43e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn
44c029e15f5a4709214cb433a562256586824a0f33Adam Powell# A helper sub-library that makes direct use of Eclair MR1 APIs.
45c029e15f5a4709214cb433a562256586824a0f33Adam Powellinclude $(CLEAR_VARS)
46c029e15f5a4709214cb433a562256586824a0f33Adam PowellLOCAL_MODULE := android-support-v4-eclair-mr1
47c029e15f5a4709214cb433a562256586824a0f33Adam PowellLOCAL_SDK_VERSION := 7
48c029e15f5a4709214cb433a562256586824a0f33Adam PowellLOCAL_SRC_FILES := $(call all-java-files-under, eclair-mr1)
49c029e15f5a4709214cb433a562256586824a0f33Adam PowellLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-eclair
50e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
51c029e15f5a4709214cb433a562256586824a0f33Adam Powellinclude $(BUILD_STATIC_JAVA_LIBRARY)
52c029e15f5a4709214cb433a562256586824a0f33Adam Powell
5395ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
5495ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
55c029e15f5a4709214cb433a562256586824a0f33Adam Powell# -----------------------------------------------------------------------
56c029e15f5a4709214cb433a562256586824a0f33Adam Powell
57e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn# A helper sub-library that makes direct use of Froyo APIs.
58e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborninclude $(CLEAR_VARS)
59e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_MODULE := android-support-v4-froyo
60e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_SDK_VERSION := 8
61e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne HackbornLOCAL_SRC_FILES := $(call all-java-files-under, froyo)
62c029e15f5a4709214cb433a562256586824a0f33Adam PowellLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-eclair-mr1
63e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
64e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY)
65e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn
6695ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
6795ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
68e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn# -----------------------------------------------------------------------
69e4417c91a0bb2fba42a0aaa99edcca1b238af21aDianne Hackborn
70560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powell# A helper sub-library that makes direct use of Gingerbread APIs.
71560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powellinclude $(CLEAR_VARS)
72560114f591be31d0fb73c26a1ee1cc0a15184abaAdam PowellLOCAL_MODULE := android-support-v4-gingerbread
73560114f591be31d0fb73c26a1ee1cc0a15184abaAdam PowellLOCAL_SDK_VERSION := 9
74560114f591be31d0fb73c26a1ee1cc0a15184abaAdam PowellLOCAL_SRC_FILES := $(call all-java-files-under, gingerbread)
75c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-froyo
76e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
77560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powellinclude $(BUILD_STATIC_JAVA_LIBRARY)
78560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powell
7995ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
8095ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
81560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powell# -----------------------------------------------------------------------
82560114f591be31d0fb73c26a1ee1cc0a15184abaAdam Powell
8327aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn# A helper sub-library that makes direct use of Honeycomb APIs.
8427aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborninclude $(CLEAR_VARS)
8527aea04b07c1fafa0f815aa4f80374a9e051b41cDianne HackbornLOCAL_MODULE := android-support-v4-honeycomb
8627aea04b07c1fafa0f815aa4f80374a9e051b41cDianne HackbornLOCAL_SDK_VERSION := 11
8727aea04b07c1fafa0f815aa4f80374a9e051b41cDianne HackbornLOCAL_SRC_FILES := $(call all-java-files-under, honeycomb)
88c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-gingerbread
89e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
9027aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY)
9127aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn
9295ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
9395ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
9427aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn# -----------------------------------------------------------------------
9527aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn
96c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banes# A helper sub-library that makes direct use of Honeycomb MR1 APIs.
97c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banesinclude $(CLEAR_VARS)
98c55f505d6e5cd8b701721f42431bfd742a1968f0Chris BanesLOCAL_MODULE := android-support-v4-honeycomb-mr1
99c55f505d6e5cd8b701721f42431bfd742a1968f0Chris BanesLOCAL_SDK_VERSION := 12
100c55f505d6e5cd8b701721f42431bfd742a1968f0Chris BanesLOCAL_SRC_FILES := $(call all-java-files-under, honeycomb_mr1)
101c55f505d6e5cd8b701721f42431bfd742a1968f0Chris BanesLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-honeycomb
102e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
103c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banesinclude $(BUILD_STATIC_JAVA_LIBRARY)
104c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banes
10595ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
10695ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
107c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banes# -----------------------------------------------------------------------
108c55f505d6e5cd8b701721f42431bfd742a1968f0Chris Banes
1095c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborn# A helper sub-library that makes direct use of Honeycomb MR2 APIs.
1105c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborninclude $(CLEAR_VARS)
1115c1637087453de15e31861f073eae5133c4e9f7bDianne HackbornLOCAL_MODULE := android-support-v4-honeycomb-mr2
112bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam PowellLOCAL_SDK_VERSION := 13
1135c1637087453de15e31861f073eae5133c4e9f7bDianne HackbornLOCAL_SRC_FILES := $(call all-java-files-under, honeycomb_mr2)
114c55f505d6e5cd8b701721f42431bfd742a1968f0Chris BanesLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-honeycomb-mr1
115e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
1165c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY)
1175c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborn
11895ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
11995ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
1205c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborn# -----------------------------------------------------------------------
1215c1637087453de15e31861f073eae5133c4e9f7bDianne Hackborn
122bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powell# A helper sub-library that makes direct use of Ice Cream Sandwich APIs.
123bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powellinclude $(CLEAR_VARS)
124bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam PowellLOCAL_MODULE := android-support-v4-ics
1252f57132efb6e8ce3aa19d4f39518073e00680265Ying WangLOCAL_SDK_VERSION := 14
126bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam PowellLOCAL_SRC_FILES := $(call all-java-files-under, ics)
127c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-honeycomb-mr2
128e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
129bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powellinclude $(BUILD_STATIC_JAVA_LIBRARY)
130bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powell
13195ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
13295ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
133bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powell# -----------------------------------------------------------------------
134bc889e39e279fcf8c3d35fc11d8052c002eddf38Adam Powell
135c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganov# A helper sub-library that makes direct use of Ice Cream Sandwich MR1 APIs.
136c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganovinclude $(CLEAR_VARS)
137c64858f808c159a8b144d22e3168459074cdc181Svetoslav GanovLOCAL_MODULE := android-support-v4-ics-mr1
138c64858f808c159a8b144d22e3168459074cdc181Svetoslav GanovLOCAL_SDK_VERSION := 15
139c64858f808c159a8b144d22e3168459074cdc181Svetoslav GanovLOCAL_SRC_FILES := $(call all-java-files-under, ics-mr1)
140c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-ics
141e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
142c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganovinclude $(BUILD_STATIC_JAVA_LIBRARY)
143c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganov
14495ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
14595ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
146c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganov# -----------------------------------------------------------------------
147c64858f808c159a8b144d22e3168459074cdc181Svetoslav Ganov
148956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganov# A helper sub-library that makes direct use of JellyBean APIs.
149956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganovinclude $(CLEAR_VARS)
150956b013dfda37760b0232ed6d448900a546d2903Svetoslav GanovLOCAL_MODULE := android-support-v4-jellybean
151f3ed7c56e6c409d27c60f7d74c026906593c21d4Svetoslav GanovLOCAL_SDK_VERSION := 16
152956b013dfda37760b0232ed6d448900a546d2903Svetoslav GanovLOCAL_SRC_FILES := $(call all-java-files-under, jellybean)
153c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-ics-mr1
154e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
155956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganovinclude $(BUILD_STATIC_JAVA_LIBRARY)
156956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganov
15795ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
15895ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
159956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganov# -----------------------------------------------------------------------
160956b013dfda37760b0232ed6d448900a546d2903Svetoslav Ganov
1610af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganov# A helper sub-library that makes direct use of JellyBean MR1 APIs.
1620af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganovinclude $(CLEAR_VARS)
1630af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav GanovLOCAL_MODULE := android-support-v4-jellybean-mr1
1648295680249abdd0cffece49cbefb337f03425c20Jim GuggemosLOCAL_SDK_VERSION := 17
1650af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav GanovLOCAL_SRC_FILES := $(call all-java-files-under, jellybean-mr1)
166c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-jellybean
167e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
1680af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganovinclude $(BUILD_STATIC_JAVA_LIBRARY)
1690af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganov
17095ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
17195ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
1720af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganov# -----------------------------------------------------------------------
1730af001b9e0d173f6b9836e66539bf764b897c36fSvetoslav Ganov
1740fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav# A helper sub-library that makes direct use of JellyBean MR2 APIs.
1750fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslavinclude $(CLEAR_VARS)
1760fc5bd7644f7563f7b59bd1017df9c938857e794SvetoslavLOCAL_MODULE := android-support-v4-jellybean-mr2
177b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniLOCAL_SDK_VERSION := 18
1780fc5bd7644f7563f7b59bd1017df9c938857e794SvetoslavLOCAL_SRC_FILES := $(call all-java-files-under, jellybean-mr2)
179c21f57ed68b81a77167f1df000b0e272e1598bc0Jeff BrownLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-jellybean-mr1
180e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
1810fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslavinclude $(BUILD_STATIC_JAVA_LIBRARY)
1820fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav
18395ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
18495ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
1850fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav# -----------------------------------------------------------------------
1860fc5bd7644f7563f7b59bd1017df9c938857e794Svetoslav
187b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini# A helper sub-library that makes direct use of KitKat APIs.
188b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniinclude $(CLEAR_VARS)
189b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniLOCAL_MODULE := android-support-v4-kitkat
190dd2c232b1f64d270269a2f515b4f9d448893f858Adam PowellLOCAL_SDK_VERSION := 19
191b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniLOCAL_SRC_FILES := $(call all-java-files-under, kitkat)
192b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-jellybean-mr2
193e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
194b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpiniinclude $(BUILD_STATIC_JAVA_LIBRARY)
195b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini
19695ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
19795ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
198b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini# -----------------------------------------------------------------------
199b7c7eb8b8c520f5a3256205a42e42e071854d929Mindy DelliCarpini
200ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik# A helper sub-library that makes direct use of V20 APIs.
201b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazeninclude $(CLEAR_VARS)
202b56de0d1a113c71a2808303009ab4d9708ed6e84Griff HazenLOCAL_MODULE := android-support-v4-api20
20343c5718722bab1f836b7c94f2ec0bc19e653037cGriff HazenLOCAL_SDK_VERSION := 20
204b56de0d1a113c71a2808303009ab4d9708ed6e84Griff HazenLOCAL_SRC_FILES := $(call all-java-files-under, api20)
205b56de0d1a113c71a2808303009ab4d9708ed6e84Griff HazenLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-kitkat
206e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
207b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazeninclude $(BUILD_STATIC_JAVA_LIBRARY)
208b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazen
20995ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
21095ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
211b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazen# -----------------------------------------------------------------------
212b56de0d1a113c71a2808303009ab4d9708ed6e84Griff Hazen
213ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik# A helper sub-library that makes direct use of Lollipop APIs.
214479dd28f2936062d37166a949419d332053af44cAlan Viveretteinclude $(CLEAR_VARS)
215479dd28f2936062d37166a949419d332053af44cAlan ViveretteLOCAL_MODULE := android-support-v4-api21
216fcec1282de632ec009109ae3f93a25fea97fc170Griff HazenLOCAL_SDK_VERSION := 21
217f80997ed02133739b794a301a0bbddacdcd90c8bSungsoo LimLOCAL_SRC_FILES := $(call all-java-files-under, api21)
218479dd28f2936062d37166a949419d332053af44cAlan ViveretteLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-api20
219e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
220479dd28f2936062d37166a949419d332053af44cAlan Viveretteinclude $(BUILD_STATIC_JAVA_LIBRARY)
221479dd28f2936062d37166a949419d332053af44cAlan Viverette
22295ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
22395ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
224479dd28f2936062d37166a949419d332053af44cAlan Viverette# -----------------------------------------------------------------------
225479dd28f2936062d37166a949419d332053af44cAlan Viverette
226ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik# A helper sub-library that makes direct use of V22 APIs.
227ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikinclude $(CLEAR_VARS)
228ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikLOCAL_MODULE := android-support-v4-api22
229c12dc3d83c1ef7be0f4d4fd7a5a1dbce68138820Chris BanesLOCAL_SDK_VERSION := 22
230ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikLOCAL_SRC_FILES := $(call all-java-files-under, api22)
231ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-api21
232e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
233ceb8bf5e5cce7a37736981e626c4be416378767bRoboErikinclude $(BUILD_STATIC_JAVA_LIBRARY)
234ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik
23595ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
23695ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
237ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik# -----------------------------------------------------------------------
238ceb8bf5e5cce7a37736981e626c4be416378767bRoboErik
23944918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes# A helper sub-library that makes direct use of V23 APIs.
24044918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banesinclude $(CLEAR_VARS)
24144918a92e1d66a01a03063e2c5e68b2570f64b03Chris BanesLOCAL_MODULE := android-support-v4-api23
242c12dc3d83c1ef7be0f4d4fd7a5a1dbce68138820Chris BanesLOCAL_SDK_VERSION := 23
24344918a92e1d66a01a03063e2c5e68b2570f64b03Chris BanesLOCAL_SRC_FILES := $(call all-java-files-under, api23)
24444918a92e1d66a01a03063e2c5e68b2570f64b03Chris BanesLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-api22
245e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
24644918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banesinclude $(BUILD_STATIC_JAVA_LIBRARY)
24744918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes
24895ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
24995ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
25044918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes# -----------------------------------------------------------------------
25144918a92e1d66a01a03063e2c5e68b2570f64b03Chris Banes
2520eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banes# A helper sub-library that makes direct use of V24 APIs.
2530eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banesinclude $(CLEAR_VARS)
2540eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris BanesLOCAL_MODULE := android-support-v4-api24
2550eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris BanesLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION)
2560eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris BanesLOCAL_SRC_FILES := $(call all-java-files-under, api24)
2570eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris BanesLOCAL_STATIC_JAVA_LIBRARIES := android-support-v4-api23
258e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
2590eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banesinclude $(BUILD_STATIC_JAVA_LIBRARY)
2600eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banes
2610eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
2620eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banes
2630eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banes# -----------------------------------------------------------------------
2640eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris Banes
26527aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn# Here is the final static library that apps can link against.
266cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborninclude $(CLEAR_VARS)
2676759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_USE_AAPT2 := true
268cba2e2c881e8e16ea5025b564c94320174d65f01Dianne HackbornLOCAL_MODULE := android-support-v4
269cba2e2c881e8e16ea5025b564c94320174d65f01Dianne HackbornLOCAL_SDK_VERSION := 4
270e49860b0f76d8336c1d41831ed370b0ff94278efRoboErikLOCAL_AIDL_INCLUDES := frameworks/support/v4/java
271ce16e4276c2f61109a23b3f6707cfcd87b07c735Griff HazenLOCAL_SRC_FILES := $(call all-java-files-under, java) \
272ce16e4276c2f61109a23b3f6707cfcd87b07c735Griff Hazen    $(call all-Iaidl-files-under, java)
2736759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
2740eb5e0eb1f73e4b882716ea80b6398dc7e866edfChris BanesLOCAL_STATIC_JAVA_LIBRARIES += android-support-v4-api24
2756759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_JAR_EXCLUDE_FILES := none
276e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
277cba2e2c881e8e16ea5025b564c94320174d65f01Dianne Hackborninclude $(BUILD_STATIC_JAVA_LIBRARY)
278f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banes
27995ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_src_files += $(LOCAL_SRC_FILES)
28095ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banessupport_module_aidl_includes := $(LOCAL_AIDL_INCLUDES)
28195ad49b720f4990d39d05f7e46a5c7bc83afc9d6Chris Banes
282f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banes# API Check
283f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banes# ---------------------------------------------
284f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banessupport_module := $(LOCAL_MODULE)
285f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banessupport_module_api_dir := $(LOCAL_PATH)/api
286639640523bdb81cc5a2ac2a1ebbe0c4e13a2c82bChris Banessupport_module_java_packages := android.support.v4.*
287f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banesinclude $(SUPPORT_API_CHECK)
288