Add a compilation flag to select the debugger method to use: - old: Android < 9 - new: Android >= 9 See <https://github.com/Genymobile/scrcpy/issues/1187#issuecomment-599075661>
9 lines
1,019 B
Meson
9 lines
1,019 B
Meson
option('compile_app', type: 'boolean', value: true, description: 'Build the client')
|
|
option('compile_server', type: 'boolean', value: true, description: 'Build the server')
|
|
option('crossbuild_windows', type: 'boolean', value: false, description: 'Build for Windows from Linux')
|
|
option('windows_noconsole', type: 'boolean', value: false, description: 'Disable console on Windows (pass -mwindows flag)')
|
|
option('prebuilt_server', type: 'string', description: 'Path of the prebuilt server')
|
|
option('portable', type: 'boolean', value: false, description: 'Use scrcpy-server from the same directory as the scrcpy executable')
|
|
option('hidpi_support', type: 'boolean', value: true, description: 'Enable High DPI support')
|
|
option('server_debugger', type: 'boolean', value: false, description: 'Run a server debugger and wait for a client to be attached')
|
|
option('server_debugger_method', type: 'combo', choices: ['old', 'new'], value: 'new', description: 'Select the debugger method (Android < 9: "old", Android >= 9: "new")')
|