2013-12-13 02:55:50 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2013 The Android Open Source Project
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2014-01-30 22:50:29 +00:00
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
2018-03-23 18:31:37 +00:00
|
|
|
android-ex-camera2 \
|
|
|
|
guava \
|
2018-08-24 02:09:37 +00:00
|
|
|
mockito-target-inline \
|
2018-03-23 18:31:37 +00:00
|
|
|
android-support-test \
|
|
|
|
platform-test-annotations
|
|
|
|
|
|
|
|
LOCAL_STATIC_ANDROID_LIBRARIES := \
|
2018-08-10 18:22:31 +00:00
|
|
|
androidx.legacy_legacy-support-core-ui \
|
|
|
|
androidx.legacy_legacy-support-core-utils \
|
|
|
|
androidx.core_core \
|
|
|
|
androidx.fragment_fragment
|
2014-01-30 22:50:29 +00:00
|
|
|
|
2015-03-23 05:12:28 +00:00
|
|
|
LOCAL_SRC_FILES := \
|
2018-03-23 18:31:37 +00:00
|
|
|
$(call all-java-files-under, src) \
|
|
|
|
$(call all-java-files-under, ../src) \
|
|
|
|
$(call all-proto-files-under, ../proto)
|
2016-08-09 00:23:20 +00:00
|
|
|
|
|
|
|
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
|
|
|
|
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/../proto/
|
|
|
|
LOCAL_PROTO_JAVA_OUTPUT_PARAMS := optional_field_style=accessors
|
2013-12-13 02:55:50 +00:00
|
|
|
|
2015-03-23 05:12:28 +00:00
|
|
|
LOCAL_RESOURCE_DIR := \
|
|
|
|
$(LOCAL_PATH)/res \
|
2018-03-23 18:31:37 +00:00
|
|
|
$(LOCAL_PATH)/../res
|
2015-03-23 05:12:28 +00:00
|
|
|
|
|
|
|
LOCAL_JAVA_LIBRARIES := \
|
2018-03-23 18:31:37 +00:00
|
|
|
android.test.mock \
|
|
|
|
android.test.base \
|
|
|
|
android.test.runner \
|
2018-08-15 17:37:33 +00:00
|
|
|
telephony-common \
|
|
|
|
telephony-ext
|
2015-03-23 05:12:28 +00:00
|
|
|
|
2017-12-06 19:39:26 +00:00
|
|
|
LOCAL_USE_AAPT2 := true
|
|
|
|
|
2018-08-24 02:09:37 +00:00
|
|
|
LOCAL_JNI_SHARED_LIBRARIES := \
|
|
|
|
libdexmakerjvmtiagent \
|
|
|
|
|
2015-03-23 05:12:28 +00:00
|
|
|
LOCAL_AAPT_FLAGS := \
|
|
|
|
--auto-add-overlay \
|
2018-03-23 18:31:37 +00:00
|
|
|
--extra-packages com.android.server.telecom
|
2015-03-27 19:30:44 +00:00
|
|
|
|
2015-11-12 01:46:03 +00:00
|
|
|
LOCAL_PROGUARD_ENABLED := disabled
|
|
|
|
|
2015-04-02 02:35:00 +00:00
|
|
|
LOCAL_PACKAGE_NAME := TelecomUnitTests
|
2018-02-23 16:06:08 +00:00
|
|
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
2013-12-13 02:55:50 +00:00
|
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
|
2016-08-25 23:48:24 +00:00
|
|
|
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.server.telecom.*
|
|
|
|
LOCAL_JACK_COVERAGE_EXCLUDE_FILTER := com.android.server.telecom.tests.*
|
|
|
|
|
2018-01-03 00:57:23 +00:00
|
|
|
LOCAL_COMPATIBILITY_SUITE := device-tests
|
2016-03-10 02:46:29 +00:00
|
|
|
include frameworks/base/packages/SettingsLib/common.mk
|
|
|
|
|
2013-12-13 02:55:50 +00:00
|
|
|
include $(BUILD_PACKAGE)
|