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-fragment \
229439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#       android-support-compat \
239439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#       android-support-media-compat \
249439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#       android-support-core-ui \
259439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#       android-support-core-utils
269439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette#
279439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette# in their makefiles to include the resources and their dependencies in their package.
28ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikovinclude $(CLEAR_VARS)
29ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_USE_AAPT2 := true
30ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_MODULE := android-support-fragment
319439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION)
329439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SRC_FILES := \
339439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette    $(call all-java-files-under, java)
34ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
359439d708170c7dd6c985453fd1999bbe8445eddfAlan ViveretteLOCAL_SHARED_ANDROID_LIBRARIES := \
36ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikov    android-support-compat \
37c016050959c787189cfd9f0398190f13514802deKirill Grouchnikov    android-support-core-ui \
389439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette    android-support-core-utils \
399439d708170c7dd6c985453fd1999bbe8445eddfAlan Viverette    android-support-annotations
40ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_JAR_EXCLUDE_FILES := none
41ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill GrouchnikovLOCAL_JAVA_LANGUAGE_VERSION := 1.7
42c016050959c787189cfd9f0398190f13514802deKirill GrouchnikovLOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly
43ff22d81f6561f6cdd2a91eb63238c41079927a22Kirill Grouchnikovinclude $(BUILD_STATIC_JAVA_LIBRARY)
44