| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
LOCAL_PATH:= $(call my-dir) |
| 18 |
|
| 19 |
|
| 20 |
ifeq (,$(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK))) |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
include $(CLEAR_VARS) |
| 28 |
|
| 29 |
LOCAL_MODULE := android.test.legacy |
| 30 |
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS |
| 31 |
LOCAL_LICENSE_CONDITIONS := notice |
| 32 |
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE |
| 33 |
|
| 34 |
LOCAL_SDK_VERSION := current |
| 35 |
|
| 36 |
LOCAL_JAVA_LIBRARIES := junit android.test.mock.stubs |
| 37 |
LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 38 |
android.test.base-minus-junit \ |
| 39 |
android.test.runner-minus-junit \ |
| 40 |
|
| 41 |
include $(BUILD_STATIC_JAVA_LIBRARY) |
| 42 |
|
| 43 |
$(call declare-license-metadata,$(full_classes_jar),\ |
| 44 |
SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS,\ |
| 45 |
notice,$(LOCAL_PATH)/../NOTICE,Android,frameworks/base) |
| 46 |
|
| 47 |
|
| 48 |
$(call dist-for-goals,sdk,$(full_classes_jar):android.test.legacy.jar) |
| 49 |
|
| 50 |
endif |