summaryrefslogtreecommitdiff
path: root/scripts/manifest.py
AgeCommit message (Collapse)Author
2024-12-04Remove __future__ references from python scripts Cole Faust
All these scripts are now python3-only, they don't need this. Test: Presubmits Change-Id: Id2b9db26a537f6d70e874a0ae2ceb0927cbdce7d
2024-09-13Support multiple <application> or <uses-sdk> elements in manifest_*.py Colin Cross
Manifests may now have multiple copies of elements if they are disambiguated with android:featureFlag attributes. Remove the restrictions on duplicate elements from manifest_check.py and manifest_fixer.py, and instead iterate over all matching elements. Test: manifest_check_test.py, manifest_fixer_test.py Bug: 365170653 Flag: EXEMPT bugfix Change-Id: Ib577439d03a808a20a5fcc3e15a3117e0970d729
2024-09-11Fix manifest_fixer.py warnings Colin Cross
Fix a few warnings showing up in manifest_*.py Test: manifest_fixer_test.py Test: manifest_check_test.py Flag: EXEMPT refactor Change-Id: I144100d6d4aa7f5dff7eec79b4bd2d9d5da52153
2021-11-10Convert soong scripts to python 3 Cole Faust
Except manifest_utils, which is used by apexer. Tests run: m construct_context_test manifest_check_test manifest_fixer_test test_config_fixer_test out/host/linux-x86/testcases/construct_context_test/x86_64/construct_context_test out/host/linux-x86/testcases/manifest_check_test/x86_64/manifest_check_test out/host/linux-x86/testcases/manifest_fixer_test/x86_64/manifest_fixer_test out/host/linux-x86/testcases/test_config_fixer_test/x86_64/test_config_fixer_test Bug: 203436762 Test: Tests listed above + presubmits Change-Id: Ife75b3af1efc871a2d8521d26153a262573bb706
2019-12-05Optionally overwrite package value in test config. Jaewoong Jung
If package_name is set for an android_test module, package names in its AndroidTest.xml config need to be updated too. Test: test_config_fixer_test.py Fixes: 145011263 Change-Id: I52f17ef1d1902364b9bcfec4f6e246bd655dbf09
2019-05-24Add manifest_check tool Colin Cross
Add a tool that can check that the <uses-library> tags in an AndroidManifest.xml file match a list provided by the build. Bug: 132357300 Test: manifest_check_test Change-Id: If15abf792282bef677469595e80f19923b87ab62