commit | 33376577bf9261868a97106373b8b40a654c43e2 | [log] [tgz] |
---|---|---|
author | Pranav Gupta <pranavgupta@google.com> | Tue Apr 18 22:29:26 2023 -0700 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Apr 25 00:16:16 2023 +0000 |
tree | 271bd5bc1b80db196cb64a17ed264681d37d2ab8 | |
parent | 3d2a5a168f2c23df2b26239cb49b0bbb13003d51 [diff] |
Remove MODULE_BUILD_FROM_SOURCE for gsi_release.mk The gsi_release.mk should be agnostic of AOSP or Android. In case of Android builds, modules should be prebuilt, however in the case of AOSP they can be built from source. This option should now be configured at the product makefile level Also update the shipping API to 34 Bug: 278607630 Test: TARGET_PRODUCT=gsi_arm64 TARGET_BUILD_VARIANT=userdebug build/soong/soong_ui.bash --dumpvar-mode MODULE_BUILD_FROM_SOURCE returns true TARGET_PRODUCT=gsi_arm64 TARGET_BUILD_VARIANT=userdebug MODULE_BUILD_FROM_SOURCE=false build/soong/soong_ui.bash --dumpvar-mode MODULE_BUILD_FROM_SOURCE returns false (cherry picked from https://android-review.googlesource.com/q/commit:105610bdf04b12404026e3b52f272688099eda93) Merged-In: I5937764d8df307ed7547363e6ba2742828779282 Change-Id: I5937764d8df307ed7547363e6ba2742828779282
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.