In preparation for the removal of the non-junit classes in the
android.test.base library from the android.jar this adds a dependency
on android.test.base/stubs to ensure this code will continue to
compile.
The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.
* tests/Android.mk
Added 'android.test.base.stubs' to LOCAL_JAVA_LIBRARIES because
messagingtests's will need them in order to compile once its
classes are removed from the current SDK on which it currently
depends.
Bug: 30188076
Test: make dist
Change-Id: Iabfb3c655897781ab3aee2b0dbf574d6048954a9
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Copyright (C) 2015 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)
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
# Only compile source java files in this apk.
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_PACKAGE_NAME := messagingtests
|
|
|
|
LOCAL_INSTRUMENTATION_FOR := messaging
|
|
|
|
# Matching ../Android.mk
|
|
LOCAL_SDK_VERSION := current
|
|
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
mockito-target
|
|
|
|
LOCAL_JAVA_LIBRARIES := \
|
|
android.test.mock.stubs \
|
|
android.test.runner.stubs \
|
|
android.test.base.stubs \
|
|
|
|
|
|
include $(BUILD_PACKAGE)
|
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|