-
Notifications
You must be signed in to change notification settings - Fork 5
/
rk3399_mid.mk
executable file
·89 lines (69 loc) · 2.23 KB
/
rk3399_mid.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
# Copyright 2014 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.
#
$(call inherit-product, $(LOCAL_PATH)/rk3399_64.mk)
PRODUCT_NAME := rk3399_mid
PRODUCT_DEVICE := rk3399_mid
PRODUCT_MODEL := rk3399-mid
PRODUCT_AAPT_CONFIG := normal large mdpi tvdpi hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
PRODUCT_SYSTEM_VERITY := true
# debug-logs
ifneq ($(TARGET_BUILD_VARIANT),user)
MIXIN_DEBUG_LOGS := true
endif
# google apps
BUILD_WITH_GOOGLE_MARKET := false
BUILD_WITH_GOOGLE_MARKET_ALL := false
BUILD_WITH_GOOGLE_FRP := false
#for data encrypt options
BUILD_WITH_FORCEENCRYPT := true
#for GMS Certification
BUILD_WITH_GMS_CER := false
#for drm widevine
BUILD_WITH_WIDEVINE := true
#for cts requirement
ifeq ($(TARGET_BUILD_VARIANT),user)
PRODUCT_PROPERTY_OVERRIDES += \
ro.adb.secure=1 \
persist.sys.usb.config=mtp
else
PRODUCT_PROPERTY_OVERRIDES += \
ro.adb.secure=0 \
persist.sys.usb.config=mtp,adb
endif
BOOT_SHUTDOWN_ANIMATION_RINGING := false
BOARD_NFC_SUPPORT := false
BOARD_HAS_GPS := false
#for 3G/4G modem dongle support
BOARD_HAVE_DONGLE := false
BOARD_GRAVITY_SENSOR_SUPPORT := true
BOARD_COMPASS_SENSOR_SUPPORT := true
BOARD_GYROSCOPE_SENSOR_SUPPORT := true
BOARD_PROXIMITY_SENSOR_SUPPORT := false
BOARD_LIGHT_SENSOR_SUPPORT := true
BOARD_PRESSURE_SENSOR_SUPPORT := false
BOARD_TEMPERATURE_SENSOR_SUPPORT := false
BOARD_USB_HOST_SUPPORT := true
PRODUCT_HAS_CAMERA := true
TARGET_ROCKCHIP_PCBATEST := false
#for ddr var support
BOARD_DDR_VAR_ENABLED := true
PRODUCT_COPY_FILES += \
device/rockchip/rk3399/rk3399_64/ddr_config.xml:system/etc/ddr_config.xml \
device/rockchip/rk3399/rk3399_64/video_status:system/etc/video_status
PRODUCT_PACKAGES += \
SoundRecorder
#PRODUCT_HAVE_OPTEE := true