Convert appcompat.sh to a Python binary
Previously, to use `appcompat.sh`, we hardcoded absolute paths for many dependencies in the `build/core/definitions.mk` file, and the same was done in `art/tools/veridex/Android.mk`. This change converts `appcompat.sh` to `appcompat.py` and packages the necessary files into a `Python binary`. This not only resolves the issue of hardcoding absolute dependency paths but also allows users to use the tool directly without having to specify dependency paths, making it more convenient. Bug: 343105310 Test: 1. m appcompat 2. m CarrierConfig (any module with appcompat) 3. appcompat --dex-file=<apk path> Change-Id: I6215f42241f58ba7fc6f4ae5846c4b71d9c1be4f
Loading
Please register or sign in to comment