From 9c5a81e4f14df163388624b1852d094da65d85a8 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Thu, 21 Dec 2023 12:58:41 +0900 Subject: Expose .rc/.xml for CF gralloc apex Bug: 312358547 Test: allocator HAL service works from CF Change-Id: I0d7a58b23af1150a98856be7ad4ffc1e1efb42b8 --- cros_gralloc/aidl/Android.bp | 12 ++++++++++++ cros_gralloc/mapper_stablec/Android.bp | 7 +++++++ 2 files changed, 19 insertions(+) diff --git a/cros_gralloc/aidl/Android.bp b/cros_gralloc/aidl/Android.bp index da8f670..b52f806 100644 --- a/cros_gralloc/aidl/Android.bp +++ b/cros_gralloc/aidl/Android.bp @@ -49,3 +49,15 @@ cc_binary { "Main.cpp", ], } + +filegroup { + name: "allocator.minigbm.rc", + srcs: ["allocator.rc"] +} + +prebuilt_etc { + name: "allocator.minigbm.xml", + src: "allocator.xml", + sub_dir: "vintf", + installable: false, +} diff --git a/cros_gralloc/mapper_stablec/Android.bp b/cros_gralloc/mapper_stablec/Android.bp index b25be17..401c177 100644 --- a/cros_gralloc/mapper_stablec/Android.bp +++ b/cros_gralloc/mapper_stablec/Android.bp @@ -42,3 +42,10 @@ cc_library_shared { ], cpp_std: "c++20", } + +prebuilt_etc { + name: "mapper.minigbm.xml", + src: "mapper.minigbm.xml", + sub_dir: "vintf", + installable: false, +} -- cgit v1.2.3