2021-01-26 13:27:03 +01:00
|
|
|
#
|
|
|
|
|
# Copyright (C) 2021 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.
|
|
|
|
|
#
|
|
|
|
|
|
2021-06-14 09:03:12 +02:00
|
|
|
## Inherit from generic products, most specific first
|
2021-01-26 13:27:03 +01:00
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
2022-08-24 15:40:22 +02:00
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/non_ab_device.mk)
|
2021-06-14 09:03:12 +02:00
|
|
|
|
|
|
|
|
## Product API level
|
2021-01-26 13:27:03 +01:00
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
|
|
|
|
|
|
2021-06-14 09:03:12 +02:00
|
|
|
## Inscreen Fingerprint HAL
|
2021-03-24 11:31:42 +01:00
|
|
|
TARGET_HAVE_FOD := true
|
|
|
|
|
|
2022-02-18 16:25:39 +01:00
|
|
|
## S Pen
|
|
|
|
|
TARGET_HAVE_SPEN := true
|
|
|
|
|
|
2021-06-20 18:58:30 +02:00
|
|
|
## Inherit from d1 device
|
|
|
|
|
$(call inherit-product, device/samsung/d1/device.mk)
|
2021-01-26 13:27:03 +01:00
|
|
|
|
2021-06-14 09:03:12 +02:00
|
|
|
## Boot Animation
|
2016-11-12 15:48:17 -07:00
|
|
|
TARGET_BOOTANIMATION_HALF_RES := true
|
2021-06-20 18:58:30 +02:00
|
|
|
TARGET_SCREEN_HEIGHT := 2280
|
|
|
|
|
TARGET_SCREEN_WIDTH := 1080
|
2021-01-26 13:27:03 +01:00
|
|
|
|
2021-06-14 09:03:12 +02:00
|
|
|
## Inherit some common Lineage stuff
|
2021-01-26 13:27:03 +01:00
|
|
|
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
|
|
|
|
|
2021-06-14 09:03:12 +02:00
|
|
|
## Device identifier, this must come after all inclusions
|
2021-06-20 18:58:30 +02:00
|
|
|
PRODUCT_NAME := lineage_d1
|
|
|
|
|
PRODUCT_DEVICE := d1
|
2021-01-26 13:27:03 +01:00
|
|
|
PRODUCT_BRAND := samsung
|
2021-06-20 18:58:30 +02:00
|
|
|
PRODUCT_MODEL := SM-N970F
|
2021-01-26 13:27:03 +01:00
|
|
|
PRODUCT_MANUFACTURER := samsung
|
2021-06-14 09:03:12 +02:00
|
|
|
|
2021-01-26 13:27:03 +01:00
|
|
|
PRODUCT_GMS_CLIENTID_BASE := android-samsung
|