blob: 88db4871a532cca9fef020ec4179e88a4251ea26 [file] [log] [blame]
hualing chenf9c3c492021-05-21 16:09:37 +08001// Copyright (c) 2014 Amlogic, Inc. All rights reserved.
2//
3// This source code is subject to the terms and conditions defined in the
4// file 'LICENSE' which is part of this source code package.
5//
6// Description: makefile
7
8
9cc_library_shared {
10 name: "libamdvr",
11 vendor: true,
junlan.duan5e6cfa82022-01-13 12:34:31 +080012 compile_multilib: "both",
hualing chenf9c3c492021-05-21 16:09:37 +080013
14 arch: {
15 arm: {
16 instruction_set: "arm",
17 },
18 arm64: {
junlan.duan5e6cfa82022-01-13 12:34:31 +080019 enabled: true,
hualing chenf9c3c492021-05-21 16:09:37 +080020 },
21 x86: {
22 enabled: false,
23 },
24 x86_64: {
25 enabled: false,
26 },
27 },
28 srcs: [
29 "src/dvb_dmx_wrapper.c",
30 "src/dvb_frontend_wrapper.c",
31 "src/dvb_utils.c",
32 "src/dvr_playback.c",
33 "src/dvr_record.c",
34 "src/dvr_segment.c",
35 "src/dvr_utils.c",
36 "src/dvr_wrapper.c",
37 "src/index_file.c",
38 "src/list_file.c",
39 "src/record_device.c",
40 "src/segment.c",
Yahui Han1fbf3292021-11-08 18:17:19 +080041 "src/am_crypt.c",
42 "src/des.c",
hualing chenf9c3c492021-05-21 16:09:37 +080043 ],
44 shared_libs: [
45 "libcutils",
46 "liblog",
47 "libdl",
48 "libc",
49 "liblog",
50 "libmediahal_tsplayer",
51 ],
52 cflags: [
53
54 ],
55
56 // TODO: revise
57 include_dirs: [
58 "hardware/amlogic/media/amcodec/include",
hualing chenf9c3c492021-05-21 16:09:37 +080059 "vendor/amlogic/common/mediahal_sdk/include",
hualing chenf9c3c492021-05-21 16:09:37 +080060 ],
61
62 static_libs: [
63
64 ],
65
66
67 export_include_dirs: [
68 "include",
69 ],
70
71
72 ldflags: ["-shared"],
73}
74
75cc_library_shared {
76 name: "libamdvr.system",
junlan.duan5e6cfa82022-01-13 12:34:31 +080077 compile_multilib: "both",
hualing chenf9c3c492021-05-21 16:09:37 +080078 system_ext_specific: true,
79
80 arch: {
81 arm: {
82 instruction_set: "arm",
83 },
84 arm64: {
junlan.duan5e6cfa82022-01-13 12:34:31 +080085 enabled: true,
hualing chenf9c3c492021-05-21 16:09:37 +080086 },
87 x86: {
88 enabled: false,
89 },
90 x86_64: {
91 enabled: false,
92 },
93 },
94 srcs: [
95 "src/dvb_dmx_wrapper.c",
96 "src/dvb_frontend_wrapper.c",
97 "src/dvb_utils.c",
98 "src/dvr_playback.c",
99 "src/dvr_record.c",
100 "src/dvr_segment.c",
101 "src/dvr_utils.c",
102 "src/dvr_wrapper.c",
103 "src/index_file.c",
104 "src/list_file.c",
105 "src/record_device.c",
106 "src/segment.c",
Yahui Han1fbf3292021-11-08 18:17:19 +0800107 "src/am_crypt.c",
108 "src/des.c",
hualing chenf9c3c492021-05-21 16:09:37 +0800109 ],
110 shared_libs: [
111 "libcutils",
112 "liblog",
113 "libdl",
114 "libc",
115 "liblog",
116 "libmediahal_tsplayer.system",
117 ],
118 cflags: [
119
120 ],
121
122 // TODO: revise
123 include_dirs: [
124 "hardware/amlogic/media/amcodec/include",
hualing chenf9c3c492021-05-21 16:09:37 +0800125 "vendor/amlogic/common/mediahal_sdk/include",
hualing chenf9c3c492021-05-21 16:09:37 +0800126 ],
127
128 static_libs: [
129
130 ],
131
132
133 export_include_dirs: [
134 "include",
135 ],
136
137
138 ldflags: ["-shared"],
139
140}
141
hualing chen03fd4942021-07-15 15:56:41 +0800142subdirs=[
143 "test"
144]