avicii: consider lineage_avicii product via the AOSP way
Change-Id: Iab7b6c4d2817af88a133945df8fcc7fb964e35e9
This commit is contained in:
committed by
Philipp Albrecht
parent
679858f2aa
commit
cb399efb27
23
AndroidProducts.mk
Normal file
23
AndroidProducts.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# Copyright (C) 2018-2019 The LineageOS 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.
|
||||
#
|
||||
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/lineage_avicii.mk
|
||||
|
||||
COMMON_LUNCH_CHOICES := \
|
||||
lineage_avicii-eng \
|
||||
lineage_avicii-user \
|
||||
lineage_avicii-userdebug
|
||||
33
lineage_avicii.mk
Normal file
33
lineage_avicii.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
#
|
||||
# Copyright (C) 2018 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Inherit from those products. Most specific first.
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
|
||||
# Inherit from avicii device
|
||||
$(call inherit-product, device/oneplus/avicii/device.mk)
|
||||
|
||||
# Inherit some common Lineage stuff.
|
||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||
|
||||
PRODUCT_NAME := lineage_avicii
|
||||
PRODUCT_DEVICE := avicii
|
||||
PRODUCT_MANUFACTURER := OnePlus
|
||||
PRODUCT_BRAND := OnePlus
|
||||
PRODUCT_MODEL := AC2003
|
||||
|
||||
PRODUCT_SYSTEM_NAME := Nord
|
||||
PRODUCT_SYSTEM_DEVICE := Nord
|
||||
|
||||
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
PRIVATE_BUILD_DESC="Nord-user 12 RKQ1.211119.001 Q.202212051830:user release-keys" \
|
||||
TARGET_DEVICE=$(PRODUCT_SYSTEM_DEVICE) \
|
||||
TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
|
||||
|
||||
BUILD_FINGERPRINT := OnePlus/Nord/Nord:12/RKQ1.211119.001/Q.202212051830:user/release-keys
|
||||
Reference in New Issue
Block a user