Add support for automotive build for redfin

bug: 168837442
Test: local build and flash
Change-Id: I3c9379379e9cdb4da2047c60f2d6d6ff9069970d
This commit is contained in:
Gaurav Sarode 2020-09-18 16:43:56 -07:00
parent 9a15ba50aa
commit 8f08770c88
1 changed files with 14 additions and 10 deletions

View File

@ -14,16 +14,20 @@
# limitations under the License.
#
TARGET_BOOTLOADER_BOARD_NAME := redfin
TARGET_SCREEN_DENSITY := 440
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 165
USES_DEVICE_GOOGLE_REDFIN := true
ifdef PHONE_CAR_BOARD_CONFIG
include $(PHONE_CAR_BOARD_CONFIG)
else
TARGET_BOOTLOADER_BOARD_NAME := redfin
TARGET_SCREEN_DENSITY := 440
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 165
USES_DEVICE_GOOGLE_REDFIN := true
include device/google/redbull/BoardConfig-common.mk
DEVICE_MANIFEST_FILE += device/google/redfin/manifest.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/redfin/device_framework_matrix_product.xml
include device/google/redbull/BoardConfig-common.mk
DEVICE_MANIFEST_FILE += device/google/redfin/manifest.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/redfin/device_framework_matrix_product.xml
# Testing related defines
#BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/r3-setup.sh
# Testing related defines
#BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/r3-setup.sh
-include vendor/google_devices/$(TARGET_BOOTLOADER_BOARD_NAME)/proprietary/BoardConfigVendor.mk
-include vendor/google_devices/$(TARGET_BOOTLOADER_BOARD_NAME)/proprietary/BoardConfigVendor.mk
endif