commit | 2311f61b12b92edcccca57ab66d9c6682c8be4d5 | [log] [tgz] |
---|---|---|
author | Ulya Trafimovich <skvadrik@google.com> | Tue Jun 09 14:36:03 2020 +0100 |
committer | Ulya Trafimovich <skvadrik@google.com> | Thu Jun 11 10:10:00 2020 +0100 |
tree | 23544f202553f9dbff8c96876bad721f2f4baad6 | |
parent | 1d1bb3b94f602e8d70ccfb1831732b4437465274 [diff] |
Fix on-device paths to used libraries in dexpreopt. Also, add function `install-path-to-on-device-path` that converts its one argument from on-host install path to on-device path by stripping PRODUCT_OUT prefix. Test: lunch aosp_cf_x86_phone-userdebug && m Test: Cherry-pick in internal master and check that on-device path to com.google.android.dialer.support.jar now is on /product partition (as it should be) and not on /system: $ oatdump \ --instruction-set=x86 \ --oat-file=out/target/product/vsoc_x86/product/priv-app/GoogleDialer/oat/x86/GoogleDialer.odex \ | grep '^classpath' \ | grep -o '[^[]*com.google.android.dialer.support.jar' /product/framework/com.google.android.dialer.support.jar Bug: 132357300 Change-Id: I9bbe45ffbbed09186ac46e067da7ada599ef9678
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.