Skip to content

Commit

Permalink
Add product definition for aosp_sunfish_hwasan.
Browse files Browse the repository at this point in the history
Bug: 173814644
Test: lunch aosp_sunfish_hwasan-userdebug

Change-Id: Iec0c4b4f874b35cab082ebeb670dcb57a895b4c7
  • Loading branch information
eugenis committed Nov 24, 2020
1 parent bdbad4b commit b866d43
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions AndroidProducts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_sunfish.mk \
$(LOCAL_DIR)/aosp_sunfish_hwasan.mk \

COMMON_LUNCH_CHOICES := \
aosp_sunfish-userdebug \
23 changes: 23 additions & 0 deletions aosp_sunfish_hwasan.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# Copyright 2020 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/sunfish/aosp_sunfish.mk)
PRODUCT_NAME := aosp_sunfish_hwasan

# Add "hwaddress" as a global sanitizer if it's missing.
ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),)
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress)
endif

0 comments on commit b866d43

Please sign in to comment.