summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawin Vongmasa2016-10-06 21:01:51 -0500
committerIliyan Malchev2016-11-17 09:32:03 -0600
commit6ec37b9e507df9de9cb9608a44c44b4a3efd34ac (patch)
treef3ade68268f5783937bb02edb5b7a94e3fa69dbf /media/1.0/Android.bp
parent4a9f187d9fee9595e28ff3bca800a966c6dfdc16 (diff)
downloadplatform-hardware-interfaces-6ec37b9e507df9de9cb9608a44c44b4a3efd34ac.tar.gz
platform-hardware-interfaces-6ec37b9e507df9de9cb9608a44c44b4a3efd34ac.tar.xz
platform-hardware-interfaces-6ec37b9e507df9de9cb9608a44c44b4a3efd34ac.zip
Start media.omx HIDL project.
Test: None Bug: 31399200 Change-Id: I2fb1a6758ccc001c5631be1c642ad537d1ff5a10
Diffstat (limited to 'media/1.0/Android.bp')
-rw-r--r--media/1.0/Android.bp45
1 files changed, 45 insertions, 0 deletions
diff --git a/media/1.0/Android.bp b/media/1.0/Android.bp
new file mode 100644
index 00000000..c8bdd828
--- /dev/null
+++ b/media/1.0/Android.bp
@@ -0,0 +1,45 @@
1// This file is autogenerated by hidl-gen. Do not edit manually.
2
3genrule {
4 name: "android.hardware.media@1.0_genc++",
5 tools: ["hidl-gen"],
6 cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.media@1.0",
7 srcs: [
8 "types.hal",
9 ],
10 out: [
11 "android/hardware/media/1.0/types.cpp",
12 ],
13}
14
15genrule {
16 name: "android.hardware.media@1.0_genc++_headers",
17 tools: ["hidl-gen"],
18 cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.media@1.0",
19 srcs: [
20 "types.hal",
21 ],
22 out: [
23 "android/hardware/media/1.0/types.h",
24 ],
25}
26
27cc_library_shared {
28 name: "android.hardware.media@1.0",
29 generated_sources: ["android.hardware.media@1.0_genc++"],
30 generated_headers: ["android.hardware.media@1.0_genc++_headers"],
31 export_generated_headers: ["android.hardware.media@1.0_genc++_headers"],
32 shared_libs: [
33 "libhidl",
34 "libhwbinder",
35 "libutils",
36 "libcutils",
37 "android.hardware.graphics.common@1.0",
38 ],
39 export_shared_lib_headers: [
40 "libhidl",
41 "libhwbinder",
42 "libutils",
43 "android.hardware.graphics.common@1.0",
44 ],
45}