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_HARDWARE := crosshatch
18
19include device/google/crosshatch/device-common.mk
20
21DEVICE_PACKAGE_OVERLAYS += device/google/crosshatch/crosshatch/overlay
22
23# SKU specific RROs
24PRODUCT_PACKAGES += \
25    SettingsOverlayG013C \
26    SettingsOverlayG013D \
27
28# Setup wizard overlay packages for ActiveEdge
29PRODUCT_PACKAGES += \
30    PixelSetupWizardOverlayActiveEdge \
31
32PRODUCT_COPY_FILES += \
33    $(LOCAL_PATH)/init.insmod.crosshatch.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg
34
35# Audio XMLs
36PRODUCT_COPY_FILES += \
37    $(LOCAL_PATH)/mixer_paths_tavil_c1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil_c1.xml \
38    $(LOCAL_PATH)/audio_policy_volumes_c1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
39    $(LOCAL_PATH)/audio_platform_info_tavil_c1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tavil_c1.xml
40
41PRODUCT_COPY_FILES += \
42    device/google/crosshatch/nfc/libnfc-nxp.crosshatch.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
43    device/google/crosshatch/nfc/libnfc-nxp.crosshatch.uicc.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G013C.conf \
44    device/google/crosshatch/nfc/libnfc-nxp.crosshatch.ese.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp-G013D.conf
45
46PRODUCT_PACKAGES += \
47    NoCutoutOverlay
48
49# Enable iorapd prefetching by default for crosshatch targets
50PRODUCT_PRODUCT_PROPERTIES += \
51    iorapd.readahead.enable=true
52
53# Disable Camera Pinning by default for crosshatch targets
54PRODUCT_PRODUCT_PROPERTIES += \
55    pinner.pin_camera=false
56