Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | include $(CLEAR_VARS) |
| 19 | |
Santos Cordon | bd4d3b1 | 2014-01-30 14:50:29 -0800 | [diff] [blame] | 20 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Tyler Gunn | b1a95a7 | 2014-07-23 14:08:19 -0700 | [diff] [blame] | 21 | android-ex-camera2 \ |
Yorke Lee | 7a593fa | 2015-03-27 12:30:44 -0700 | [diff] [blame] | 22 | android-support-v4 \ |
Jordan Liu | a53fd9c | 2017-02-24 13:05:46 -0800 | [diff] [blame] | 23 | android-support-test \ |
Santos Cordon | bd4d3b1 | 2014-01-30 14:50:29 -0800 | [diff] [blame] | 24 | guava \ |
Hall Liu | 3f54d49 | 2016-09-06 17:12:46 -0700 | [diff] [blame] | 25 | mockito-target \ |
Paul Duffin | 81de71c | 2017-06-13 12:28:59 +0100 | [diff] [blame] | 26 | platform-test-annotations |
Santos Cordon | bd4d3b1 | 2014-01-30 14:50:29 -0800 | [diff] [blame] | 27 | |
Ihab Awad | aa383cc | 2015-03-22 22:12:28 -0700 | [diff] [blame] | 28 | LOCAL_SRC_FILES := \ |
| 29 | $(call all-java-files-under, src) \ |
Hall Liu | 2f4f0a0 | 2016-08-08 17:23:20 -0700 | [diff] [blame] | 30 | $(call all-java-files-under, ../src) \ |
| 31 | $(call all-proto-files-under, ../proto) |
| 32 | |
| 33 | LOCAL_PROTOC_OPTIMIZE_TYPE := nano |
| 34 | LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/../proto/ |
| 35 | LOCAL_PROTO_JAVA_OUTPUT_PARAMS := optional_field_style=accessors |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 36 | |
Ihab Awad | aa383cc | 2015-03-22 22:12:28 -0700 | [diff] [blame] | 37 | LOCAL_RESOURCE_DIR := \ |
| 38 | $(LOCAL_PATH)/res \ |
Alan Viverette | e9d3687 | 2017-05-10 17:48:00 -0400 | [diff] [blame] | 39 | $(LOCAL_PATH)/../res \ |
| 40 | $(SUPPORT_LIBRARY_ROOT)/compat/res |
Ihab Awad | aa383cc | 2015-03-22 22:12:28 -0700 | [diff] [blame] | 41 | |
| 42 | LOCAL_JAVA_LIBRARIES := \ |
Paul Duffin | 81de71c | 2017-06-13 12:28:59 +0100 | [diff] [blame] | 43 | android.test.mock \ |
| 44 | legacy-android-test \ |
Hall Liu | 561cede | 2018-01-03 15:38:38 -0800 | [diff] [blame] | 45 | android.test.runner \ |
Ihab Awad | aa383cc | 2015-03-22 22:12:28 -0700 | [diff] [blame] | 46 | telephony-common |
| 47 | |
| 48 | LOCAL_AAPT_FLAGS := \ |
| 49 | --auto-add-overlay \ |
Alan Viverette | e9d3687 | 2017-05-10 17:48:00 -0400 | [diff] [blame] | 50 | --extra-packages com.android.server.telecom:android.support.compat |
Yorke Lee | 7a593fa | 2015-03-27 12:30:44 -0700 | [diff] [blame] | 51 | |
Paul Duffin | 7197aae | 2017-03-11 21:35:00 +0000 | [diff] [blame] | 52 | LOCAL_JACK_FLAGS := --multi-dex native |
| 53 | |
Tyler Gunn | ae694b1 | 2015-11-11 17:46:03 -0800 | [diff] [blame] | 54 | LOCAL_PROGUARD_ENABLED := disabled |
| 55 | |
Ihab Awad | 945a82e | 2015-04-01 19:35:00 -0700 | [diff] [blame] | 56 | LOCAL_PACKAGE_NAME := TelecomUnitTests |
Anton Hansson | 5fd4b68 | 2018-02-23 16:06:08 +0000 | [diff] [blame^] | 57 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 58 | LOCAL_CERTIFICATE := platform |
| 59 | |
| 60 | LOCAL_MODULE_TAGS := tests |
| 61 | |
Allen Hair | 5339629 | 2016-08-25 16:48:24 -0700 | [diff] [blame] | 62 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.server.telecom.* |
| 63 | LOCAL_JACK_COVERAGE_EXCLUDE_FILTER := com.android.server.telecom.tests.* |
| 64 | |
Hall Liu | 43f20c3 | 2018-01-02 16:57:23 -0800 | [diff] [blame] | 65 | LOCAL_COMPATIBILITY_SUITE := device-tests |
Sudheer Shanka | d3b06b7 | 2016-03-09 18:46:29 -0800 | [diff] [blame] | 66 | include frameworks/base/packages/SettingsLib/common.mk |
| 67 | |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 68 | include $(BUILD_PACKAGE) |