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
26LOCAL_SRC_FILES := \
27        $(call all-java-files-under, src) \
28        $(call all-java-files-under, ../src)
29
30LOCAL_RESOURCE_DIR := \
31    $(LOCAL_PATH)/res \
32    $(LOCAL_PATH)/../res
33
34LOCAL_JAVA_LIBRARIES := \
35        android.test.runner \
36        telephony-common
37
38LOCAL_AAPT_FLAGS := \
39    --auto-add-overlay \
40    --extra-packages com.android.server.telecom
41
42LOCAL_PROGUARD_ENABLED := disabled
43
44LOCAL_PACKAGE_NAME := TelecomUnitTests
45LOCAL_CERTIFICATE := platform
46
47LOCAL_MODULE_TAGS := tests
48
49include frameworks/base/packages/SettingsLib/common.mk
50
51include $(BUILD_PACKAGE)
52