commit | 95cbd16363a97aedf6a354448a19d11fd0b7ea0f | [log] [tgz] |
---|---|---|
author | Michael Bestas <mikeioannina@gmail.com> | Thu Feb 19 14:29:21 2015 +0200 |
committer | LuK1337 <priv.luk@gmail.com> | Sat Oct 19 00:16:01 2024 +0200 |
tree | ad8041e8c282702e888f366123dfaa3326cefea1 | |
parent | 27376ac8ddfc16b2ed997fe3efc35e101a9a4e43 [diff] |
Don't enable ADB by default on userdebug builds Squashed with the following commits: Author: Scott Mertz <scott@cyngn.com> Date: Thu Feb 26 10:51:44 2015 -0800 Enable ADB by default when ro.adb.secure is not 1 * Property ro.build.type is not part of the default.prop we can't use this to decide how to apply adb by default within this function Change-Id: Ib3eb24c655353966d64c7148d7530244b628ce94 Author: LibXZR <i@xzr.moe> Date: Sat Apr 30 16:29:35 2022 +0800 tools: Let adb secure check depend on "==0" rather than "!=1" We are using PRODUCT_SYSTEM_DEFAULT_PROPERTIES to set `ro.adb.secure` property. But unfortunately this flag only affect system partition, which means in other partitions e.g. vendor and system_ext `ro.adb.secure` stays empty. Thus `persist.sys.usb.config=adb` is unconditionally set in partitions other than system, which lead to adb enabled by default even on user build. Change-Id: I1f8b463b3ec645309369f36014bed556e75ed210 Signed-off-by: LibXZR <i@xzr.moe> Change-Id: I33ae5c6f2787017a62e679aa0c28d4b909d45935
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.