commit | de60aeb525d7201c634b185f137d5e4e591603d8 | [log] [tgz] |
---|---|---|
author | Paul Duffin <paulduffin@google.com> | Wed Mar 16 13:28:19 2022 +0000 |
committer | Paul Duffin <paulduffin@google.com> | Fri Mar 18 15:59:33 2022 +0000 |
tree | e68142605d465476f79796ece32606c6bc773d6a | |
parent | 4f192a156b200f3fc49bf4e71790c55f46a0daa1 [diff] |
Improve testing of mainline_modules_sdks.py Adds a test for a com.google name module and makes the structure of the test snapshot created by FakeSnapshotBuilder.create_snapshot_file() match the names used in an actual sdk snapshot. Bug: 218685706 Test: atest --host mainline_modules_sdks_test 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: Ia11cbb2da717218ba0b2da9a2238856dc8cebf8f
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.