Bob Badour | 3908e7b | 2021-02-23 14:27:06 -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 | |
Wonsik Kim | 09a62c6 | 2021-02-07 21:42:56 -0800 | [diff] [blame] | 10 | cc_library_headers { |
| 11 | name: "libcodec2_hidl_plugin_headers", |
| 12 | vendor_available: true, |
| 13 | export_include_dirs: [ |
| 14 | "include", |
| 15 | ], |
| 16 | } |
| 17 | |
| 18 | cc_library { |
| 19 | name: "libcodec2_hidl_plugin_stub", |
| 20 | |
| 21 | srcs: [ |
| 22 | "DefaultFilterPlugin.cpp", |
| 23 | "FilterWrapperStub.cpp", |
| 24 | ], |
| 25 | |
| 26 | header_libs: [ |
| 27 | "libcodec2_internal", // private |
| 28 | ], |
| 29 | |
| 30 | shared_libs: [ |
| 31 | "libbase", |
| 32 | "libcodec2", |
| 33 | "libcodec2_vndk", |
| 34 | "liblog", |
| 35 | "libutils", |
| 36 | ], |
| 37 | |
| 38 | export_include_dirs: [ |
| 39 | "include", |
| 40 | "internal", |
| 41 | ], |
| 42 | |
| 43 | apex_available: [ |
| 44 | "//apex_available:platform", |
| 45 | "com.android.media.swcodec", |
| 46 | ], |
| 47 | min_sdk_version: "29", |
| 48 | } |
| 49 | |
| 50 | cc_library { |
| 51 | name: "libcodec2_hidl_plugin", |
| 52 | vendor: true, |
| 53 | |
| 54 | srcs: [ |
| 55 | "DefaultFilterPlugin.cpp", |
| 56 | "FilterWrapper.cpp", |
| 57 | ], |
| 58 | |
| 59 | header_libs: [ |
| 60 | "libcodec2_internal", // private |
| 61 | ], |
| 62 | |
| 63 | shared_libs: [ |
| 64 | "libbase", |
| 65 | "libcodec2", |
| 66 | "libcodec2_vndk", |
| 67 | "liblog", |
| 68 | "libutils", |
| 69 | ], |
| 70 | |
| 71 | export_include_dirs: [ |
| 72 | "include", |
| 73 | "internal", |
| 74 | ], |
| 75 | } |