summaryrefslogtreecommitdiff
path: root/barbet/BoardConfig.mk
blob: 16c62a23f7a1a28aa2ba7fa096d4d685988e73e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Copyright (C) 2018 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

TARGET_BOOTLOADER_BOARD_NAME := barbet
TARGET_SCREEN_DENSITY := 420
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 165
USES_DEVICE_GOOGLE_BARBET := true

include device/google/redbull/BoardConfig-common.mk

# Allow LZ4 compression
BOARD_RAMDISK_USE_LZ4 := true

RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_BARBET_RADIO_DIR)
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := $(RELEASE_GOOGLE_BARBET_BOOTLOADER_DIR)

# Testing related defines
#BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/b9-setup.sh

AUDIO_FEATURE_ENABLED_CS35L41 := false
AUDIO_FEATURE_ENABLED_CS35L41_CALIBRATION_TOOL := false
AUDIO_FEATURE_CONFIG_ENABLE_TAS_SPK_PROT := true
AUDIO_FEATURE_CONFIG_ENABLE_TAS_STEREO := true
AUDIO_FEATURE_CONFIG_ENABLE_TAS_SET_RE_IN_HAL := true

-include vendor/google_devices/barbet/proprietary/BoardConfigVendor.mk

-include device/google/barbet/soong/pixel_soong_config.mk

# TODO: Remove this. The qcom makefiles build files to the partition staging directories in a way
# that isn't tracked by the build system, and causes incrementality bugs.
BUILD_BROKEN_INCORRECT_PARTITION_IMAGES := true