blob: 78652aad0fd69ebdfa9439f63b665cf13dab5991 [file] [log] [blame]
ztenghui4fcaa702015-03-04 14:57:23 -08001# Copyright (C) 2015 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
Chris Banesd6b32392016-02-10 22:46:15 +000017# ---------------------------------------------
18#
19# Static vector drawable library
20#
21# ---------------------------------------------
ztenghui4fcaa702015-03-04 14:57:23 -080022include $(CLEAR_VARS)
Alan Viverette9439d702016-10-25 14:45:10 +010023LOCAL_USE_AAPT2 := true
Teng-Hui Zhu1f8664a2015-12-11 15:07:48 -080024LOCAL_MODULE := android-support-vectordrawable
Chris Banesc12dc3d2016-01-22 11:11:47 +000025LOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION)
Teng-Hui Zhu2c3c8bf2015-12-04 16:35:12 -080026LOCAL_SRC_FILES := $(call all-java-files-under, static/src)
Alan Viverette9439d702016-10-25 14:45:10 +010027LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/static/res
Aurimas Liutikas60aa4e42017-01-11 15:41:59 -080028LOCAL_MANIFEST_FILE := static/AndroidManifest-make.xml
Alan Viverette9439d702016-10-25 14:45:10 +010029LOCAL_SHARED_ANDROID_LIBRARIES := \
30 android-support-compat \
31 android-support-annotations
Neil Fullere1cd5a12016-02-25 11:41:17 +000032LOCAL_JAVA_LANGUAGE_VERSION := 1.7
Alan Viverette9439d702016-10-25 14:45:10 +010033LOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly
ztenghui4fcaa702015-03-04 14:57:23 -080034include $(BUILD_STATIC_JAVA_LIBRARY)
35
Chris Banesd6b32392016-02-10 22:46:15 +000036# ---------------------------------------------
37#
38# Animated vector drawable library
39#
40# ---------------------------------------------
ztenghui4fcaa702015-03-04 14:57:23 -080041include $(CLEAR_VARS)
Alan Viverette9439d702016-10-25 14:45:10 +010042LOCAL_USE_AAPT2 := true
Teng-Hui Zhu1f8664a2015-12-11 15:07:48 -080043LOCAL_MODULE := android-support-animatedvectordrawable
Chris Banesc12dc3d2016-01-22 11:11:47 +000044LOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION)
Teng-Hui Zhu2c3c8bf2015-12-04 16:35:12 -080045LOCAL_SRC_FILES := $(call all-java-files-under, animated/src)
Alan Viverette9439d702016-10-25 14:45:10 +010046LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/animated/res
Aurimas Liutikas60aa4e42017-01-11 15:41:59 -080047LOCAL_MANIFEST_FILE := animated/AndroidManifest-make.xml
Alan Viverette9439d702016-10-25 14:45:10 +010048LOCAL_SHARED_ANDROID_LIBRARIES := \
49 android-support-compat \
50 android-support-vectordrawable \
51 android-support-annotations
52LOCAL_AAPT_FLAGS := --no-version-vectors --add-javadoc-annotation doconly
Neil Fullere1cd5a12016-02-25 11:41:17 +000053LOCAL_JAVA_LANGUAGE_VERSION := 1.7
Teng-Hui Zhuc0a76bd2015-12-01 15:25:39 -080054include $(BUILD_STATIC_JAVA_LIBRARY)