// Build the unit tests for MediaTranscodingService

cc_defaults {
    name: "mediatranscodingservice_test_defaults",

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

    include_dirs: [
        "frameworks/av/services/mediatranscoding",
    ],

    shared_libs: [
        "libbinder",
        "libbinder_ndk",
        "liblog",
        "libutils",
        "libmediatranscodingservice",
        "libcutils",
    ],

    static_libs: [
        "mediatranscoding_aidl_interface-ndk_platform",
    ],
}

// MediaTranscodingService unit test
cc_test {
    name: "mediatranscodingservice_tests",
    defaults: ["mediatranscodingservice_test_defaults"],

    srcs: ["mediatranscodingservice_tests.cpp"],

    required: [
        ":TranscodingUidPolicy_TestAppA",
        ":TranscodingUidPolicy_TestAppB",
        ":TranscodingUidPolicy_TestAppC",
    ],
}