16904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler# Copyright (C) 2015 The Android Open Source Project
26904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler#
36904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler# Licensed under the Apache License, Version 2.0 (the "License");
46904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler# you may not use this file except in compliance with the License.
56904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler# You may obtain a copy of the License at
66904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler#
76904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler#      http://www.apache.org/licenses/LICENSE-2.0
86904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler#
96904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler# Unless required by applicable law or agreed to in writing, software
106904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler# distributed under the License is distributed on an "AS IS" BASIS,
116904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
126904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler# See the License for the specific language governing permissions and
136904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler# limitations under the License.
146904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
156904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony MantlerLOCAL_PATH := $(call my-dir)
166904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler
176904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantler# 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-preference \
226759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski#       android-support-v7-appcompat \
236759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski#       android-support-v7-recyclerview \
249439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#       android-support-v4
256759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski#
266759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski# in their makefiles to include the resources and their dependencies in their package.
276904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantlerinclude $(CLEAR_VARS)
286759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_USE_AAPT2 := true
296904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony MantlerLOCAL_MODULE := android-support-v7-preference
309439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION)
319439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SRC_FILES := \
329439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette    $(call all-java-files-under,constants) \
339439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette    $(call all-java-files-under,src)
349439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
356759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_SHARED_ANDROID_LIBRARIES := \
366759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski    android-support-v7-appcompat \
376759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski    android-support-v7-recyclerview \
386759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski    android-support-v4 \
396759b1021d8198ad1d239bb30e5a102b99624bceAdam Lesinski    android-support-annotations
406759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_JAR_EXCLUDE_FILES := none
41e1cd5a1f80010eece43cb4608505fd39f4832c00Neil FullerLOCAL_JAVA_LANGUAGE_VERSION := 1.7
426759b1021d8198ad1d239bb30e5a102b99624bceAdam LesinskiLOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly
436904f67c96a28a0e5966b4fb6d37a0ad5f136858Tony Mantlerinclude $(BUILD_STATIC_JAVA_LIBRARY)
44