xref: /aosp_15_r20/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/Android.bp (revision ec779b8e0859a360c3d303172224686826e6e0e1)
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_av_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_av_license"],
8}
9
10cc_test_library {
11    name: "libmediabenchmark_jni",
12
13    defaults: [
14        "libmediabenchmark_common-defaults",
15        "libmediabenchmark_soft_sanitize_all-defaults",
16    ],
17
18    srcs: [
19        "NativeExtractor.cpp",
20        "NativeMuxer.cpp",
21        "NativeEncoder.cpp",
22        "NativeDecoder.cpp",
23    ],
24
25    shared_libs: [
26        "liblog",
27    ],
28
29    static_libs: [
30        "libmediabenchmark_common",
31        "libmediabenchmark_extractor",
32        "libmediabenchmark_muxer",
33        "libmediabenchmark_decoder",
34        "libmediabenchmark_encoder",
35    ],
36
37    cflags: [
38        "-Wall",
39        "-Werror",
40    ],
41}
42