xref: /aosp_15_r20/external/drm_hwcomposer/hwc3/meson.build (revision 0a9764fe0a15e71ebbeb85e87e10990c23aab47f)
1
2src_hwc3 = files(
3    'ComposerClient.cpp',
4    'Composer.cpp',
5    'DrmHwcThree.cpp',
6    'service.cpp',
7    'ComposerResources.cpp',
8    'Utils.cpp',
9)
10
11executable(
12    'android.hardware.composer.hwc3-service.drm',
13    src_hwc3,
14    cpp_args : common_cpp_flags + hwc2_cpp_flags,
15    dependencies : deps,
16    install : true,
17    link_whole: [drmhwc_common, drmhwc_hwc2_common],
18    install_dir : get_option('bindir') / 'hw',
19    include_directories: inc_include,
20)
21
22configure_file(
23  input: 'hwc3-drm.rc',
24  output: '@PLAINNAME@',
25  copy: true,
26  install_dir: get_option('sysconfdir') / 'init',
27)
28
29configure_file(
30  input: 'hwc3-drm.xml',
31  output: '@PLAINNAME@',
32  copy: true,
33  install_dir: get_option('sysconfdir') / 'vintf' / 'manifest',
34)
35