blob: f57beb761ce4d45c6cd61d8aa6e7b719a01d5a56 [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 \
Ihab Awadaa383cc2015-03-22 22:12:28 -070024 mockito-target
Santos Cordonbd4d3b12014-01-30 14:50:29 -080025
Ihab Awadaa383cc2015-03-22 22:12:28 -070026LOCAL_SRC_FILES := \
27 $(call all-java-files-under, src) \
Hall Liu2f4f0a02016-08-08 17:23:20 -070028 $(call all-java-files-under, ../src) \
29 $(call all-proto-files-under, ../proto)
30
31LOCAL_PROTOC_OPTIMIZE_TYPE := nano
32LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/../proto/
33LOCAL_PROTO_JAVA_OUTPUT_PARAMS := optional_field_style=accessors
Santos Cordon76faae52013-12-12 18:55:50 -080034
Ihab Awadaa383cc2015-03-22 22:12:28 -070035LOCAL_RESOURCE_DIR := \
36 $(LOCAL_PATH)/res \
37 $(LOCAL_PATH)/../res
38
39LOCAL_JAVA_LIBRARIES := \
40 android.test.runner \
41 telephony-common
42
43LOCAL_AAPT_FLAGS := \
44 --auto-add-overlay \
45 --extra-packages com.android.server.telecom
Yorke Lee7a593fa2015-03-27 12:30:44 -070046
Tyler Gunnae694b12015-11-11 17:46:03 -080047LOCAL_PROGUARD_ENABLED := disabled
48
Ihab Awad945a82e2015-04-01 19:35:00 -070049LOCAL_PACKAGE_NAME := TelecomUnitTests
Santos Cordon76faae52013-12-12 18:55:50 -080050LOCAL_CERTIFICATE := platform
51
52LOCAL_MODULE_TAGS := tests
53
Sudheer Shankad3b06b72016-03-09 18:46:29 -080054include frameworks/base/packages/SettingsLib/common.mk
55
Santos Cordon76faae52013-12-12 18:55:50 -080056include $(BUILD_PACKAGE)