blob: 8a8113be035cb0e0442d885772bdac254e13aa32 [file] [log] [blame]
Santos Cordon76faae52013-12-12 18:55:50 -08001#
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
Santos Cordonbd4d3b12014-01-30 14:50:29 -080020LOCAL_STATIC_JAVA_LIBRARIES := \
Tyler Gunnb1a95a72014-07-23 14:08:19 -070021 android-ex-camera2 \
Yorke Lee7a593fa2015-03-27 12:30:44 -070022 android-support-v4 \
Santos Cordonbd4d3b12014-01-30 14:50:29 -080023 guava \
Hall Liu3f54d492016-09-06 17:12:46 -070024 mockito-target \
25 platform-test-annotations
Santos Cordonbd4d3b12014-01-30 14:50:29 -080026
Ihab Awadaa383cc2015-03-22 22:12:28 -070027LOCAL_SRC_FILES := \
28 $(call all-java-files-under, src) \
Hall Liu2f4f0a02016-08-08 17:23:20 -070029 $(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
Santos Cordon76faae52013-12-12 18:55:50 -080035
Ihab Awadaa383cc2015-03-22 22:12:28 -070036LOCAL_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
Yorke Lee7a593fa2015-03-27 12:30:44 -070047
Tyler Gunnae694b12015-11-11 17:46:03 -080048LOCAL_PROGUARD_ENABLED := disabled
49
Ihab Awad945a82e2015-04-01 19:35:00 -070050LOCAL_PACKAGE_NAME := TelecomUnitTests
Santos Cordon76faae52013-12-12 18:55:50 -080051LOCAL_CERTIFICATE := platform
52
53LOCAL_MODULE_TAGS := tests
54
Allen Hair53396292016-08-25 16:48:24 -070055LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.server.telecom.*
56LOCAL_JACK_COVERAGE_EXCLUDE_FILTER := com.android.server.telecom.tests.*
57
Sudheer Shankad3b06b72016-03-09 18:46:29 -080058include frameworks/base/packages/SettingsLib/common.mk
59
Santos Cordon76faae52013-12-12 18:55:50 -080060include $(BUILD_PACKAGE)