1
0
Fork 0
android_external_drm_hwcomp.../hwc2_device/meson.build
Drew Davenport 23e05e0b85 drm_hwcomposer: Move common files out of hwc2_device directory
HwcDisplay etc. are shared between frontends and shouldn't live in the
hwc2_device directory.

Change-Id: I4bf3845f6cf7adde5f625a736cc1dffea27e5168
2025-05-23 09:01:32 -06:00

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,
)