dre: initial setup to support aosp
Change-Id: I17da1754471e38c8bd8e2c278ba595d5acaa8f4d
This commit is contained in:
parent
0f35477155
commit
13671d04c5
4 changed files with 50 additions and 30 deletions
|
@ -15,4 +15,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PRODUCT_MAKEFILES := \
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/aosp_dre.mk \
|
||||||
$(LOCAL_DIR)/lineage_dre.mk
|
$(LOCAL_DIR)/lineage_dre.mk
|
||||||
|
|
||||||
|
COMMON_LUNCH_CHOICES := \
|
||||||
|
aosp_dre-trunk_staging-user \
|
||||||
|
aosp_dre-trunk_staging-userdebug \
|
||||||
|
aosp_dre-trunk_staging-eng
|
||||||
|
|
34
aosp_dre.mk
Normal file
34
aosp_dre.mk
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
#
|
||||||
|
# Copyright 2015 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Inherit from the common Open Source product configuration
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||||
|
TARGET_SUPPORTS_OMX_SERVICE := false
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||||
|
|
||||||
|
PRODUCT_NAME := aosp_dre
|
||||||
|
PRODUCT_DEVICE := dre
|
||||||
|
PRODUCT_BRAND := OnePlus
|
||||||
|
PRODUCT_MODEL := AOSP on dre
|
||||||
|
PRODUCT_MANUFACTURER := OnePlus
|
||||||
|
PRODUCT_RESTRICT_VENDOR_FILES := false
|
||||||
|
|
||||||
|
$(call inherit-product, device/oneplus/dre/device.mk)
|
||||||
|
$(call inherit-product, vendor/oneplus/dre/dre-vendor.mk)
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
Launcher3QuickStep
|
||||||
|
|
10
device.mk
10
device.mk
|
@ -96,10 +96,6 @@ PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
|
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
|
||||||
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
|
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
|
||||||
|
|
||||||
# Boot animation
|
|
||||||
TARGET_SCREEN_HEIGHT := 2400
|
|
||||||
TARGET_SCREEN_WIDTH := 1080
|
|
||||||
|
|
||||||
# Boot control
|
# Boot control
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.boot-service.qti \
|
android.hardware.boot-service.qti \
|
||||||
|
@ -243,9 +239,6 @@ PRODUCT_COPY_FILES += \
|
||||||
$(call inherit-product, hardware/oplus/overlay/generic/generic.mk)
|
$(call inherit-product, hardware/oplus/overlay/generic/generic.mk)
|
||||||
$(call inherit-product, hardware/oplus/overlay/qssi/qssi.mk)
|
$(call inherit-product, hardware/oplus/overlay/qssi/qssi.mk)
|
||||||
|
|
||||||
DEVICE_PACKAGE_OVERLAYS += \
|
|
||||||
$(LOCAL_PATH)/overlay-lineage
|
|
||||||
|
|
||||||
PRODUCT_ENFORCE_RRO_TARGETS := *
|
PRODUCT_ENFORCE_RRO_TARGETS := *
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
CarrierConfigResCommon \
|
CarrierConfigResCommon \
|
||||||
|
@ -406,6 +399,3 @@ PRODUCT_COPY_FILES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
firmware_wlan_mac.bin_symlink \
|
firmware_wlan_mac.bin_symlink \
|
||||||
firmware_WCNSS_qcom_cfg.ini_symlink
|
firmware_WCNSS_qcom_cfg.ini_symlink
|
||||||
|
|
||||||
# Get non-open-source specific aspects
|
|
||||||
$(call inherit-product, vendor/oneplus/dre/dre-vendor.mk)
|
|
||||||
|
|
|
@ -1,34 +1,24 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2021-2023 The LineageOS Project
|
# Copyright (C) 2021-2023 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# 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.
|
|
||||||
#
|
#
|
||||||
|
|
||||||
# Inherit from those products. Most specific first.
|
# Inherit from aosp_dre.
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
$(call inherit-product, device/oneplus/dre/aosp_dre.mk)
|
||||||
TARGET_SUPPORTS_OMX_SERVICE := false
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
|
||||||
|
|
||||||
# Inherit from dre device
|
# Boot animation
|
||||||
$(call inherit-product, device/oneplus/dre/device.mk)
|
TARGET_SCREEN_HEIGHT := 2400
|
||||||
|
TARGET_SCREEN_WIDTH := 1080
|
||||||
|
|
||||||
|
# Overlays
|
||||||
|
DEVICE_PACKAGE_OVERLAYS += \
|
||||||
|
$(LOCAL_PATH)/overlay-lineage
|
||||||
|
|
||||||
# Inherit some common Lineage stuff.
|
# Inherit some common Lineage stuff.
|
||||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||||
|
|
||||||
PRODUCT_NAME := lineage_dre
|
PRODUCT_NAME := lineage_dre
|
||||||
PRODUCT_DEVICE := dre
|
|
||||||
PRODUCT_MANUFACTURER := OnePlus
|
|
||||||
PRODUCT_BRAND := OnePlus
|
|
||||||
PRODUCT_MODEL := DE2117
|
PRODUCT_MODEL := DE2117
|
||||||
|
|
||||||
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
||||||
|
|
Loading…
Reference in a new issue