1ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov# Copyright (C) 2011 The Android Open Source Project
2ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov#
3ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov# Licensed under the Apache License, Version 2.0 (the "License");
4ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov# you may not use this file except in compliance with the License.
5ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov# You may obtain a copy of the License at
6ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov#
7ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov#      http://www.apache.org/licenses/LICENSE-2.0
8ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov#
9ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov# Unless required by applicable law or agreed to in writing, software
10ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov# distributed under the License is distributed on an "AS IS" BASIS,
11ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov# See the License for the specific language governing permissions and
13ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov# limitations under the License.
14ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov
15ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_PATH := $(call my-dir)
16ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov
17ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov# Here is the final static library that apps can link against.
189439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette# Applications that use this library must specify
199439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#
209439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#   LOCAL_STATIC_ANDROID_LIBRARIES := \
219439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#       android-support-core-ui \
229439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#       android-support-compat
239439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#
249439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette# in their makefiles to include the resources and their dependencies in their package.
25ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikovinclude $(CLEAR_VARS)
26ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_USE_AAPT2 := true
27ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-core-ui
289439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION)
2901b8e87f019e19d0b2553c8b6b1cbd119416ed5bAurimas LiutikasLOCAL_SRC_FILES := $(call all-java-files-under,java)
30ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
31ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_SHARED_ANDROID_LIBRARIES := \
32ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov    android-support-compat \
33ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov    android-support-annotations
34ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_JAR_EXCLUDE_FILES := none
35ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_JAVA_LANGUAGE_VERSION := 1.7
369439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly
37ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikovinclude $(BUILD_STATIC_JAVA_LIBRARY)
38