blob: 0b884e966c2940c44f7a450bfba02791347813dd [file] [log] [blame]
Andres Moralesc8e923a2014-10-14 16:52:34 -07001# 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
20PRODUCT_RUNTIMES := runtime_libart_default
21
22$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
23$(call inherit-product, device/htc/flounder/device.mk)
24
25PRODUCT_COPY_FILES += \
26 device/htc/flounder/init.flounder_svelte.rc:root/init.flounder_svelte.rc:google \
27
28# Copy flounder files as flounder64 so ${ro.hardware} can find them
29PRODUCT_COPY_FILES += \
30 device/htc/flounder/init.flounder_svelte.rc:root/init.flounder64_svelte.rc:google \
31
32#TODO: figure out if we need an overlay
33#DEVICE_PACKAGE_OVERLAYS := vendor/lge/hammerhead/svelte-overlay
34
35PRODUCT_PROPERTY_OVERRIDES += \
36 ro.config.low_ram=true \
37 ro.logd.size=64K \
Andres Morales2ceb6902014-10-15 15:26:56 -070038 ro.sf.lcd_density=144
Andres Moralesc8e923a2014-10-14 16:52:34 -070039
40PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.jit.codecachesize=0
41