diff --git a/AndroidProducts.mk b/AndroidProducts.mk new file mode 100644 index 0000000..38eed06 --- /dev/null +++ b/AndroidProducts.mk @@ -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 diff --git a/lineage_avicii.mk b/lineage_avicii.mk new file mode 100644 index 0000000..81d123d --- /dev/null +++ b/lineage_avicii.mk @@ -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