aboutsummaryrefslogtreecommitdiff
path: root/components/Android.bp
blob: 827341268b8fda7d9dd356a1a8a0972aab5c57d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
cc_library {
    name: "libv4l2_codec2_components",
    vendor: true,

    defaults: [
        "libcodec2-impl-defaults",
    ],

    srcs: [
        "VideoFrame.cpp",
        "VideoFramePool.cpp",
        "V4L2Decoder.cpp",
        "V4L2ComponentFactory.cpp",
        "V4L2DecodeComponent.cpp",
        "V4L2DecodeInterface.cpp",
        "V4L2EncodeComponent.cpp",
        "V4L2EncodeInterface.cpp",
        "VideoDecoder.cpp",
    ],
    export_include_dirs: [
        "include",
    ],

    shared_libs: [
        "android.hardware.graphics.common@1.0",
        "libc2plugin_store",
        "libchrome",
        "libcodec2_soft_common",
        "libcutils",
        "liblog",
        "libsfplugin_ccodec_utils",
        "libstagefright_bufferqueue_helper",
        "libstagefright_foundation",
        "libv4l2_codec2_store",
        "libui",
    ],
    static_libs: [
        "libv4l2_codec2_accel",
        "libv4l2_codec2_common",
    ],

    cflags: [
      "-Werror",
      "-Wall",
      "-Wno-unused-parameter",  // needed for libchrome/base codes
      "-Wthread-safety",
    ],
}