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

Commit 9b02402a authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

ultrahdr: Updates to unit tests

This is a partial cherry-pick of commit 0202c125 to keep tests/Android.bp
in sync between aosp/main and internal branches.

Bug: 313791883
Test: treehugger

Merged-In: I917e9385f2a4b92add8667248a88789b5332da76
Change-Id: I84bebee572eb63ab023c63559ca15121e8bb6ac6
parent aa627355
Loading
Loading
Loading
Loading
+5 −34
Original line number Diff line number Diff line
@@ -22,12 +22,14 @@ package {
}

cc_test {
    name: "libultrahdr_test",
    name: "ultrahdr_unit_test",
    test_suites: ["device-tests"],
    srcs: [
        "gainmapmath_test.cpp",
        "icchelper_test.cpp",
        "jpegr_test.cpp",
        "jpegencoderhelper_test.cpp",
        "jpegdecoderhelper_test.cpp",
    ],
    shared_libs: [
        "libimage_io",
@@ -42,38 +44,7 @@ cc_test {
        "libultrahdr",
        "libutils",
    ],
}

cc_test {
    name: "libjpegencoderhelper_test",
    test_suites: ["device-tests"],
    srcs: [
        "jpegencoderhelper_test.cpp",
    ],
    shared_libs: [
        "libjpeg",
        "liblog",
    ],
    static_libs: [
        "libgtest",
        "libjpegencoder",
    ],
}

cc_test {
    name: "libjpegdecoderhelper_test",
    test_suites: ["device-tests"],
    srcs: [
        "jpegdecoderhelper_test.cpp",
    ],
    shared_libs: [
        "libjpeg",
        "liblog",
    ],
    static_libs: [
        "libgtest",
        "libjpegdecoder",
        "libultrahdr",
        "libutils",
    data: [
        "./data/*.*",
    ],
}