split android.hidl.memory
Split android.hidl.memory into android.hidl.memory and
android.hidl.allocator. This must be done because IAllocator is served
over hwbinder transport and IMapper/IMemory are always going to be
passthrough hals.
Test: hidl_test, device boots with allocator
Bug: 35327976
Merged-In: Ib135b5e101fadadbbf16126a98f90181f76a253b
Change-Id: Ib135b5e101fadadbbf16126a98f90181f76a253b
diff --git a/transport/memory/1.0/Android.bp b/transport/memory/1.0/Android.bp
index 0a7b88f..4ec0191 100644
--- a/transport/memory/1.0/Android.bp
+++ b/transport/memory/1.0/Android.bp
@@ -3,7 +3,6 @@
filegroup {
name: "android.hidl.memory@1.0_hal",
srcs: [
- "IAllocator.hal",
"IMapper.hal",
"IMemory.hal",
],
@@ -14,12 +13,9 @@
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hidl:system/libhidl/transport android.hidl.memory@1.0",
srcs: [
- "IAllocator.hal",
- "IMapper.hal",
- "IMemory.hal",
+ ":android.hidl.memory@1.0_hal",
],
out: [
- "android/hidl/memory/1.0/AllocatorAll.cpp",
"android/hidl/memory/1.0/MapperAll.cpp",
"android/hidl/memory/1.0/MemoryAll.cpp",
],
@@ -30,16 +26,9 @@
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hidl:system/libhidl/transport android.hidl.memory@1.0",
srcs: [
- "IAllocator.hal",
- "IMapper.hal",
- "IMemory.hal",
+ ":android.hidl.memory@1.0_hal",
],
out: [
- "android/hidl/memory/1.0/IAllocator.h",
- "android/hidl/memory/1.0/IHwAllocator.h",
- "android/hidl/memory/1.0/BnHwAllocator.h",
- "android/hidl/memory/1.0/BpHwAllocator.h",
- "android/hidl/memory/1.0/BsAllocator.h",
"android/hidl/memory/1.0/IMapper.h",
"android/hidl/memory/1.0/IHwMapper.h",
"android/hidl/memory/1.0/BnHwMapper.h",