blob: efac954a4ceadeaa65c9b9074e2935c824456699 [file] [log] [blame]
Kirill Grouchnikovff22d812016-05-11 15:24:25 -07001# Copyright (C) 2011 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
16
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070017# Here is the final static library that apps can link against.
Alan Viverette9439d702016-10-25 14:45:10 +010018# Applications that use this library must specify
19#
20# LOCAL_STATIC_ANDROID_LIBRARIES := \
21# android-support-fragment \
22# android-support-compat \
23# android-support-media-compat \
24# android-support-core-ui \
25# android-support-core-utils
26#
27# in their makefiles to include the resources and their dependencies in their package.
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070028include $(CLEAR_VARS)
29LOCAL_USE_AAPT2 := true
30LOCAL_MODULE := android-support-fragment
Alan Viverette9439d702016-10-25 14:45:10 +010031LOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION)
32LOCAL_SRC_FILES := \
Aurimas Liutikas034bc502017-10-02 17:45:56 -070033 $(call all-java-files-under, src/main/java)
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070034LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
Alan Viverette9439d702016-10-25 14:45:10 +010035LOCAL_SHARED_ANDROID_LIBRARIES := \
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070036 android-support-compat \
Kirill Grouchnikovc0160502016-05-16 18:27:36 -070037 android-support-core-ui \
Alan Viverette9439d702016-10-25 14:45:10 +010038 android-support-core-utils \
Alan Viverette9439d702016-10-25 14:45:10 +010039 android-support-annotations
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070040LOCAL_JAR_EXCLUDE_FILES := none
41LOCAL_JAVA_LANGUAGE_VERSION := 1.7
Kirill Grouchnikovc0160502016-05-16 18:27:36 -070042LOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070043include $(BUILD_STATIC_JAVA_LIBRARY)