Refactor fullmte bits into common dir

Pull fullmte-common and fullmte-vars into a common dir so they can also
be used by other devices. See the topic changes for device/google/gs-common.

Bug: 288843255
Test: run soong for shiba_fullmte, build/flash husky_fullmte.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dc02c7176f592d00610ca5db3648f90194434c2d)
Merged-In: I6cc636596acff8b5234197fe26f85e27f7e85a62
Change-Id: I6cc636596acff8b5234197fe26f85e27f7e85a62
cherry-pick to udc-qpr-dev
This commit is contained in:
Mitch Phillips 2023-07-18 13:46:05 +02:00 committed by Cherrypicker Worker
parent 2e9b7bb522
commit da52e4dd7a
5 changed files with 3 additions and 12 deletions

View file

@ -1,5 +1,4 @@
include device/google/shusky/fullmte-vars.mk
include device/google/gs-common/mte/fullmte-pixel.mk
$(call inherit-product, device/google/shusky/aosp_husky.mk)
$(call inherit-product, device/google/shusky/fullmte-common.mk)
PRODUCT_NAME := aosp_husky_fullmte

View file

@ -1,5 +1,4 @@
include device/google/shusky/fullmte-vars.mk
include device/google/gs-common/mte/fullmte-pixel.mk
$(call inherit-product, device/google/shusky/aosp_ripcurrent.mk)
$(call inherit-product, device/google/shusky/fullmte-common.mk)
PRODUCT_NAME := aosp_ripcurrent_fullmte

View file

@ -1,5 +1,4 @@
include device/google/shusky/fullmte-vars.mk
include device/google/gs-common/mte/fullmte-pixel.mk
$(call inherit-product, device/google/shusky/aosp_shiba.mk)
$(call inherit-product, device/google/shusky/fullmte-common.mk)
PRODUCT_NAME := aosp_shiba_fullmte

View file

@ -1,2 +0,0 @@
BOARD_KERNEL_CMDLINE += bootloader.pixel.MTE_FORCE_ON
PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.default=sync

View file

@ -1,4 +0,0 @@
ifeq ($(filter memtag_heap,$(SANITIZE_TARGET)),)
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) memtag_heap memtag_stack)
SANITIZE_TARGET_DIAG := $(strip $(SANITIZE_TARGET_DIAG) memtag_heap)
endif