1009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# Copyright (C) 2013 The Android Open Source Project 2009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# 3009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# Licensed under the Apache License, Version 2.0 (the "License"); 4009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# you may not use this file except in compliance with the License. 5009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# You may obtain a copy of the License at 6009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# 7009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# http://www.apache.org/licenses/LICENSE-2.0 8009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# 9009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# Unless required by applicable law or agreed to in writing, software 10009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# distributed under the License is distributed on an "AS IS" BASIS, 11009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# See the License for the specific language governing permissions and 13009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# limitations under the License. 14009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell 15009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam PowellLOCAL_PATH := $(call my-dir) 16009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell 17009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powell# Here is the final static library that apps can link against. 186759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# Applications that use this library must specify 196759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# 206759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# LOCAL_STATIC_ANDROID_LIBRARIES := \ 219439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette# android-support-v7-recyclerview \ 2255fc3f2df63118f3d4daea6df5b5eb531dcf194fKirill Grouchnikov# android-support-compat \ 239439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette# android-support-core-ui 246759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# 256759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# in their makefiles to include the resources and their dependencies in their package. 26009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powellinclude $(CLEAR_VARS) 276759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_USE_AAPT2 := true 28009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam PowellLOCAL_MODULE := android-support-v7-recyclerview 299439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION) 30009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam PowellLOCAL_SRC_FILES := $(call all-java-files-under,src) 316759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res 326759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_SHARED_ANDROID_LIBRARIES := \ 3355fc3f2df63118f3d4daea6df5b5eb531dcf194fKirill Grouchnikov android-support-compat \ 3455fc3f2df63118f3d4daea6df5b5eb531dcf194fKirill Grouchnikov android-support-core-ui \ 356759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski android-support-annotations 366759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_JAR_EXCLUDE_FILES := none 37e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 389439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly 39009b4ef9d97e1cc237477e3284fc305bb1438cc9Adam Powellinclude $(BUILD_STATIC_JAVA_LIBRARY) 40