summaryrefslogtreecommitdiffstats
path: root/exynos4/interfaces/gralloc/Android.bp
blob: 69009de905269e0e52039e34ddf5af230f345cd7 (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
cc_library_shared {
    name: "android.hardware.graphics.allocator@2.0-impl-exynos4",
    defaults: ["hidl_defaults"],
    proprietary: true,
    relative_install_path: "hw",
    srcs: ["Gralloc.cpp", "Gralloc0Allocator.cpp", "Gralloc1Allocator.cpp"],
    include_dirs: ["system/core/libgrallocusage/include"],
    cppflags: ["-Wall", "-Wextra"],
    shared_libs: [
        "android.hardware.graphics.allocator@2.0",
        "libbase",
        "libcutils",
        "libhardware",
        "libhidlbase",
        "libhidltransport",
        "liblog",
        "libutils",
    ],
    header_libs: [
        "libgrallocmapperincludes",
    ],
    whole_static_libs: ["libgrallocusage"],
}

cc_library_static {
    name: "libgralloc1-adapter-exynos4",
    defaults: ["hidl_defaults"],
    srcs: ["gralloc1-adapter.cpp", "Gralloc1On0Adapter.cpp"],
    include_dirs: ["system/core/libsync/include"],
    cflags: ["-Wall", "-Wextra", "-Wno-error"],
    export_include_dirs: ["."],
    whole_static_libs: ["libgrallocusage"],
}