blob: 78a29dffce9e996df30ecc8ac9f5b07d7944117d [file] [log] [blame]
Tor Norbye3eb5e2b2013-11-13 09:58:36 -08001# Copyright (C) 2013 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
17include $(CLEAR_VARS)
Adam Lesinski6759b102016-02-24 19:57:25 -080018LOCAL_USE_AAPT2 := true
Tor Norbye3eb5e2b2013-11-13 09:58:36 -080019LOCAL_MODULE := android-support-annotations
Chris Banes82b55492016-01-22 11:11:47 +000020LOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION)
Tor Norbye3eb5e2b2013-11-13 09:58:36 -080021LOCAL_SRC_FILES := $(call all-java-files-under,src)
Adam Lesinski6759b102016-02-24 19:57:25 -080022LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
Neil Fullere1cd5a12016-02-25 11:41:17 +000023LOCAL_JAVA_LANGUAGE_VERSION := 1.7
Adam Lesinski6759b102016-02-24 19:57:25 -080024LOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly
Tor Norbye3eb5e2b2013-11-13 09:58:36 -080025include $(BUILD_STATIC_JAVA_LIBRARY)