1# Copyright 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 17################################################## 18# Build APK 19include $(CLEAR_VARS) 20 21src_dirs := src unified_src 22LOCAL_PACKAGE_NAME := UnifiedEmail 23 24LOCAL_STATIC_ANDROID_LIBRARIES := \ 25 libchips \ 26 libphotoviewer_appcompat \ 27 androidx.core_core \ 28 androidx.media_media \ 29 androidx.legacy_legacy-support-core-utils \ 30 androidx.legacy_legacy-support-core-ui \ 31 androidx.fragment_fragment \ 32 androidx.appcompat_appcompat \ 33 androidx.gridlayout_gridlayout \ 34 androidx.legacy_legacy-support-v13 \ 35 android-opt-bitmap \ 36 android-opt-datetimepicker 37 38LOCAL_STATIC_JAVA_LIBRARIES := \ 39 androidx.annotation_annotation \ 40 guava \ 41 android-common \ 42 owasp-html-sanitizer 43 44LOCAL_SDK_VERSION := current 45 46LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) \ 47 $(call all-logtags-files-under, $(src_dirs)) 48 49LOCAL_USE_AAPT2 := true 50 51LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res 52 53LOCAL_PROGUARD_FLAG_FILES := proguard.flags 54ifeq (eng,$(TARGET_BUILD_VARIANT)) 55 LOCAL_PROGUARD_FLAG_FILES += proguard-test.flags 56endif 57 58LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.mail.*,com.android.emailcommon.*,com.google.android.mail.* 59 60include $(BUILD_PACKAGE) 61 62################################################## 63# Build all sub-directories 64 65include $(call all-makefiles-under,$(LOCAL_PATH)) 66