memory service: Remove memory@1.0-impl from req'd.
Requiring a package requires the package, but only the parts of it that
could be used by a specific package. So, the 32 bit version was not
being built, and explicitly requiring "android.hidl.memory@1.0-impl-32"
would not make it be built either. Instead android.hidl.memory@1.0-impl
has to be added to PRODUCT_PACKAGES on the device. This is done in
embedded.mk.
Additionally, specified compile_multilib: "both" to be explicit that
both should be built (although it appears as if this is the default).
Fix: 34134179
Test: clean build has both 32 and 64 bit versions of the -impl on the
device.
Change-Id: Ie88ef08eefd05f78962db44c0d46cfa3a4d8d9bd
diff --git a/transport/memory/1.0/default/Android.bp b/transport/memory/1.0/default/Android.bp
index 2b89f07..62fb556 100644
--- a/transport/memory/1.0/default/Android.bp
+++ b/transport/memory/1.0/default/Android.bp
@@ -14,6 +14,7 @@
cc_library_shared {
name: "android.hidl.memory@1.0-impl",
+ compile_multilib: "both",
relative_install_path: "hw",
srcs: [
"AshmemMapper.cpp",
@@ -55,9 +56,4 @@
"libutils",
"libcutils",
],
-
- required: [
- // only one implementation is allowed
- "android.hidl.memory@1.0-impl"
- ]
}