Merge "hikey: Use filegroup for drm_hwcomposer common files" am: de8954df2e am: 4e76a260d1
Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/1879478
Change-Id: Ied7eed347f84ddce67007cc77cc487336d14b004
diff --git a/gralloc/Android.bp b/gralloc/Android.bp
index 44da39e..aaca7cb 100644
--- a/gralloc/Android.bp
+++ b/gralloc/Android.bp
@@ -11,6 +11,8 @@
cc_library_shared {
name: "hwcomposer.drm_hikey",
defaults: ["hwcomposer.drm_defaults"],
- srcs: [":drm_hwcomposer_platformhisi"],
- whole_static_libs: ["drm_hwcomposer"],
+ srcs: [
+ ":drm_hwcomposer_common",
+ ":drm_hwcomposer_platformhisi",
+ ],
}
diff --git a/gralloc960/Android.bp b/gralloc960/Android.bp
index b8e39c5..6939a52 100644
--- a/gralloc960/Android.bp
+++ b/gralloc960/Android.bp
@@ -11,6 +11,8 @@
cc_library_shared {
name: "hwcomposer.drm_hikey960",
defaults: ["hwcomposer.drm_defaults"],
- srcs: [":drm_hwcomposer_platformhisi"],
- whole_static_libs: ["drm_hwcomposer"],
+ srcs: [
+ ":drm_hwcomposer_common",
+ ":drm_hwcomposer_platformhisi",
+ ],
}