Add Objects.requireNonNull to -convertchecknotnull rules The impact is quite modest, but seems harmless? ``` husky-trunk_staging-userdebug on git_main: Top 10 of 31 file size changes: Reference Presubmit Delta Delta (%) File 2.10 MiB 2.12 MiB +16.00 KiB +0.74% /system_other/product/priv-app/GoogleCamera/oat/arm64/GoogleCamera.art 924.00 KiB 920.00 KiB -4.00 KiB -0.43% /system/apex/com.google.android.rkpd.apex 89.24 MiB 89.24 MiB -4.00 KiB -0.00% /system_ext/priv-app/SettingsGoogle/SettingsGoogle.apk 28.00 KiB 24.00 KiB -4.00 KiB -14.29% /system/framework/oat/arm64/apex@com.android.healthfitness javalib@service-healthfitness.jar @classes.odex.fsv_meta 12.74 MiB 12.73 MiB -4.00 KiB -0.03% /system/apex/com.google.android.mediaprovider.capex 14.27 MiB 14.26 MiB -4.00 KiB -0.03% /system/apex/com.google.android.art.capex 3.16 MiB 3.16 MiB -4.70 KiB -0.15% /system/framework/arm64/boot.oat 22.60 MiB 22.59 MiB -11.14 KiB -0.05% /system/framework/services.jar 4.75 MiB 4.73 MiB -16.02 KiB -0.33% /system/framework/oat/arm64/apex@com.android.tethering javalib@service-connectivity.jar @classes.odex 2.01 MiB 1.99 MiB -16.04 KiB -0.78% /system/framework/oat/arm64/apex@com.android.healthfitness javalib@service-healthfitness.jar @classes.odex Compared builds: presubmit: ab/P108934844/husky-trunk_staging-userdebug reference: ab/14405691/husky-trunk_staging-userdebug ``` Bug: 411591173 Flags: EXEMPT UNSUPPORTED_LANGUAGE Change-Id: I0af979de985414e0e0c4876e43cfe3ad757d1946
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.