package {
    default_applicable_licenses: [
        "frameworks_av_media_libstagefright_omx_tests_license",
    ],
}

// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
    name: "frameworks_av_media_libstagefright_omx_tests_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
    ],
    license_text: [
        "NOTICE",
    ],
}

cc_test {
    name: "omx_tests",
    gtest: false,

    srcs: ["OMXHarness.cpp"],

    shared_libs: [
        "libstagefright",
        "libbinder",
        "libdatasource",
        "libmedia",
        "libmedia_omx",
        "libutils",
        "liblog",
        "libstagefright_foundation",
        "libcutils",
        "libhidlbase",
        "libhidlmemory",
        "libnativewindow",
        "android.hidl.allocator@1.0",
        "android.hidl.memory@1.0",
    ],

    header_libs: [
        "libbase_headers",
        "libmediametrics_headers",
    ],

    cflags: [
        "-Werror",
        "-Wall",
    ],

    compile_multilib: "32",
}
