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        "FileLock.cpp",
14        "hwjpeg-base.cpp",
15        "hwjpeg-v4l2.cpp",
16        "libhwjpeg-exynos.cpp",
17        "LibScalerForJpeg.cpp",
18        "ThumbnailScaler.cpp",
19    ],
20    export_include_dirs: ["include"],
21    cflags: ["-DLOG_TAG=\"exynos-libhwjpeg\""],
22    header_libs: [
23        "google_hal_headers",
24        "libcutils_headers",
25        "libhardware_headers",
26        "libsystem_headers",
27    ],
28    export_header_lib_headers: [
29        "google_hal_headers",
30    ],
31    shared_libs: [
32        "liblog",
33        "libutils",
34        "libcutils",
35        "libion_google",
36    ],
37}
38