| commit | dc0c4c5d3f8e0c316eff60bcc5483bf792ec2acc | [log] [tgz] |
|---|---|---|
| author | Paul Duffin <paulduffin@google.com> | Thu Mar 17 18:23:55 2022 +0000 |
| committer | Paul Duffin <paulduffin@google.com> | Mon Mar 21 12:53:16 2022 +0000 |
| tree | 2923b8e1b25e5785cc4373cdb3176e9a7894d364 | |
| parent | 14c6bd8c38632da95b82218c825ee68cd46a97dd [diff] |
Extract unzip_current_stubs from SdkDistProducer
A minor refactoring that generalizes the method, making it usable for
other cases and decouples it from SdkDistProducer and SnapshotBuilder.
Bug: 218685706
Test: atest --host mainline_modules_sdks_test
packages/modules/common/build/mainline_modules_sdks.sh
pyformat -s 4 --force_quote_type double -i build/mainline_modules_sdks*.py
/usr/bin/pylint --rcfile $ANDROID_BUILD_TOP/tools/repohooks/tools/pylintrc build/mainline_modules_sdks*.py
Change-Id: I885b7d0e792691f7028cdfb91e72896be48333a1
This project includes mainline build and other utility code. Any library code intended for use by modules should go in frameworks/libs/modules-utils instead.
This project uses a single source path for java code. All java code should go in the java directory with subdirectories corresponding to the java package. Android.bp files should go alongside the java source files, and should only include java source for a single java package to encourage good code hygiene.
Tests for java code should go in the javatests directory and follow the same structure.