commit | 1956e77922b71c440bdff0cf4cbcc049d0b9088f | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Sat Sep 30 23:24:09 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Sat Sep 30 23:24:09 2023 +0000 |
tree | 5343a138ed8d4cdd0202c66cae4d94bd04139128 | |
parent | 56091b250f198b7d96771f2f8f56f1e0b0d0b27a [diff] | |
parent | 0d59375f6eb5bc1ad6248266bc03e6b78704fda7 [diff] |
Snap for 10885733 from 0d59375f6eb5bc1ad6248266bc03e6b78704fda7 to 24D1-release Change-Id: I326435a427fcb74ce9fea506f46d0f0e54f5e952
This directory contains the prebuilt binaries for rr. These binaries come from aosp-rr-dev. See toolchain/rr/android/README.md for information about how to build and update that project.
To update the prebuilt binaries in this directory to a newer version from ci.android.com, run:
$ ./update.sh $BUILD_ID
$BUILD_ID
is optional. If omitted, the latest completed build will be used.
The development environment is managed using Poetry. If you need to make a non-trivial change you will want to install that so you can run the linters, formatters, and tests. Once installed, run poetry install
in this directory to install the development dependencies.
Run the type checker and linter with make lint
.
Auto-format the code with make format
.
Run the tests with make test
Run all of the above with make check
or just make
.
New dependencies can be added with poetry add <name>
or removed with poetry add <name>
. Updating a dependency to a newer version is also done with poetry add
.
Whenever dependencies are updated, run poetry export --without-hashes --output requirements.txt
to update the requirements.txt file. That file is used by update.sh so poetry is only needed by developers of update.py, not callers. Note that poetry does not generate the correct output for the local fetchartifact dependency, so after running export, you'll need to manually fix that line.