-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevice-marlin-con.mk
More file actions
97 lines (78 loc) · 3.17 KB
/
device-marlin-con.mk
File metadata and controls
97 lines (78 loc) · 3.17 KB
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
90
91
92
93
94
95
96
#
# Copyright (C) 2016 The Android Open-Source Project
# Copyright (C) 2015-2017 The Android Container 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.
#
# This file includes all definitions that apply to ALL marlin devices
#
# Everything in this directory will become public
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := 560dpi
PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
-include device/google/marlin/device-common.mk
# Overlay
DEVICE_PACKAGE_OVERLAYS += device/google/marlin/marlin/overlay
# display
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=560
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.vc_call_vol_steps=7
# HWUI cache sizes
PRODUCT_PROPERTY_OVERRIDES += \
ro.hwui.texture_cache_size=72 \
ro.hwui.layer_cache_size=48 \
ro.hwui.path_cache_size=32
# Container specific properties
PRODUCT_PROPERTY_OVERRIDES += \
service.adb.tcp.port=5555 \
ro.boot.container.id=1 \
debug.sf.nobootanimation=1
# fstab.marlin has been identified in aosp_marlin_con.mk
PRODUCT_COPY_FILES += \
vendor/icl/marlin/proprietary/config/init.marlin.con.rc:root/init.marlin.rc:icl \
device/google/marlin/init.common.usb.rc:root/init.marlin.usb.rc \
vendor/icl/marlin/proprietary/config/ueventd.marlin.con.rc:root/ueventd.marlin.rc:icl \
device/google/marlin/init.recovery.common.rc:root/init.recovery.marlin.rc
# Container init.rc, overide init.rc copied from system/core/rootdir/init.rc
PRODUCT_COPY_FILES += \
vendor/icl/marlin/proprietary/config/init.con.rc:root/init.rc:icl
# Container overide origina rc in system/etc/init
PRODUCT_COPY_FILES += \
vendor/icl/marlin/proprietary/config/system/etc/init/keystore.rc:system/etc/init/keystore.rc:icl \
vendor/icl/marlin/proprietary/config/system/etc/init/servicemanager.rc:system/etc/init/servicemanager.rc:icl \
vendor/icl/marlin/proprietary/config/system/etc/init/surfaceflinger.rc:system/etc/init/surfaceflinger.rc:icl \
vendor/icl/marlin/proprietary/config/system/etc/init/update_engine.rc:system/etc/init/update_engine.rc:icl \
vendor/icl/marlin/proprietary/config/system/etc/init/audioserver.rc:system/etc/init/audioserver.rc:icl
# Sensor hub init script
PRODUCT_COPY_FILES += \
device/google/marlin/init.common.nanohub.rc:root/init.marlin.nanohub.rc
# Sensor packages
PRODUCT_PACKAGES += \
sensors.marlin \
activity_recognition.marlin
# NFC packages
PRODUCT_PACKAGES += \
nfc_nci.marlin
PRODUCT_COPY_FILES += \
device/google/marlin/nfc/libnfc-nxp.marlin.conf:system/etc/libnfc-nxp.conf
# Led packages
PRODUCT_PACKAGES += \
lights.marlin
# Thermal packages
PRODUCT_PACKAGES += \
thermal.marlin
# VR packages
PRODUCT_PACKAGES += \
vr.marlin