1# 2# Copyright (C) 2013 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17LOCAL_PATH := $(call my-dir) 18include $(CLEAR_VARS) 19 20LOCAL_STATIC_JAVA_LIBRARIES := \ 21 android-ex-camera2 \ 22 android-support-v4 \ 23 guava \ 24 mockito-target \ 25 platform-test-annotations 26 27LOCAL_SRC_FILES := \ 28 $(call all-java-files-under, src) \ 29 $(call all-java-files-under, ../src) \ 30 $(call all-proto-files-under, ../proto) 31 32LOCAL_PROTOC_OPTIMIZE_TYPE := nano 33LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/../proto/ 34LOCAL_PROTO_JAVA_OUTPUT_PARAMS := optional_field_style=accessors 35 36LOCAL_RESOURCE_DIR := \ 37 $(LOCAL_PATH)/res \ 38 $(LOCAL_PATH)/../res 39 40LOCAL_JAVA_LIBRARIES := \ 41 android.test.runner \ 42 telephony-common 43 44LOCAL_AAPT_FLAGS := \ 45 --auto-add-overlay \ 46 --extra-packages com.android.server.telecom 47 48LOCAL_PROGUARD_ENABLED := disabled 49 50LOCAL_PACKAGE_NAME := TelecomUnitTests 51LOCAL_CERTIFICATE := platform 52 53LOCAL_MODULE_TAGS := tests 54 55LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.server.telecom.* 56LOCAL_JACK_COVERAGE_EXCLUDE_FILTER := com.android.server.telecom.tests.* 57 58include frameworks/base/packages/SettingsLib/common.mk 59 60include $(BUILD_PACKAGE) 61