Home | History | Annotate | Download | only in default
      1 cc_library_shared {
      2     name: "android.hardware.graphics.allocator (a] 2.0-impl",
      3     defaults: ["hidl_defaults"],
      4     proprietary: true,
      5     relative_install_path: "hw",
      6     srcs: ["Gralloc.cpp", "Gralloc0Allocator.cpp", "Gralloc1Allocator.cpp"],
      7     cppflags: ["-Wall", "-Wextra"],
      8     shared_libs: [
      9         "android.hardware.graphics.allocator (a] 2.0",
     10         "libbase",
     11         "libcutils",
     12         "libhardware",
     13         "libhidlbase",
     14         "libhidltransport",
     15         "liblog",
     16         "libutils",
     17     ],
     18     header_libs: [
     19         "libgrallocmapperincludes",
     20     ],
     21 }
     22 
     23 cc_binary {
     24     name: "android.hardware.graphics.allocator (a] 2.0-service",
     25     defaults: ["hidl_defaults"],
     26     proprietary: true,
     27     relative_install_path: "hw",
     28     srcs: ["service.cpp"],
     29     init_rc: ["android.hardware.graphics.allocator (a] 2.0-service.rc"],
     30 
     31     shared_libs: [
     32         "android.hardware.graphics.allocator (a] 2.0",
     33         "libhidlbase",
     34         "libhidltransport",
     35         "liblog",
     36         "libutils",
     37     ],
     38 }
     39 
     40 cc_library_static {
     41     name: "libgralloc1-adapter",
     42     defaults: ["hidl_defaults"],
     43     srcs: ["gralloc1-adapter.cpp", "Gralloc1On0Adapter.cpp"],
     44     include_dirs: ["system/core/libsync/include"],
     45     cflags: ["-Wall", "-Wextra"],
     46     export_include_dirs: ["."],
     47     whole_static_libs: ["libgrallocusage"],
     48 }
     49