hikey: Use filegroup for drm_hwcomposer common files
In drm_hwcomposer the static library was replaced with filegroup
to allow project-wide configuration using preprocessor definitions.
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Change-Id: Ic323433e3aac3980fc71fd2aee17335eb6746b37
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",
+ ],
}