1# Copyright (C) 2014 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15# 16# This file includes overrides to make a Hammerhead act like a low memory device 17# to test low memory situations 18# 19 20$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) 21$(call inherit-product, device/htc/flounder/device.mk) 22 23PRODUCT_COPY_FILES += \ 24 device/htc/flounder/init.flounder_svelte.rc:root/init.flounder_svelte.rc:google \ 25 26# Copy flounder files as flounder64 so ${ro.hardware} can find them 27PRODUCT_COPY_FILES += \ 28 device/htc/flounder/init.flounder_svelte.rc:root/init.flounder64_svelte.rc:google \ 29 30#TODO: figure out if we need an overlay 31#DEVICE_PACKAGE_OVERLAYS := vendor/lge/hammerhead/svelte-overlay 32 33PRODUCT_PROPERTY_OVERRIDES += \ 34 ro.config.low_ram=true \ 35 ro.logd.size=64K \ 36 ro.sf.lcd_density=144 37 38PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.jit.codecachesize=0 39