mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Add adb devices parser
Add a parser of `adb device -l` output, to extract a list of devices with their serial, state and model.
This commit is contained in:
parent
4a759f9b55
commit
f5b737857f
6 changed files with 391 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
src = [
|
||||
'src/main.c',
|
||||
'src/adb/adb.c',
|
||||
'src/adb/adb_device.c',
|
||||
'src/adb/adb_parser.c',
|
||||
'src/adb/adb_tunnel.c',
|
||||
'src/cli.c',
|
||||
|
|
@ -221,6 +222,7 @@ if get_option('buildtype') == 'debug'
|
|||
tests = [
|
||||
['test_adb_parser', [
|
||||
'tests/test_adb_parser.c',
|
||||
'src/adb/adb_device.c',
|
||||
'src/adb/adb_parser.c',
|
||||
'src/util/str.c',
|
||||
'src/util/strbuf.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue