1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5cc_library_shared {
6    name: "libhwjpeg",
7    proprietary: true,
8    owner: "google",
9    srcs: [
10        "AppMarkerWriter.cpp",
11        "ExynosJpegEncoder.cpp",
12        "ExynosJpegEncoderForCamera.cpp",
13        "hwjpeg-base.cpp",
14        "hwjpeg-v4l2.cpp",
15        "libhwjpeg-exynos.cpp",
16        "LibScalerForJpeg.cpp",
17        "ThumbnailScaler.cpp",
18    ],
19    export_include_dirs: ["include"],
20    cflags: ["-DLOG_TAG=\"exynos-libhwjpeg\""],
21    header_libs: [
22        "google_hal_headers",
23        "libcutils_headers",
24        "libhardware_headers",
25        "libsystem_headers",
26    ],
27    shared_libs: [
28        "liblog",
29        "libutils",
30        "libcutils",
31        "libion_google",
32    ],
33}
34