mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-09-25 02:38:33 +00:00
Fix server debugger for Android >= 9
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>
This commit is contained in:
parent
cd69eb4a4f
commit
902b99174d
4 changed files with 19 additions and 0 deletions
|
@ -124,6 +124,9 @@ conf.set('WINDOWS_NOCONSOLE', get_option('windows_noconsole'))
|
|||
# run a server debugger and wait for a client to be attached
|
||||
conf.set('SERVER_DEBUGGER', get_option('server_debugger'))
|
||||
|
||||
# select the debugger method ('old' for Android < 9, 'new' for Android >= 9)
|
||||
conf.set('SERVER_DEBUGGER_METHOD_NEW', get_option('server_debugger_method') == 'new')
|
||||
|
||||
configure_file(configuration: conf, output: 'config.h')
|
||||
|
||||
src_dir = include_directories('src')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue