HwcDisplay etc. are shared between frontends and shouldn't live in the hwc2_device directory. Change-Id: I4bf3845f6cf7adde5f625a736cc1dffea27e5168
25 lines
No EOL
652 B
Meson
25 lines
No EOL
652 B
Meson
src_hwc2_device = files(
|
|
'hwc2_device.cpp',
|
|
'DrmHwcTwo.cpp',
|
|
)
|
|
|
|
drmhwc_hwc2_common = static_library(
|
|
'drm_hwc2',
|
|
src_hwc2_device,
|
|
# TODO remove hwc2 flags from common code (backends needs rework)
|
|
cpp_args : common_cpp_flags + hwc2_cpp_flags,
|
|
dependencies : deps,
|
|
link_with: drmhwc_common,
|
|
include_directories: inc_include,
|
|
)
|
|
|
|
shared_library(
|
|
'hwcomposer.drm',
|
|
name_prefix : '',
|
|
cpp_args : common_cpp_flags + hwc2_cpp_flags,
|
|
dependencies : deps,
|
|
install : true,
|
|
link_whole: [drmhwc_common, drmhwc_hwc2_common],
|
|
install_dir : get_option('libdir') / 'hw',
|
|
include_directories: inc_include,
|
|
) |