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