1#
2# Copyright 2016 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
17PRODUCT_AAPT_CONFIG := normal
18PRODUCT_AAPT_PREF_CONFIG := xxhdpi
19PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi
20
21PRODUCT_HARDWARE := walleye
22
23# To build walleye specific modules e.g. librecovery_ui_walleye.
24PRODUCT_SOONG_NAMESPACES += device/google/muskie
25
26# DEVICE_PACKAGE_OVERLAYS for the device should be before
27# including common overlays since the one listed first
28# takes precedence.
29ifdef DEVICE_PACKAGE_OVERLAYS
30$(warning Overlays defined in '$(DEVICE_PACKAGE_OVERLAYS)' will override '$(PRODUCT_HARDWARE)' overlays)
31endif
32DEVICE_PACKAGE_OVERLAYS += device/google/muskie/walleye/overlay
33
34include device/google/muskie/device-common.mk
35
36PRODUCT_PROPERTY_OVERRIDES += \
37    ro.sf.lcd_density=420
38
39# Enable Perfetto traced
40PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
41    persist.traced.enable=1
42
43# Thermal HAL
44PRODUCT_COPY_FILES += \
45    device/google/muskie/thermal_info_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json
46