Add an additional layer of inheritance for `aosp_whitefin`, `aosp_whitefin_64`, `aosp_whitefin_pkvm`, and `aosp_whitefin_hwasan`. This change adds a common layer of inheritance for non-factory products (whitefin_generic.mk). This makes it easier to configure factory and non-factory products differently. Non-factory `whitefin` products now inherits from `device/google/raviole/whitefin_generic.mk` which inherit from `device/google/raviole/device-whitefin.mk`. aconfig flags: Flag: EXEMPT mechanical refactoring build flags: Flag: EXEMPT mechanical refactoring Bug: 338332183 Bug: 338332464 Test: lunch aosp_whitefin-trunk_staging-userdebug && m lunch aosp_whitefin_64-trunk_staging-userdebug && m lunch aosp_whitefin_pkvm-trunk_staging-userdebug && m lunch aosp_whitefin_hwasan-trunk_staging-userdebug && m Change-Id: I151d3e59141e566fad54f62ac01ab4372522fd5f
23 lines
875 B
Makefile
23 lines
875 B
Makefile
#
|
|
# 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/gs101/aosp_common.mk)
|
|
$(call inherit-product, device/google/raviole/whitefin_generic.mk)
|
|
|
|
PRODUCT_NAME := aosp_whitefin
|
|
PRODUCT_DEVICE := whitefin
|
|
PRODUCT_MODEL := AOSP on Whitefin
|
|
PRODUCT_BRAND := Android
|
|
PRODUCT_MANUFACTURER := Google
|