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