summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew F. Davis2019-07-22 11:40:03 -0500
committerAndrew F. Davis2019-07-22 11:40:03 -0500
commit24d9e2507788d2140567c19da7d31e8db0cc5e7d (patch)
treed10697a5fbf9c46dedb5a2209de1eccf50b185ef /Android.bp
parentbb2faf49af3eded23abe3eb3a167b08494670bc5 (diff)
downloadhardware-ti-libdce-d-pie-core-release.tar.gz
hardware-ti-libdce-d-pie-core-release.tar.xz
hardware-ti-libdce-d-pie-core-release.zip
Update project for latest Androidd-pie-core-release
Convert the Android.mk file to .bp. Also fixup various build warnings detected by newer compiler tools. Signed-off-by: Andrew F. Davis <afd@ti.com>
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp50
1 files changed, 50 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..a7e1e7e
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,50 @@
1// libdce
2
3cc_library_shared {
4
5 name: "libdce",
6 vendor: true,
7
8 srcs: [
9 "libdce.c",
10 "libdce_android.c",
11 "memplugin_android.c",
12 "packages/ipcdev/ti/ipc/mm/MmRpc.c",
13 ],
14
15 local_include_dirs: [
16 "packages/codec_engine",
17 "packages/framework_components",
18 "packages/ipcdev",
19 "packages/ivahd_codecs",
20 "packages/kernel-headers",
21 "packages/xdais",
22 "packages/xdctools",
23 ],
24
25 export_include_dirs: [
26 "packages/codec_engine",
27 "packages/framework_components",
28 "packages/ipcdev",
29 "packages/ivahd_codecs",
30 "packages/xdais",
31 "packages/xdctools",
32 ] + ["."],
33
34 header_libs: ["libutils_headers"],
35
36 shared_libs: [
37 "libc",
38 "libcutils",
39 "liblog",
40 "libdrm",
41 "libdrm_omap",
42 ],
43
44 cflags: [
45 "-DBUILDOS_ANDROID",
46 "-DDCE_DEBUG_ENABLE=1",
47 "-DDCE_DEBUG_LEVEL=1",
48 ],
49
50}