commit | fb7c801b6783e16c3d2dbdb4e50f69ec7f90e4bb | [log] [tgz] |
---|---|---|
author | Inseob Kim <inseob@google.com> | Wed Dec 09 23:09:14 2020 +0900 |
committer | Inseob Kim <inseob@google.com> | Wed Jan 06 10:41:45 2021 +0900 |
tree | 10f34f37562f692237ecef8c60df50d77ea782ce | |
parent | 4a632325a40da4e6e19686ff02e2e26dd81d0652 [diff] |
Support building mixed versions of sepolicy Now newer system policy and older vendor policy can be built together by setting following variables: - BOARD_SEPOLICY_VERS - BOARD_REQD_MASK_POLICY (copy of older system/sepolicy/reqd_mask) - BOARD_PLAT_VENDOR_POLICY (copy of older system/sepolicy/vendor) - BOARD_(SYSTEM_EXT|PRODUCT)_(PUBLIC|PRIVATE)_PREBUILT_DIRS (copy of older system_ext and product policies) Bug: 168159977 Test: try normal build and mixed build Test: boot and check selinux denials Change-Id: I4e2890c96cab69e60c83c60f8c396cfe049ec05b
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.