1bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell# Copyright (C) 2012 The Android Open Source Project
2bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell#
3bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell# Licensed under the Apache License, Version 2.0 (the "License");
4bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell# you may not use this file except in compliance with the License.
5bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell# You may obtain a copy of the License at
6bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell#
7bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell#      http://www.apache.org/licenses/LICENSE-2.0
8bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell#
9bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell# Unless required by applicable law or agreed to in writing, software
10bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell# distributed under the License is distributed on an "AS IS" BASIS,
11bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell# See the License for the specific language governing permissions and
13bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell# limitations under the License.
14bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell
15bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam PowellLOCAL_PATH := $(call my-dir)
16bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powell
17da10fdd1400ecfd8d7f2e55651dd528d0614dfc5Jeff Brown# 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-v7-appcompat \
226759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski#       android-support-v4
236759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski#
246759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# in their makefiles to include the resources and their dependencies in their package.
25bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powellinclude $(CLEAR_VARS)
266759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_USE_AAPT2 := true
27da10fdd1400ecfd8d7f2e55651dd528d0614dfc5Jeff BrownLOCAL_MODULE := android-support-v7-appcompat
28c12dc3d83c1ef7be0f4d4fd7a5a1dbce68138820Chris BanesLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION)
29da10fdd1400ecfd8d7f2e55651dd528d0614dfc5Jeff BrownLOCAL_SRC_FILES := $(call all-java-files-under,src)
30e3a39a1a9975c9452065cd55b9abf36a0ba2263eSiva VelusamyLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
316759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_STATIC_JAVA_LIBRARIES := \
326759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski    android-support-vectordrawable \
336759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski    android-support-animatedvectordrawable
349439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SHARED_ANDROID_LIBRARIES := \
359439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette    android-support-v4
366759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_AAPT_FLAGS := --no-version-vectors
376759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_JAR_EXCLUDE_FILES := none
38e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
39bbbb8f39d1b1d1b317c5f9237f20fe6b1d9eb17fAdam Powellinclude $(BUILD_STATIC_JAVA_LIBRARY)
40