blob: 72cd9031e94464d6a16a0c2402fe24e0d1759f6d [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 ],
32 shared_libs: [
33 "libbinder_ndk",
34 "libcutils",
35 "libfmq",
36 "liblog",
Sungtak Leef36c31c2024-01-12 04:53:17 +000037 "libnativewindow",
Sungtak Lee8878a132022-12-07 11:42:03 +000038 "libutils",
Sungtak Leef36c31c2024-01-12 04:53:17 +000039 "android.hardware.media.bufferpool2-V2-ndk",
Sungtak Lee8878a132022-12-07 11:42:03 +000040 ],
41 static_libs: [
42 "libaidlcommonsupport",
43 ],
44 export_shared_lib_headers: [
45 "libfmq",
Sungtak Leef36c31c2024-01-12 04:53:17 +000046 "android.hardware.media.bufferpool2-V2-ndk",
Sungtak Lee8878a132022-12-07 11:42:03 +000047 ],
48 double_loadable: true,
49 cflags: [
50 "-DBUFFERPOOL_CLONE_HANDLES",
51 ],
52}