From 4bb6dd10e4cf7cc36a0f67b0f11dbb4d12d64a32 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sat, 13 Nov 2021 18:04:07 -0800 Subject: [PATCH] Add product Makefile for AOSP build preparation --- build/prepare_aosp.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 build/prepare_aosp.mk diff --git a/build/prepare_aosp.mk b/build/prepare_aosp.mk new file mode 100644 index 0000000..734748a --- /dev/null +++ b/build/prepare_aosp.mk @@ -0,0 +1,10 @@ +# Include this file from device.mk to prepare an AOSP build for adevtool referencestate collection. + +# Build the vendor image, so adevtool knows what's missing. +BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 + +# All overlays must be compiled as RROs so adevtool can parse them. +PRODUCT_ENFORCE_RRO_TARGETS := * + +# If you're building for a Pixel device, remove android.hardware.wifi@1.0-service +# from device.mk. adevtool will extract Google's implementation from the stock ROM.