diff options
author | Roman Stratiienko <roman.stratiienko@globallogic.com> | 2019-10-17 17:42:36 +0300 |
---|---|---|
committer | Roman Stratiienko <roman.stratiienko@globallogic.com> | 2019-11-11 15:59:16 +0200 |
commit | e3ed48d728aad123f0c460f8fc087297a98e0c08 (patch) | |
tree | a34559bd0ca4dd9f34259f13c70019626390b786 /Android.bp | |
parent | f63726cabf3f1c940230e7b96fd514fca6dfb906 (diff) | |
download | drm_hwcomposer-e3ed48d728aad123f0c460f8fc087297a98e0c08.tar.gz |
drm_hwcomposer: Add Imagination platform support
External Android.bp file should be created in order to build this module:
```
cc_library_shared {
name: "hwcomposer.drm_imagination",
defaults: ["hwcomposer.drm_defaults"],
srcs: [":drm_hwcomposer_platformimagination"],
whole_static_libs: ["drm_hwcomposer"],
shared_libs: ["libion"],
include_dirs: [
"path/to/imgtec/include/files",
],
}
```
libion is needed to make ion.h header visible `linux/ion.h`.
Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -110,6 +110,15 @@ cc_library_shared { include_dirs: ["external/minigbm/cros_gralloc"], } +// Used by hwcomposer.drm_imagination +filegroup { + name: "drm_hwcomposer_platformimagination", + srcs: [ + "platform/platformdrmgeneric.cpp", + "platform/platformimagination.cpp", + ], +} + // Used by hwcomposer.drm_hikey and hwcomposer.drm_hikey960 filegroup { name: "drm_hwcomposer_platformhisi", |