]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/blob - audio/common/2.0/Android.bp
resolve merge conflicts of dfa79a6292a42dd8609053febd8df7d5e7d48fbf to oreo-mr1-vts-dev
[android/platform-hardware-interfaces.git] / audio / common / 2.0 / Android.bp
1 // This file is autogenerated by hidl-gen. Do not edit manually.
3 filegroup {
4     name: "android.hardware.audio.common@2.0_hal",
5     srcs: [
6         "types.hal",
7     ],
8 }
10 genrule {
11     name: "android.hardware.audio.common@2.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.audio.common@2.0",
14     srcs: [
15         ":android.hardware.audio.common@2.0_hal",
16     ],
17     out: [
18         "android/hardware/audio/common/2.0/types.cpp",
19     ],
20 }
22 genrule {
23     name: "android.hardware.audio.common@2.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.audio.common@2.0",
26     srcs: [
27         ":android.hardware.audio.common@2.0_hal",
28     ],
29     out: [
30         "android/hardware/audio/common/2.0/types.h",
31         "android/hardware/audio/common/2.0/hwtypes.h",
32     ],
33 }
35 cc_library {
36     name: "android.hardware.audio.common@2.0",
37     defaults: ["hidl-module-defaults"],
38     generated_sources: ["android.hardware.audio.common@2.0_genc++"],
39     generated_headers: ["android.hardware.audio.common@2.0_genc++_headers"],
40     export_generated_headers: ["android.hardware.audio.common@2.0_genc++_headers"],
41     vendor_available: true,
42     vndk: {
43         enabled: true,
44     },
45     shared_libs: [
46         "libhidlbase",
47         "libhidltransport",
48         "libhwbinder",
49         "liblog",
50         "libutils",
51         "libcutils",
52     ],
53     export_shared_lib_headers: [
54         "libhidlbase",
55         "libhidltransport",
56         "libhwbinder",
57         "libutils",
58     ],
59 }