зеркало из https://github.com/mozilla/gecko-dev.git
4cef0c49f7
In `verify_android_device`, when `debugger` is true, we setup `lldb-server`. We also add a new method, `run_lldb_server`, for actually starting `lldb-server`. Both cases call into a new function, `_setup_or_run_lldb_server`. For setup functionality, this function copies `lldb-server` to the device and then sets up its perms within the target app's data directory. For run functionality, this function sets some environment variables and (re)creates directories and log files as needed. Finally it starts the server and returns to the caller the absolute path to the socket file on the device. The client provides that path to `lldb` in order to connect to the server. Both cases use `ADBDevice.batch_execute` to run several commands. The `LLDB_SERVER_INSTALL_COMMANDS_SCRIPT` and `LLDB_SERVER_START_COMMAND_SCRIPT` commands are intended to produce the same result as the `start_lldb_server.sh` script that is provided by Android SDK. Differential Revision: https://phabricator.services.mozilla.com/D94383 |
||
---|---|---|
.. | ||
mozrunner | ||
tests | ||
setup.cfg | ||
setup.py |