Merge "libmpeg2extractor: Add host support" am: 32fdde7c37 am: 80513db00a am: a0706cae8a am: 958e007981
Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1355671
Change-Id: Ic5bfd7181f8147d368375bc06f94f34f6c23cfa6
diff --git a/media/extractors/mpeg2/Android.bp b/media/extractors/mpeg2/Android.bp
index 0eee254..4c25314 100644
--- a/media/extractors/mpeg2/Android.bp
+++ b/media/extractors/mpeg2/Android.bp
@@ -1,6 +1,16 @@
cc_library {
name: "libmpeg2extractor",
+ host_supported: true,
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ android: {
+ shared_libs: ["libvndksupport#29"],
+ },
+ },
+
defaults: ["extractor-defaults"],
srcs: [
@@ -12,7 +22,6 @@
shared_libs: [
"libbase",
"libcgrouprc#29",
- "libvndksupport#29",
],
header_libs: [