device_google_raviole/aosp_raven.mk
Nelson Li 0b36ca29a6 Refactor product inheritance for raven products
Add an additional layer of inheritance for `aosp_raven`,
`aosp_raven_64`, `aosp_raven_pkvm`, `aosp_raven_pgagnostic_64`,
`aosp_raven_hwasan`, and `aosp_raven_61`.

This change adds a common layer of inheritance for non-factory
products (raven_generic.mk). This makes it easier to configure
factory and non-factory products differently.

Non-factory `raven` products now inherits from
`device/google/raviole/raven_generic.mk` which inherit from
`device/google/raviole/device-raven.mk`.

aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring

Bug: 338005353
Test: lunch aosp_raven-trunk_staging-userdebug && m
      lunch aosp_raven_64-trunk_staging-userdebug && m
      lunch aosp_raven_pkvm-trunk_staging-userdebug && m
      lunch aosp_raven_pgagnostic_64-trunk_staging-userdebug && m
      lunch aosp_raven_hwasan-trunk_staging-userdebug && m
      lunch aosp_raven_61-trunk_staging-userdebug && m
Change-Id: Id5faed5a4be4c6480ee64654203d7f7e840c5c23
2024-05-06 01:10:49 +00:00

29 lines
1 KiB
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/raven_generic.mk)
PRODUCT_NAME := aosp_raven
PRODUCT_NAME_FOR_ATTESTATION := raven
PRODUCT_DEVICE := raven
PRODUCT_MODEL := AOSP on Raven
PRODUCT_MODEL_FOR_ATTESTATION := Pixel 6 Pro
PRODUCT_BRAND := Android
PRODUCT_BRAND_FOR_ATTESTATION := google
PRODUCT_MANUFACTURER := Google
PRODUCT_PACKAGES += com.android.vndk.current.on_vendor