Dennis Tsiang | 33f0ece | 2023-11-29 12:45:04 +0000 | [diff] [blame] | 1 | |
| 2 | src_hwc3 = files( |
| 3 | 'ComposerClient.cpp', |
| 4 | 'Composer.cpp', |
| 5 | 'service.cpp', |
| 6 | ) |
| 7 | |
| 8 | executable( |
| 9 | 'android.hardware.composer.hwc3-service.drm', |
| 10 | src_hwc3, |
| 11 | cpp_args : common_cpp_flags, |
| 12 | dependencies : deps, |
| 13 | install : true, |
| 14 | link_with: drmhwc_common, |
| 15 | install_dir : get_option('bindir') / 'hw', |
| 16 | include_directories: inc_include, |
| 17 | ) |
| 18 | |
| 19 | configure_file( |
| 20 | input: 'hwc3-drm.rc', |
| 21 | output: '@PLAINNAME@', |
| 22 | copy: true, |
| 23 | install_dir: get_option('sysconfdir') / 'init', |
| 24 | ) |
| 25 | |
| 26 | configure_file( |
| 27 | input: 'hwc3-drm.xml', |
| 28 | output: '@PLAINNAME@', |
| 29 | copy: true, |
| 30 | install_dir: get_option('sysconfdir') / 'vintf' / 'manifest', |
| 31 | ) |