ztenghui | 4fcaa70 | 2015-03-04 14:57:23 -0800 | [diff] [blame] | 1 | # 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 | |
| 15 | LOCAL_PATH := $(call my-dir) |
| 16 | |
Chris Banes | d6b3239 | 2016-02-10 22:46:15 +0000 | [diff] [blame] | 17 | # --------------------------------------------- |
| 18 | # |
| 19 | # Static vector drawable library |
| 20 | # |
| 21 | # --------------------------------------------- |
ztenghui | 4fcaa70 | 2015-03-04 14:57:23 -0800 | [diff] [blame] | 22 | include $(CLEAR_VARS) |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 23 | LOCAL_USE_AAPT2 := true |
Teng-Hui Zhu | 1f8664a | 2015-12-11 15:07:48 -0800 | [diff] [blame] | 24 | LOCAL_MODULE := android-support-vectordrawable |
Chris Banes | c12dc3d | 2016-01-22 11:11:47 +0000 | [diff] [blame] | 25 | LOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION) |
Teng-Hui Zhu | 2c3c8bf | 2015-12-04 16:35:12 -0800 | [diff] [blame] | 26 | LOCAL_SRC_FILES := $(call all-java-files-under, static/src) |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 27 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/static/res |
Aurimas Liutikas | 60aa4e4 | 2017-01-11 15:41:59 -0800 | [diff] [blame] | 28 | LOCAL_MANIFEST_FILE := static/AndroidManifest-make.xml |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 29 | LOCAL_SHARED_ANDROID_LIBRARIES := \ |
| 30 | android-support-compat \ |
| 31 | android-support-annotations |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 32 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 33 | LOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly |
ztenghui | 4fcaa70 | 2015-03-04 14:57:23 -0800 | [diff] [blame] | 34 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 35 | |
Chris Banes | d6b3239 | 2016-02-10 22:46:15 +0000 | [diff] [blame] | 36 | # --------------------------------------------- |
| 37 | # |
| 38 | # Animated vector drawable library |
| 39 | # |
| 40 | # --------------------------------------------- |
ztenghui | 4fcaa70 | 2015-03-04 14:57:23 -0800 | [diff] [blame] | 41 | include $(CLEAR_VARS) |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 42 | LOCAL_USE_AAPT2 := true |
Teng-Hui Zhu | 1f8664a | 2015-12-11 15:07:48 -0800 | [diff] [blame] | 43 | LOCAL_MODULE := android-support-animatedvectordrawable |
Chris Banes | c12dc3d | 2016-01-22 11:11:47 +0000 | [diff] [blame] | 44 | LOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION) |
Teng-Hui Zhu | 2c3c8bf | 2015-12-04 16:35:12 -0800 | [diff] [blame] | 45 | LOCAL_SRC_FILES := $(call all-java-files-under, animated/src) |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 46 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/animated/res |
Aurimas Liutikas | 60aa4e4 | 2017-01-11 15:41:59 -0800 | [diff] [blame] | 47 | LOCAL_MANIFEST_FILE := animated/AndroidManifest-make.xml |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 48 | LOCAL_SHARED_ANDROID_LIBRARIES := \ |
| 49 | android-support-compat \ |
| 50 | android-support-vectordrawable \ |
| 51 | android-support-annotations |
| 52 | LOCAL_AAPT_FLAGS := --no-version-vectors --add-javadoc-annotation doconly |
Neil Fuller | e1cd5a1 | 2016-02-25 11:41:17 +0000 | [diff] [blame] | 53 | LOCAL_JAVA_LANGUAGE_VERSION := 1.7 |
Teng-Hui Zhu | c0a76bd | 2015-12-01 15:25:39 -0800 | [diff] [blame] | 54 | include $(BUILD_STATIC_JAVA_LIBRARY) |