Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "frameworks_av_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_av_license"], |
| 8 | } |
| 9 | |
Pawin Vongmasa | 329ac9c | 2019-09-09 21:28:05 -0700 | [diff] [blame] | 10 | cc_defaults { |
| 11 | name: "libstagefright_bufferpool@2.0-default", |
Sungtak Lee | bbe37b6 | 2018-08-29 15:15:48 -0700 | [diff] [blame] | 12 | srcs: [ |
| 13 | "Accessor.cpp", |
| 14 | "AccessorImpl.cpp", |
| 15 | "BufferPoolClient.cpp", |
| 16 | "BufferStatus.cpp", |
| 17 | "ClientManager.cpp", |
| 18 | "Connection.cpp", |
Sungtak Lee | c7f9e2c | 2018-09-14 16:23:40 -0700 | [diff] [blame] | 19 | "Observer.cpp", |
Sungtak Lee | bbe37b6 | 2018-08-29 15:15:48 -0700 | [diff] [blame] | 20 | ], |
| 21 | export_include_dirs: [ |
| 22 | "include", |
| 23 | ], |
| 24 | shared_libs: [ |
| 25 | "libcutils", |
| 26 | "libfmq", |
| 27 | "libhidlbase", |
Sungtak Lee | bbe37b6 | 2018-08-29 15:15:48 -0700 | [diff] [blame] | 28 | "liblog", |
| 29 | "libutils", |
| 30 | "android.hardware.media.bufferpool@2.0", |
| 31 | ], |
| 32 | export_shared_lib_headers: [ |
| 33 | "libfmq", |
| 34 | "android.hardware.media.bufferpool@2.0", |
| 35 | ], |
| 36 | } |
Pawin Vongmasa | 329ac9c | 2019-09-09 21:28:05 -0700 | [diff] [blame] | 37 | |
| 38 | cc_library { |
| 39 | name: "libstagefright_bufferpool@2.0.1", |
| 40 | defaults: ["libstagefright_bufferpool@2.0-default"], |
| 41 | vendor_available: true, |
Jooyung Han | e3cf41a | 2020-04-30 04:22:22 +0900 | [diff] [blame] | 42 | min_sdk_version: "29", |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 43 | // TODO: b/147147992 |
| 44 | double_loadable: true, |
Pawin Vongmasa | 329ac9c | 2019-09-09 21:28:05 -0700 | [diff] [blame] | 45 | cflags: [ |
| 46 | "-DBUFFERPOOL_CLONE_HANDLES", |
| 47 | ], |
| 48 | } |
| 49 | |
| 50 | // Deprecated. Do not use. Use libstagefright_bufferpool@2.0.1 instead. |
| 51 | cc_library { |
| 52 | name: "libstagefright_bufferpool@2.0", |
| 53 | defaults: ["libstagefright_bufferpool@2.0-default"], |
| 54 | vendor_available: true, |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 55 | // TODO: b/147147992 |
| 56 | double_loadable: true, |
Pawin Vongmasa | 329ac9c | 2019-09-09 21:28:05 -0700 | [diff] [blame] | 57 | vndk: { |
| 58 | enabled: true, |
| 59 | }, |
| 60 | } |