blob: e86c7cc42d36fc38b91e4c007e8f1204cfe17199 [file] [log] [blame]
maxwen5a1ca782022-11-21 20:47:11 +01001#
2# Copyright 2020 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
17# Get the prebuilt list of APNs
18$(call inherit-product, vendor/omni/config/gsm.mk)
19
maxwen25384752023-02-13 02:09:20 +010020DEVICE_PACKAGE_OVERLAYS += device/google/oriole/overlay
21
maxwen5a1ca782022-11-21 20:47:11 +010022TARGET_BOOTANIMATION_SIZE := 1080p
23
24$(call inherit-product, vendor/omni/config/common.mk)
25$(call inherit-product, device/google/gs101/device-omni.mk)
26$(call inherit-product, device/google/raviole/aosp_oriole.mk)
27
28PRODUCT_NAME := omni_oriole
maxwen7211df92023-11-02 18:53:56 +010029PRODUCT_MODEL := Pixel 6
30PRODUCT_BRAND := google
maxwen5a1ca782022-11-21 20:47:11 +010031
32PRODUCT_BUILD_PROP_OVERRIDES += \
maxwen7211df92023-11-02 18:53:56 +010033 TARGET_PRODUCT=oriole \
maxwen837558b2023-12-09 02:34:00 +010034 PRIVATE_BUILD_DESC="oriole-user 14 UQ1A.231205.015 11084887 release-keys"
maxwen5a1ca782022-11-21 20:47:11 +010035
maxwen08598162022-12-13 21:41:39 +010036# defined in vendor/google_devices/oriole/proprietary/device-vendor.mk
maxwen837558b2023-12-09 02:34:00 +010037BUILD_FINGERPRINT := google/oriole/oriole:14/UQ1A.231205.015/11084887:user/release-keys
maxwen5a1ca782022-11-21 20:47:11 +010038
39PRODUCT_RESTRICT_VENDOR_FILES := false
40
maxwen6ba8c512023-10-25 00:01:17 +020041PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := false
42
maxwen5a1ca782022-11-21 20:47:11 +010043# for bringup to disable secure adb - copy adbkey.pub from ~/.android
44#PRODUCT_ADB_KEYS := device/google/raviole/adbkey.pub
45#PRODUCT_PACKAGES += \
46 adb_keys
47
48#BOARD_BOOTCONFIG += androidboot.selinux=permissive
49#BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
50
maxwen6eea29c2024-01-17 17:17:35 +010051# Kernel
52TARGET_PREBUILT_KERNEL := device/google/raviole-kernel/Image.lz4
53
maxwen5a1ca782022-11-21 20:47:11 +010054# HBM
maxwenf61c3fc2022-12-14 15:14:19 +010055PRODUCT_COPY_FILES += \
maxwen5a1ca782022-11-21 20:47:11 +010056 device/google/raviole/permissions/permissions_com.android.hbmsvmanager.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/permissions_com.android.hbmsvmanager.xml
57
maxwenf61c3fc2022-12-14 15:14:19 +010058PRODUCT_PACKAGES += \
maxwen5a1ca782022-11-21 20:47:11 +010059 HbmSVManagerOverlay
60
61# euicc from stock
62PRODUCT_COPY_FILES += \
63 device/google/raviole/permissions/permissions_com.google.android.euicc.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/permissions_com.google.android.euicc.xml
maxwen08598162022-12-13 21:41:39 +010064
maxwen837558b2023-12-09 02:34:00 +010065# Pixel Camera Services / Camera extensions
66PRODUCT_COPY_FILES += \
67 device/google/raviole/permissions/permissions_com.google.android.apps.camera.services.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/permissions_com.google.android.apps.camera.services.xml
68
maxwen1a7b7d42023-10-24 15:40:43 +020069# For Google Camera
maxwen5a1ca782022-11-21 20:47:11 +010070PRODUCT_COPY_FILES += \
maxwen1a7b7d42023-10-24 15:40:43 +020071 device/google/raviole/the_experiences.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/the_experiences.xml
maxwen08598162022-12-13 21:41:39 +010072
maxwenaa4b6e72023-10-24 23:47:38 +020073# wireless_charger HAL service
74include device/google/gs-common/wireless_charger/wireless_charger.mk