blob: 6e8daccc134a05770bb172f609d36066e1e45e8b [file] [log] [blame]
Chris Fries9c305b22017-06-27 12:37:49 -05001#
2# Copyright 2016 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
SzuWei Lin60171c92019-08-01 17:55:01 +080017#
18# All components inherited here go to system image
19#
Chris Fries9c305b22017-06-27 12:37:49 -050020$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
JaeMandaa03ce2020-07-14 01:47:07 +000021$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
Chris Fries9c305b22017-06-27 12:37:49 -050022
SzuWei Lin60171c92019-08-01 17:55:01 +080023# Enable mainline checking
24# TODO(b/138706293): enable Enable mainline checking later
25#PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
26
SzuWei Lin60171c92019-08-01 17:55:01 +080027#
Justin Yune7f006f2019-11-15 16:08:00 +090028# All components inherited here go to system_ext image
29#
30$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
31$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
32
33#
SzuWei Lin60171c92019-08-01 17:55:01 +080034# All components inherited here go to product image
35#
36$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
37
38#
39# All components inherited here go to vendor image
40#
41# TODO(b/136525499): move *_vendor.mk into the vendor makefile later
42$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk)
43$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk)
Chris Fries9c305b22017-06-27 12:37:49 -050044$(call inherit-product, device/google/crosshatch/device-crosshatch.mk)
45$(call inherit-product-if-exists, vendor/google_devices/crosshatch/proprietary/device-vendor.mk)
46
Raman Tennetia1ba8e02020-11-11 08:24:53 -080047PRODUCT_SOONG_NAMESPACES += \
48 vendor/google_devices/crosshatch/proprietary/hardwareinfo
49
Anton Hansson6f5e9bd2019-03-29 13:59:19 +000050PRODUCT_COPY_FILES += $(LOCAL_PATH)/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml
Chris Fries9c305b22017-06-27 12:37:49 -050051
Chris Friesaa10af72018-09-07 16:49:21 +000052# STOPSHIP deal with Qualcomm stuff later
53# PRODUCT_RESTRICT_VENDOR_FILES := all
Chris Fries9c305b22017-06-27 12:37:49 -050054
Bill Yi0d9770f2021-05-27 21:38:46 -070055# b/189477034: Bypass build time check on uses_libs until vendor fixes all their apps
56PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true
57
Yo Chiang100f06d2020-08-11 13:20:51 +080058# Keep the VNDK APEX in /system partition for REL branches as these branches are
Yo Chiang7356fcb2020-08-10 16:44:29 +080059# expected to have stable API/ABI surfaces.
60ifneq (REL,$(PLATFORM_VERSION_CODENAME))
61 PRODUCT_PACKAGES += com.android.vndk.current.on_vendor
62endif
SzuWei Lin60171c92019-08-01 17:55:01 +080063
Chris Fries9c305b22017-06-27 12:37:49 -050064PRODUCT_MANUFACTURER := Google
Chris Fries9c305b22017-06-27 12:37:49 -050065PRODUCT_NAME := aosp_crosshatch
66PRODUCT_DEVICE := crosshatch
SzuWei Lin60171c92019-08-01 17:55:01 +080067PRODUCT_BRAND := Android
Chris Fries9c305b22017-06-27 12:37:49 -050068PRODUCT_MODEL := AOSP on crosshatch