Chris Fries | 9c305b2 | 2017-06-27 12:37:49 -0500 | [diff] [blame] | 1 | # |
| 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 Lin | 60171c9 | 2019-08-01 17:55:01 +0800 | [diff] [blame] | 17 | # |
| 18 | # All components inherited here go to system image |
| 19 | # |
Chris Fries | 9c305b2 | 2017-06-27 12:37:49 -0500 | [diff] [blame] | 20 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) |
JaeMan | daa03ce | 2020-07-14 01:47:07 +0000 | [diff] [blame] | 21 | $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) |
Chris Fries | 9c305b2 | 2017-06-27 12:37:49 -0500 | [diff] [blame] | 22 | |
SzuWei Lin | 60171c9 | 2019-08-01 17:55:01 +0800 | [diff] [blame] | 23 | # Enable mainline checking |
| 24 | # TODO(b/138706293): enable Enable mainline checking later |
| 25 | #PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed |
| 26 | |
SzuWei Lin | 60171c9 | 2019-08-01 17:55:01 +0800 | [diff] [blame] | 27 | # |
Justin Yun | e7f006f | 2019-11-15 16:08:00 +0900 | [diff] [blame] | 28 | # 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 Lin | 60171c9 | 2019-08-01 17:55:01 +0800 | [diff] [blame] | 34 | # 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 Fries | 9c305b2 | 2017-06-27 12:37:49 -0500 | [diff] [blame] | 44 | $(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 Tenneti | a1ba8e0 | 2020-11-11 08:24:53 -0800 | [diff] [blame] | 47 | PRODUCT_SOONG_NAMESPACES += \ |
| 48 | vendor/google_devices/crosshatch/proprietary/hardwareinfo |
| 49 | |
Anton Hansson | 6f5e9bd | 2019-03-29 13:59:19 +0000 | [diff] [blame] | 50 | PRODUCT_COPY_FILES += $(LOCAL_PATH)/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml |
Chris Fries | 9c305b2 | 2017-06-27 12:37:49 -0500 | [diff] [blame] | 51 | |
Chris Fries | aa10af7 | 2018-09-07 16:49:21 +0000 | [diff] [blame] | 52 | # STOPSHIP deal with Qualcomm stuff later |
| 53 | # PRODUCT_RESTRICT_VENDOR_FILES := all |
Chris Fries | 9c305b2 | 2017-06-27 12:37:49 -0500 | [diff] [blame] | 54 | |
Bill Yi | 0d9770f | 2021-05-27 21:38:46 -0700 | [diff] [blame] | 55 | # b/189477034: Bypass build time check on uses_libs until vendor fixes all their apps |
| 56 | PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true |
| 57 | |
Yo Chiang | 100f06d | 2020-08-11 13:20:51 +0800 | [diff] [blame] | 58 | # Keep the VNDK APEX in /system partition for REL branches as these branches are |
Yo Chiang | 7356fcb | 2020-08-10 16:44:29 +0800 | [diff] [blame] | 59 | # expected to have stable API/ABI surfaces. |
| 60 | ifneq (REL,$(PLATFORM_VERSION_CODENAME)) |
| 61 | PRODUCT_PACKAGES += com.android.vndk.current.on_vendor |
| 62 | endif |
SzuWei Lin | 60171c9 | 2019-08-01 17:55:01 +0800 | [diff] [blame] | 63 | |
Chris Fries | 9c305b2 | 2017-06-27 12:37:49 -0500 | [diff] [blame] | 64 | PRODUCT_MANUFACTURER := Google |
Chris Fries | 9c305b2 | 2017-06-27 12:37:49 -0500 | [diff] [blame] | 65 | PRODUCT_NAME := aosp_crosshatch |
| 66 | PRODUCT_DEVICE := crosshatch |
SzuWei Lin | 60171c9 | 2019-08-01 17:55:01 +0800 | [diff] [blame] | 67 | PRODUCT_BRAND := Android |
Chris Fries | 9c305b2 | 2017-06-27 12:37:49 -0500 | [diff] [blame] | 68 | PRODUCT_MODEL := AOSP on crosshatch |