commit | 6f55ef9b3ce9b138b96333cb7a21c166f5f128d0 | [log] [tgz] |
---|---|---|
author | Paul Duffin <paulduffin@google.com> | Wed Jul 20 11:11:21 2022 +0000 |
committer | Paul Duffin <paulduffin@google.com> | Wed Jul 20 14:47:29 2022 +0000 |
tree | 5b8e7139cc5a96073c3fc4c02252dcdb3b3a270a | |
parent | e4bda4027b51c4f178308ed376c41a5dfb332fa9 [diff] |
Pretty print metadata xml file to make it easier to read The process_compat_config.py script can generate two separate XML files. One for consumption by the device and a separate metadata XML file that are merged together and used for various tools and tests. In preparation for including the metadata into the sdk snapshot, which will be checked into git this change pretty prints the metadata to make it easier to read and review the differences. Forces the binary and test to use python3 as ElementTree.indent was only added in 3.9. Bug: 232401814 Test: atest --host process-compat-config-test CtsAppCompatHostTestCases Change-Id: I2c7efc68722eefeca397f7b4d257d5b0c0679920
Tools for Android App Compat (go/android-compat).
├── build # python helper scripts for build ├── java # All Java source files; directories follow corresponding java packages │ └── android │ ├── compat │ │ └── annotation # Annotations used for go/compat-framework and go/unsupportedappusage │ └── processor │ └── compat # Java annotation processors for annotations defined in src/ │ ├── changeid # Creates compat_config xml files from @ChangeId constants │ └── unsupportedappusage # Creates csv files with source positions for @UnsupportedAppUsage elements └── javatest # Tests for source files defined under java/