Merge "Convert DumpViewer to Android.bp" into stage-aosp-master

This commit is contained in:
Colin Cross
2021-09-13 21:10:02 +00:00
committed by Android (Google) Code Review
3 changed files with 28 additions and 34 deletions

View File

@@ -1,2 +0,0 @@
LOCAL_PATH := $(call my-dir)
include $(LOCAL_PATH)/app/src/main/Android.mk

View File

@@ -0,0 +1,28 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "DumpViewer",
srcs: ["**/*.java"],
static_libs: [
"androidx.annotation_annotation",
"androidx.collection_collection",
"androidx.arch.core_core-common",
"androidx.lifecycle_lifecycle-common",
"androidx.lifecycle_lifecycle-runtime",
"androidx.percentlayout_percentlayout",
"androidx.transition_transition",
"androidx.core_core",
"androidx.legacy_legacy-support-core-ui",
"androidx.media_media",
"androidx.legacy_legacy-support-v13",
"androidx.preference_preference",
"androidx.appcompat_appcompat",
"androidx.gridlayout_gridlayout",
"androidx.recyclerview_recyclerview",
],
sdk_version: "31",
}

View File

@@ -1,32 +0,0 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := tests
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_STATIC_JAVA_LIBRARIES := \
androidx.annotation_annotation \
androidx.collection_collection \
androidx.arch.core_core-common \
androidx.lifecycle_lifecycle-common \
LOCAL_STATIC_ANDROID_LIBRARIES := \
androidx.lifecycle_lifecycle-runtime \
androidx.percentlayout_percentlayout \
androidx.transition_transition \
androidx.core_core \
androidx.legacy_legacy-support-core-ui \
androidx.media_media \
androidx.legacy_legacy-support-v13 \
androidx.preference_preference \
androidx.appcompat_appcompat \
androidx.gridlayout_gridlayout \
androidx.recyclerview_recyclerview
LOCAL_PACKAGE_NAME := DumpViewer
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_SDK_VERSION := 26
include $(BUILD_PACKAGE)