-
Notifications
You must be signed in to change notification settings - Fork 9
/
omni_dipper.mk
30 lines (25 loc) · 1.15 KB
/
omni_dipper.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Inherit from the common Open Source product configuration
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) # If you are building for a phone
# Inherit from those products. Most specific first.
#$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk) # If you are building for a tablet
## Device identifier. This must come after all inclusions
PRODUCT_NAME := omni_dipper
PRODUCT_DEVICE := dipper
PRODUCT_BRAND := Xiaomi
PRODUCT_MODEL := MI 8
PRODUCT_MANUFACTURER := Xiaomi
# If needed to overide these props
PRODUCT_BUILD_PROP_OVERRIDES += \
BUILD_FINGERPRINT="Xiaomi/dipper/dipper:8.1.0/OPM1.180713.011/8.5.30:user/release-keys" \
PRIVATE_BUILD_DESC="dipper-user 8.1.0 OPM1.180713.011 8.5.30 release-keys"
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.treble.enabled=true \
sys.usb.controller=a600000.dwc3 \
persist.sys.usb.config=mtp \
persist.service.adb.enable=1 \
persist.service.debuggable=1 \
sys.usb.rndis.func.name=gsi \
sys.usb.rmnet.func.name=gsi
TARGET_VENDOR_PRODUCT_NAME := dipper
TARGET_VENDOR_DEVICE_NAME := dipper
PRODUCT_BUILD_PROP_OVERRIDES += TARGET_DEVICE=dipper PRODUCT_NAME=dipper