Support automotive builds.
Bug: 187195661
Test: build aosp_raven_car-userdebug and flash R4
Change-Id: I20decb81c3a7993ce75f807e26c2bc903d333340
diff --git a/raven/BoardConfig.mk b/raven/BoardConfig.mk
index 6d752a4..c3f2cc7 100644
--- a/raven/BoardConfig.mk
+++ b/raven/BoardConfig.mk
@@ -13,11 +13,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt
-TARGET_BOOTLOADER_BOARD_NAME := raven
-TARGET_SCREEN_DENSITY := 560
-USES_DEVICE_GOOGLE_RAVIOLE := true
-include device/google/gs101/BoardConfig-common.mk
--include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
--include vendor/google_devices/raven/proprietary/BoardConfigVendor.mk
+ifdef PHONE_CAR_BOARD_CONFIG
+ include $(PHONE_CAR_BOARD_CONFIG)
+else
+ TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt
+ TARGET_BOOTLOADER_BOARD_NAME := raven
+ TARGET_SCREEN_DENSITY := 560
+ USES_DEVICE_GOOGLE_RAVIOLE := true
+
+ include device/google/gs101/BoardConfig-common.mk
+ -include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
+ -include vendor/google_devices/raven/proprietary/BoardConfigVendor.mk
+endif