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

Commit ada63282 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Convert core/tests/privacytests/Android.mk file to Android.bp" am: 523e0b08

Change-Id: I39c995ce17c248df130a392d8388170d32f7b7dd
parents 58bb3c1b 523e0b08
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
android_test {
    name: "FrameworksPrivacyLibraryTests",
    srcs: ["src/**/*.java"],
    static_libs: [
        "junit",
        "rappor-tests",
        "androidx.test.rules",
        "truth-prebuilt",
    ],
    libs: ["android.test.runner"],
    platform_apis: true,
    certificate: "platform",
    test_suites: ["device-tests"],
}
+0 −20
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 := junit rappor-tests androidx.test.rules truth-prebuilt

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

LOCAL_CERTIFICATE := platform
LOCAL_COMPATIBILITY_SUITE := device-tests

include $(BUILD_PACKAGE)