Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62254b17 authored by Sasha Smundak's avatar Sasha Smundak
Browse files

Convert core/tests/packagemanagertests/Android.mk file to Android.bp

See build/soong/README.md for more information.

Bug: 122332340
Test: treehugger
Change-Id: I0daafeac01b5ebe027058d047db036187cef563d
parent 40e864d1
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
android_test {
    name: "FrameworksCorePackageManagerTests",
    // We only want this apk build for tests.
    // Include all test java files.
    srcs: ["src/**/*.java"],
    static_libs: [
        "androidx.test.rules",
        "frameworks-base-testutils",
        "mockito-target-minus-junit4",
    ],
    libs: ["android.test.runner"],
    platform_apis: true,
    certificate: "platform",
}
+0 −22
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

# We only want this apk build for tests.
LOCAL_MODULE_TAGS := tests

# Include all test java files.
LOCAL_SRC_FILES := \
    $(call all-java-files-under, src)

LOCAL_STATIC_JAVA_LIBRARIES := \
    androidx.test.rules \
    frameworks-base-testutils \
    mockito-target-minus-junit4

LOCAL_JAVA_LIBRARIES := android.test.runner
LOCAL_PACKAGE_NAME := FrameworksCorePackageManagerTests
LOCAL_PRIVATE_PLATFORM_APIS := true

LOCAL_CERTIFICATE := platform

include $(BUILD_PACKAGE)