Dennis Tsiang | 33f0ece | 2023-11-29 12:45:04 +0000 | [diff] [blame] | 1 | |
| 2 | src_hwc3 = files( |
| 3 | 'ComposerClient.cpp', |
| 4 | 'Composer.cpp', |
Drew Davenport | ade6965 | 2024-07-16 15:54:33 -0600 | [diff] [blame] | 5 | 'DrmHwcThree.cpp', |
Dennis Tsiang | 33f0ece | 2023-11-29 12:45:04 +0000 | [diff] [blame] | 6 | 'service.cpp', |
Drew Davenport | 5951b11 | 2024-08-05 09:44:27 -0600 | [diff] [blame] | 7 | 'ComposerResources.cpp', |
| 8 | 'Utils.cpp', |
Dennis Tsiang | 33f0ece | 2023-11-29 12:45:04 +0000 | [diff] [blame] | 9 | ) |
| 10 | |
| 11 | executable( |
| 12 | 'android.hardware.composer.hwc3-service.drm', |
| 13 | src_hwc3, |
Drew Davenport | 5951b11 | 2024-08-05 09:44:27 -0600 | [diff] [blame] | 14 | cpp_args : common_cpp_flags + hwc2_cpp_flags, |
Dennis Tsiang | 33f0ece | 2023-11-29 12:45:04 +0000 | [diff] [blame] | 15 | dependencies : deps, |
| 16 | install : true, |
Roman Stratiienko | d36bbb8 | 2024-10-19 01:11:18 +0300 | [diff] [blame] | 17 | link_whole: [drmhwc_common, drmhwc_hwc2_common], |
Dennis Tsiang | 33f0ece | 2023-11-29 12:45:04 +0000 | [diff] [blame] | 18 | install_dir : get_option('bindir') / 'hw', |
| 19 | include_directories: inc_include, |
| 20 | ) |
| 21 | |
| 22 | configure_file( |
| 23 | input: 'hwc3-drm.rc', |
| 24 | output: '@PLAINNAME@', |
| 25 | copy: true, |
| 26 | install_dir: get_option('sysconfdir') / 'init', |
| 27 | ) |
| 28 | |
| 29 | configure_file( |
| 30 | input: 'hwc3-drm.xml', |
| 31 | output: '@PLAINNAME@', |
| 32 | copy: true, |
| 33 | install_dir: get_option('sysconfdir') / 'vintf' / 'manifest', |
| 34 | ) |