blob: 3c31446c9136cb811057861865e5c867c19ac344 [file] [log] [blame]
Sungtak Lee8878a132022-12-07 11:42:03 +00001package {
Aditya Choudharyad2ba1b2024-02-05 15:45:22 +00002 default_team: "trendy_team_android_media_codec_framework",
Sungtak Lee8878a132022-12-07 11:42:03 +00003 // See: http://go/android-license-faq
4 // A large-scale-change added 'default_applicable_licenses' to import
5 // all of the 'license_kinds' from "frameworks_av_license"
6 // to get the below license kinds:
7 // SPDX-license-identifier-Apache-2.0
8 default_applicable_licenses: ["hardware_interfaces_license"],
9}
10
11cc_library {
12 name: "libstagefright_aidl_bufferpool2",
13 vendor_available: true,
14 min_sdk_version: "29",
15 apex_available: [
16 "//apex_available:platform",
17 "com.android.media.swcodec",
18 "test_com.android.media.swcodec",
19 ],
20 srcs: [
21 "Accessor.cpp",
22 "BufferPool.cpp",
23 "BufferPoolClient.cpp",
24 "BufferStatus.cpp",
25 "ClientManager.cpp",
26 "Connection.cpp",
27 "Observer.cpp",
28 ],
29 export_include_dirs: [
30 "include",
31 ],
Sungtak Lee5e104e42024-06-07 04:46:23 +000032 header_libs: [
33 "libbase_headers",
34 ],
Sungtak Lee8878a132022-12-07 11:42:03 +000035 shared_libs: [
36 "libbinder_ndk",
37 "libcutils",
38 "libfmq",
39 "liblog",
Sungtak Leef36c31c2024-01-12 04:53:17 +000040 "libnativewindow",
Sungtak Lee8878a132022-12-07 11:42:03 +000041 "libutils",
Sungtak Leef36c31c2024-01-12 04:53:17 +000042 "android.hardware.media.bufferpool2-V2-ndk",
Sungtak Lee8878a132022-12-07 11:42:03 +000043 ],
44 static_libs: [
45 "libaidlcommonsupport",
46 ],
47 export_shared_lib_headers: [
48 "libfmq",
Sungtak Leef36c31c2024-01-12 04:53:17 +000049 "android.hardware.media.bufferpool2-V2-ndk",
Sungtak Lee8878a132022-12-07 11:42:03 +000050 ],
51 double_loadable: true,
52 cflags: [
53 "-DBUFFERPOOL_CLONE_HANDLES",
54 ],
55}