Amit Pundir | c738b81 | 2019-06-19 16:13:49 +0530 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2011 The Android Open-Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
| 17 | # Copied from crosshatch |
| 18 | # Set lmkd options |
| 19 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ |
| 20 | ro.lmk.low=1001 \ |
| 21 | ro.lmk.medium=800 \ |
| 22 | ro.lmk.critical=0 \ |
| 23 | ro.lmk.critical_upgrade=false \ |
| 24 | ro.lmk.upgrade_pressure=100 \ |
| 25 | ro.lmk.downgrade_pressure=100 \ |
| 26 | ro.lmk.kill_heaviest_task=true \ |
| 27 | ro.lmk.kill_timeout_ms=100 \ |
| 28 | ro.lmk.use_minfree_levels=true \ |
| 29 | |
| 30 | $(call inherit-product-if-exists, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) |
| 31 | |
| 32 | PRODUCT_COPY_FILES := \ |
| 33 | device/xiaomi/beryllium/prebuilt-kernel/$(TARGET_PREBUILT_KERNEL):kernel \ |
| 34 | $(LOCAL_PATH)/fstab.aosp_beryllium:$(TARGET_COPY_OUT_VENDOR)/etc/init/fstab.aosp_beryllium \ |
| 35 | $(LOCAL_PATH)/fstab.ramdisk:$(TARGET_COPY_OUT_RAMDISK)/fstab.aosp_beryllium \ |
| 36 | device/xiaomi/beryllium/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aosp_beryllium.rc \ |
| 37 | device/xiaomi/beryllium/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aosp_beryllium.usb.rc \ |
| 38 | device/xiaomi/beryllium/ueventd.common.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.aosp_beryllium.rc \ |
| 39 | device/xiaomi/beryllium/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/aosp_beryllium.kl |
| 40 | |
| 41 | # Build generic Audio HAL |
| 42 | PRODUCT_PACKAGES := audio.primary.aosp_beryllium |
| 43 | |
| 44 | # Software Gatekeeper |
| 45 | PRODUCT_PACKAGES += \ |
| 46 | gatekeeper.aosp_beryllium \ |
| 47 | android.hardware.gatekeeper@1.0-impl \ |
| 48 | android.hardware.gatekeeper@1.0-service |
| 49 | |
| 50 | # Copy firmware files |
| 51 | $(call inherit-product-if-exists, device/xiaomi/beryllium/firmware/device.mk) |