summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland2017-11-13 11:20:37 -0600
committerSteven Moreland2017-11-13 12:00:18 -0600
commit8db261bc99e1e673d3eb6dad73278e8a5311aadd (patch)
treec722c5b2d801da80ea171ab03d1ae4d85059ec1c /media/1.0/Android.bp
parent446e97afaf2619030c44b23a07c1074349ca816f (diff)
downloadplatform-hardware-interfaces-8db261bc99e1e673d3eb6dad73278e8a5311aadd.tar.gz
platform-hardware-interfaces-8db261bc99e1e673d3eb6dad73278e8a5311aadd.tar.xz
platform-hardware-interfaces-8db261bc99e1e673d3eb6dad73278e8a5311aadd.zip
Updating makefiles for hidl_interface.
Bug: 64487114 Test: manual Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812 Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Diffstat (limited to 'media/1.0/Android.bp')
-rw-r--r--media/1.0/Android.bp69
1 files changed, 12 insertions, 57 deletions
diff --git a/media/1.0/Android.bp b/media/1.0/Android.bp
index 4957717f..c5d49b6b 100644
--- a/media/1.0/Android.bp
+++ b/media/1.0/Android.bp
@@ -1,67 +1,22 @@
1// This file is autogenerated by hidl-gen. Do not edit manually. 1// This file is autogenerated by hidl-gen -Landroidbp.
2 2
3filegroup { 3hidl_interface {
4 name: "android.hardware.media@1.0_hal",
5 srcs: [
6 "types.hal",
7 ],
8}
9
10genrule {
11 name: "android.hardware.media@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.media@1.0",
14 srcs: [
15 ":android.hardware.media@1.0_hal",
16 ],
17 out: [
18 "android/hardware/media/1.0/types.cpp",
19 ],
20}
21
22genrule {
23 name: "android.hardware.media@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.media@1.0",
26 srcs: [
27 ":android.hardware.media@1.0_hal",
28 ],
29 out: [
30 "android/hardware/media/1.0/types.h",
31 "android/hardware/media/1.0/hwtypes.h",
32 ],
33}
34
35cc_library {
36 name: "android.hardware.media@1.0", 4 name: "android.hardware.media@1.0",
37 defaults: ["hidl-module-defaults"], 5 root: "android.hardware",
38 generated_sources: ["android.hardware.media@1.0_genc++"],
39 generated_headers: ["android.hardware.media@1.0_genc++_headers"],
40 export_generated_headers: ["android.hardware.media@1.0_genc++_headers"],
41 vendor_available: true,
42 vndk: { 6 vndk: {
43 enabled: true, 7 enabled: true,
44 }, 8 },
45 shared_libs: [ 9 srcs: [
46 "libhidlbase", 10 "types.hal",
47 "libhidltransport",
48 "libhwbinder",
49 "liblog",
50 "libutils",
51 "libcutils",
52 "android.hardware.graphics.common@1.0",
53 ], 11 ],
54 export_shared_lib_headers: [ 12 interfaces: [
55 "libhidlbase",
56 "libhidltransport",
57 "libhwbinder",
58 "libutils",
59 "android.hardware.graphics.common@1.0", 13 "android.hardware.graphics.common@1.0",
60 ], 14 ],
15 types: [
16 "AnwBuffer",
17 "AnwBufferAttributes",
18 "Rect",
19 ],
20 gen_java: false,
61} 21}
62 22
63// This package is not java compatible. Not creating java target.
64
65// This package does not export any types. Not creating java constants export.
66
67// This package has no interfaces. Not creating versioning adapter.