Add aosp_(oriole|raven)_hwasan products.

Test: lunch aosp_oriole_hwasan && m
Test: lunch aosp_raven_hwasan && m
Change-Id: I3a411357c5618008daf35a971b65a0365fef6858
This commit is contained in:
Evgenii Stepanov 2021-11-08 12:54:12 -08:00
parent 011b969d81
commit e0f04e3fcc
3 changed files with 48 additions and 0 deletions

View file

@ -16,10 +16,12 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_oriole.mk \
$(LOCAL_DIR)/aosp_oriole_hwasan.mk \
$(LOCAL_DIR)/aosp_oriole_pkvm.mk \
$(LOCAL_DIR)/aosp_oriole_64.mk \
$(LOCAL_DIR)/factory_oriole.mk \
$(LOCAL_DIR)/aosp_raven.mk \
$(LOCAL_DIR)/aosp_raven_hwasan.mk \
$(LOCAL_DIR)/aosp_raven_pkvm.mk \
$(LOCAL_DIR)/aosp_raven_64.mk \
$(LOCAL_DIR)/factory_raven.mk \

23
aosp_oriole_hwasan.mk Normal file
View file

@ -0,0 +1,23 @@
#
# Copyright 2021 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
$(call inherit-product, device/google/raviole/aosp_oriole.mk)
PRODUCT_NAME := aosp_oriole_hwasan
# Add "hwaddress" as a global sanitizer if it's missing.
ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),)
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress)
endif

23
aosp_raven_hwasan.mk Normal file
View file

@ -0,0 +1,23 @@
#
# Copyright 2021 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
$(call inherit-product, device/google/raviole/aosp_raven.mk)
PRODUCT_NAME := aosp_raven_hwasan
# Add "hwaddress" as a global sanitizer if it's missing.
ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),)
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress)
endif