summaryrefslogtreecommitdiff
path: root/libhwjpeg/Android.bp
blob: 86dc84deafcd8959cbe9ec718f853119b3ea9243 (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
package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

cc_library_shared {
    name: "libhwjpeg",
    proprietary: true,
    owner: "google",
    srcs: [
        "AppMarkerWriter.cpp",
        "ExynosJpegEncoder.cpp",
        "ExynosJpegEncoderForCamera.cpp",
        "FileLock.cpp",
        "hwjpeg-base.cpp",
        "hwjpeg-v4l2.cpp",
        "libhwjpeg-exynos.cpp",
        "LibScalerForJpeg.cpp",
        "ThumbnailScaler.cpp",
    ],
    export_include_dirs: ["include"],
    cflags: ["-DLOG_TAG=\"exynos-libhwjpeg\""],
    header_libs: [
        "google_hal_headers",
        "libcutils_headers",
        "libhardware_headers",
        "libsystem_headers",
    ],
    export_header_lib_headers: [
        "google_hal_headers",
    ],
    shared_libs: [
        "liblog",
        "libutils",
        "libcutils",
        "libion_google",
    ],
}