xref: /aosp_15_r20/external/v4l2_codec2/tests/c2_e2e_test/jni/Android.bp (revision 0ec5a0ec62797f775085659156625e7f1bdb369f)
1// Copyright 2019 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5package {
6    // See: http://go/android-license-faq
7    default_applicable_licenses: [
8        "external_v4l2_codec2_license",
9    ],
10}
11
12cc_library_shared {
13    name: "libcodectest",
14    srcs: [
15        "video_encoder_e2e_test.cpp",
16        "video_decoder_e2e_test.cpp",
17        "e2e_test_jni.cpp",
18        "common.cpp",
19        "encoded_data_helper.cpp",
20        "video_frame.cpp",
21        "md5.cpp",
22        "mediacodec_encoder.cpp",
23        "mediacodec_decoder.cpp",
24    ],
25    shared_libs: [
26        "liblog",
27        "libmediandk",
28        "libandroid",
29    ],
30    header_libs: ["liblog_headers"],
31    sdk_version: "28",
32    stl: "c++_static",
33    static_libs: ["libgtest_ndk_c++"],
34    // TODO(stevensd): Fix and reenable warnings
35    cflags: ["-Wno-everything"],
36}
37