diff --git a/apps/DumpViewer/Android.mk b/apps/DumpViewer/Android.mk deleted file mode 100644 index fafec335f..000000000 --- a/apps/DumpViewer/Android.mk +++ /dev/null @@ -1,2 +0,0 @@ -LOCAL_PATH := $(call my-dir) -include $(LOCAL_PATH)/app/src/main/Android.mk diff --git a/apps/DumpViewer/app/src/main/Android.bp b/apps/DumpViewer/app/src/main/Android.bp new file mode 100644 index 000000000..a67de47d9 --- /dev/null +++ b/apps/DumpViewer/app/src/main/Android.bp @@ -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", +} diff --git a/apps/DumpViewer/app/src/main/Android.mk b/apps/DumpViewer/app/src/main/Android.mk deleted file mode 100644 index 92c0c296e..000000000 --- a/apps/DumpViewer/app/src/main/Android.mk +++ /dev/null @@ -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)