commit | bb13bbb0867e6a501390775b457c63cfcbe2f06d | [log] [tgz] |
---|---|---|
author | Dennis Shen <dzshen@google.com> | Thu Mar 21 01:36:41 2024 +0000 |
committer | Dennis Shen <dzshen@google.com> | Thu Mar 21 01:44:02 2024 +0000 |
tree | edbb31709ff09288478a6ddcb699fea340d471f9 | |
parent | 497f02d8c0208790f112aad79ed814f7147a0e42 [diff] |
aconfig: update aconfig_storage_read_api Previously we are ensuring that the public rust api to get mapped file is safe as we are ensuring that the file being mapped has a permission of 444. However, a file permission of 444 is not possible due to build system needs to make file 644 while creating img files. Thus need to make the rust api to get mapped file unsafe. In reality, this should have no impact. Because, even though the storage files have a file permission of 644, they are on a RO partition like system. So the files are not writable anyway. This is true for all the containers (platform partitions and mainline modules) we know so far. Bug: b/321077378 Test: atest aconfig_storage_read_api.test; atest aconfig_storage_read_api.test.rust; atest aconfig_storage_read_api.test.cpp Change-Id: I643fe191e697a524e2303a32750f04c268f408fd
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.