1518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# Copyright (C) 2017 The Android Open Source Project
2518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette#
3518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# Licensed under the Apache License, Version 2.0 (the "License");
4518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# you may not use this file except in compliance with the License.
5518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# You may obtain a copy of the License at
6518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette#
7518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette#      http://www.apache.org/licenses/LICENSE-2.0
8518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette#
9518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# Unless required by applicable law or agreed to in writing, software
10518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# distributed under the License is distributed on an "AS IS" BASIS,
11518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# See the License for the specific language governing permissions and
13518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# limitations under the License.
14518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette
15518812100b56857bd8e15af5e591469a82dbbc9cAlan ViveretteLOCAL_PATH := $(call my-dir)
16518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette
17518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# Here is the final static library that apps can link against.
18518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# Applications that use this library must specify
19518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette#
20518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette#   LOCAL_STATIC_ANDROID_LIBRARIES := \
21b001068c55bfb1f707dfdfeb5e093ad4fcc22944Siyamed Sinir#       android-support-emoji-bundled \
22518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette#       android-support-emoji \
23518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette#       android-support-compat
24518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette#
25518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette# in their makefiles to include the resources and their dependencies in their package.
26518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette#
27518812100b56857bd8e15af5e591469a82dbbc9cAlan Viveretteinclude $(CLEAR_VARS)
28518812100b56857bd8e15af5e591469a82dbbc9cAlan ViveretteLOCAL_USE_AAPT2 := true
29b001068c55bfb1f707dfdfeb5e093ad4fcc22944Siyamed SinirLOCAL_MODULE := android-support-emoji-bundled
30518812100b56857bd8e15af5e591469a82dbbc9cAlan ViveretteLOCAL_SDK_VERSION := $(SUPPORT_CURRENT_SDK_VERSION)
31518812100b56857bd8e15af5e591469a82dbbc9cAlan ViveretteLOCAL_SRC_FILES := $(call all-java-files-under, src)
32518812100b56857bd8e15af5e591469a82dbbc9cAlan ViveretteLOCAL_SHARED_ANDROID_LIBRARIES := \
33518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette    android-support-annotations \
34518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette    android-support-emoji \
35518812100b56857bd8e15af5e591469a82dbbc9cAlan Viverette    android-support-compat
36518812100b56857bd8e15af5e591469a82dbbc9cAlan ViveretteLOCAL_JAR_EXCLUDE_FILES := none
37518812100b56857bd8e15af5e591469a82dbbc9cAlan ViveretteLOCAL_JAVA_LANGUAGE_VERSION := 1.7
38518812100b56857bd8e15af5e591469a82dbbc9cAlan ViveretteLOCAL_AAPT_FLAGS := --add-javadoc-annotation doconly
39518812100b56857bd8e15af5e591469a82dbbc9cAlan Viveretteinclude $(BUILD_STATIC_JAVA_LIBRARY)
40