183b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# Copyright (C) 2014 The Android Open Source Project 283b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# 383b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# Licensed under the Apache License, Version 2.0 (the "License"); 483b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# you may not use this file except in compliance with the License. 583b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# You may obtain a copy of the License at 683b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# 783b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# http://www.apache.org/licenses/LICENSE-2.0 883b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# 983b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# Unless required by applicable law or agreed to in writing, software 1083b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# distributed under the License is distributed on an "AS IS" BASIS, 1183b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1283b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# See the License for the specific language governing permissions and 1383b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# limitations under the License. 1483b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar 1583b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit BoyarLOCAL_PATH := $(call my-dir) 1683b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar 1783b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# 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 := android-support-v7-cardview 216759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# 2283b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyar# in their makefiles to include the resources in their package. 2383b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyarinclude $(CLEAR_VARS) 246759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_USE_AAPT2 := true 2583b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit BoyarLOCAL_MODULE := android-support-v7-cardview 269439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION) 279439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SRC_FILES := \ 289439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette $(call all-java-files-under,src) 299439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res 309439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SHARED_ANDROID_LIBRARIES := \ 319439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette android-support-annotations 326759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_JAR_EXCLUDE_FILES := none 33e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 346759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly 3583b8526436ba2e564dff99ec4c6cf46fabfdf22eYigit Boyarinclude $(BUILD_STATIC_JAVA_LIBRARY) 36