119b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# Copyright (C) 2015 The Android Open Source Project 219b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# 319b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# Licensed under the Apache License, Version 2.0 (the "License"); 419b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# you may not use this file except in compliance with the License. 519b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# You may obtain a copy of the License at 619b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# 719b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# http://www.apache.org/licenses/LICENSE-2.0 819b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# 919b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# Unless required by applicable law or agreed to in writing, software 1019b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# distributed under the License is distributed on an "AS IS" BASIS, 1119b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1219b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# See the License for the specific language governing permissions and 1319b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# limitations under the License. 1419b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes 1519b2eeafda0769c523c1cef0971cc79dcca49d60Chris BanesLOCAL_PATH := $(call my-dir) 1619b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes 1719b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banes# 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 := \ 216759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# android-support-design \ 229439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette# android-support-transition \ 236759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# android-support-v7-appcompat \ 246759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# android-support-v7-recyclerview \ 259439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette# android-support-v4 266759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# 276759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# in their makefiles to include the resources and their dependencies in their package. 2819b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banesinclude $(CLEAR_VARS) 296759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_USE_AAPT2 := true 3019b2eeafda0769c523c1cef0971cc79dcca49d60Chris BanesLOCAL_MODULE := android-support-design 3182b55491586ac50a0f95b60e39a3c18d068941cfChris BanesLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION) 329439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SRC_FILES := \ 339439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette $(call all-java-files-under,base) \ 349439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette $(call all-java-files-under,lollipop) \ 359439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette $(call all-java-files-under,src) 369439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res 371c8c666b305e34d03ac5d93ede95830b2e80f4daKirill GrouchnikovLOCAL_SHARED_ANDROID_LIBRARIES := \ 389439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette android-support-transition \ 399439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette android-support-v7-appcompat \ 409439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette android-support-v7-recyclerview \ 419439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette android-support-v4 \ 429439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette android-support-annotations 43e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 449439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_AAPT_FLAGS := \ 459439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette --no-version-vectors \ 469439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette --add-javadoc-annotation doconly 4719b2eeafda0769c523c1cef0971cc79dcca49d60Chris Banesinclude $(BUILD_STATIC_JAVA_LIBRARY) 48