aboutsummaryrefslogtreecommitdiff
path: root/scripts/hiddenapi/generate_hiddenapi_lists_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Patch to fix Aug train issue with tethering"Paul Duffin2022-07-281-2/+2
| | | | | | | | | | | | | Revert "[automerge] Patch to fix Aug train issue with tethering ..." Revert submission 19432194-presubmit-am-5e598b33be884d9f98a29ce1c3c575fb Reason for revert: Not needed in tm-mainline-prod and breaks bluetooth. Reverted Changes: I57969b85a:Patch to fix Aug train issue with tethering Ie6560f201:[automerge] Patch to fix Aug train issue with teth... Change-Id: If44d16a00847a554862aa139c04370ad30166c74
* Patch to fix Aug train issue with tetheringPaul Duffin2022-07-281-2/+2
| | | | | | | | | | | | | | | A temporary patch to fix issues with the tethering module sdk in the August train. This will be reverted immediately and only used for specific builds for the August train and possibly the September train if this has not been fixed properly by then. The proper fix will be implemented under b/238472881. This patch removes framework-tethering-t from the snapshot's Android.bp file and removes its effect on the hidden API flag files too. Bug: 238472881 Test: build train Change-Id: I57969b85a12e9e5a3fc76c055b260cec5d5f7d7f
* Apply pylint to scripts/hiddenapi/generate_hiddenapi_lists*Spandan Das2021-08-271-28/+41
| | | | | | | | | | | | | | | | 1. Run pyformat scripts/hiddenapi/generate_hiddenapi_lists.py -s 4 --force_quote_type none -i to fix formatting. Some double quotes change to single quotes since pyformat enforces consistent quotes 2. change map/filter to list comprehension to fix pylint's bad-builtin warning 3. use pylint: disable=<X> where fixes are not obvious Test: m generate_hiddenapi_lists_test Test: pylint --rcfile tools/repohooks/tools/pylintrc <file1> <file1_test> Bug: 195738175 Change-Id: I15e71d8d81f0e3fa66d84e6e62eb1848963136e6
* Add target for generate_hiddenapi_lists_testPaul Duffin2021-07-201-1/+1
| | | | | | | | | atest generate_hiddenapi_lists_test would not work without setting verbosity=2. Bug: 194063708 Test: atest --host generate_hiddenapi_lists_test Change-Id: Ic076ea85d58917921081ae33e72f06011c4ca49e
* Move hiddenapi tools used by build/soong from frameworks/basePaul Duffin2021-02-091-0/+104
Also, creates a python_binary_host module for generate_hiddenapi_lists and uses that when constructing the build rule rather than using the file directly. Bug: 177317659 Test: m droid Verified that hiddenapi files (both aggregated ones and for the individual modules) are not affected by this change. Change-Id: Ia11bb203ce5a74740d35f1b7e86716e15aad336e