]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/blob - graphics/common/1.0/Android.bp
86438c1a3530235084cfc63af32754e6e59e0508
[android/platform-hardware-interfaces.git] / graphics / common / 1.0 / Android.bp
1 // This file is autogenerated by hidl-gen. Do not edit manually.
3 filegroup {
4     name: "android.hardware.graphics.common@1.0_hal",
5     srcs: [
6         "types.hal",
7     ],
8 }
10 genrule {
11     name: "android.hardware.graphics.common@1.0_genc++",
12     tools: ["hidl-gen"],
13     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.common@1.0",
14     srcs: [
15         ":android.hardware.graphics.common@1.0_hal",
16     ],
17     out: [
18         "android/hardware/graphics/common/1.0/types.cpp",
19     ],
20 }
22 genrule {
23     name: "android.hardware.graphics.common@1.0_genc++_headers",
24     tools: ["hidl-gen"],
25     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.common@1.0",
26     srcs: [
27         ":android.hardware.graphics.common@1.0_hal",
28     ],
29     out: [
30         "android/hardware/graphics/common/1.0/types.h",
31         "android/hardware/graphics/common/1.0/hwtypes.h",
32     ],
33 }
35 cc_library {
36     name: "android.hardware.graphics.common@1.0",
37     defaults: ["hidl-module-defaults"],
38     generated_sources: ["android.hardware.graphics.common@1.0_genc++"],
39     generated_headers: ["android.hardware.graphics.common@1.0_genc++_headers"],
40     export_generated_headers: ["android.hardware.graphics.common@1.0_genc++_headers"],
41     vendor_available: true,
42     vndk: {
43         enabled: true,
44         support_system_process: true,
45     },
46     shared_libs: [
47         "libhidlbase",
48         "libhidltransport",
49         "libhwbinder",
50         "liblog",
51         "libutils",
52         "libcutils",
53     ],
54     export_shared_lib_headers: [
55         "libhidlbase",
56         "libhidltransport",
57         "libhwbinder",
58         "libutils",
59     ],
60 }