blob: 7d7b28545a2a95bed697cadd11f854511a692539 [file] [log] [blame]
Wonsik Kimab22b472022-12-13 17:28:36 -08001cc_library {
Wonsik Kimae541982022-12-09 09:24:30 -08002 name: "libcodec2_hal_common",
Wonsik Kimab22b472022-12-13 17:28:36 -08003 double_loadable: true,
Wonsik Kimae541982022-12-09 09:24:30 -08004 vendor_available: true,
5 apex_available: [
6 "//apex_available:platform",
7 "com.android.media",
8 "com.android.media.swcodec",
9 ],
10 min_sdk_version: "29",
Wonsik Kimab22b472022-12-13 17:28:36 -080011
12 srcs: [
13 "BufferTypes.cpp",
Arun Johnsonfb946102023-12-27 01:10:34 +000014 "MultiAccessUnitHelper.cpp",
Wonsik Kimab22b472022-12-13 17:28:36 -080015 ],
16
17 export_include_dirs: ["include/"],
18
19 header_libs: [
20 "libcodec2_internal", // private
21 "libgui_headers",
22 ],
23
24 shared_libs: [
25 "libbase",
26 "libcodec2",
27 "libcodec2_vndk",
28 "liblog",
29 "libstagefright_foundation",
Arun Johnsonfb946102023-12-27 01:10:34 +000030 "server_configurable_flags",
Wonsik Kimab22b472022-12-13 17:28:36 -080031 ],
Arun Johnsonfb946102023-12-27 01:10:34 +000032
33 static_libs: ["aconfig_mediacodec_flags_c_lib"],
Wonsik Kimae541982022-12-09 09:24:30 -080034}
Wonsik Kime585c662023-10-18 16:09:47 -070035
36cc_library_static {
37 name: "libcodec2_hal_selection_static",
38 double_loadable: true,
39 vendor_available: true,
40 apex_available: [
41 "//apex_available:platform",
42 "com.android.media",
43 "com.android.media.swcodec",
44 ],
45 min_sdk_version: "29",
46
47 srcs: [
48 "HalSelection.cpp",
49 ],
50
51 export_include_dirs: ["include/"],
52
53 shared_libs: [
54 "libbase",
55 "server_configurable_flags",
56 ],
57
58 static_libs: ["aconfig_mediacodec_flags_c_lib"],
59}
60
61cc_defaults {
62 name: "libcodec2_hal_selection",
63 static_libs: [
64 "aconfig_mediacodec_flags_c_lib",
65 "libcodec2_hal_selection_static",
66 ],
67 shared_libs: [
68 "libbase",
69 "server_configurable_flags",
70 ],
71}