1e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# Copyright (C) 2011 The Android Open Source Project 2e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# 3e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# Licensed under the Apache License, Version 2.0 (the "License"); 4e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# you may not use this file except in compliance with the License. 5e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# You may obtain a copy of the License at 6e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# 7e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# http://www.apache.org/licenses/LICENSE-2.0 8e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# 9e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# Unless required by applicable law or agreed to in writing, software 10e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# distributed under the License is distributed on an "AS IS" BASIS, 11e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# See the License for the specific language governing permissions and 13e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# limitations under the License. 14e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet 15e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier DucrohetLOCAL_PATH := $(call my-dir) 16e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet 17e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohet# 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-gridlayout \ 2255fc3f2df63118f3d4daea6df5b5eb531dcf194fKirill Grouchnikov# android-support-compat \ 2355fc3f2df63118f3d4daea6df5b5eb531dcf194fKirill Grouchnikov# android-support-core-ui 246759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# 256759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# in their makefiles to include the resources and their dependencies in their package. 26e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohetinclude $(CLEAR_VARS) 276759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_USE_AAPT2 := true 28e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier DucrohetLOCAL_MODULE := android-support-v7-gridlayout 299439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION) 30275326903ed2dd238ddbbd9532a9d46000cc8399Jeff BrownLOCAL_SRC_FILES := $(call all-java-files-under, src) 31275326903ed2dd238ddbbd9532a9d46000cc8399Jeff BrownLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res 329439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SHARED_ANDROID_LIBRARIES := \ 339439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette android-support-compat \ 349439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette android-support-core-ui \ 359439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette android-support-annotations 366759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_JAR_EXCLUDE_FILES := none 37e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7 386759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly 39e1feb53bd8abfa46613fdd0abcf7a015c7e706c1Xavier Ducrohetinclude $(BUILD_STATIC_JAVA_LIBRARY) 40f62fcdec92e2f96ec61579392ed2b593cff35b39Chris Banes 41