summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Huang <calhuang@google.com>2020-11-05 19:24:24 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-11-05 19:24:24 +0000
commit19ec8ef9927154c6fe21de6fcf8645b161ad8752 (patch)
tree70e1055d698cf479ffdb26642c881b5362af14ef
parent617832bf0d0fc08ffb7f4de0298b9842d48c151d (diff)
parent2676e399a2a5d49a8d96198cfef4fda1a5bff9bb (diff)
downloadcar-19ec8ef9927154c6fe21de6fcf8645b161ad8752.tar.gz
Merge "Add 2 board configs for car emulators" into rvc-qpr-dev
-rw-r--r--AndroidProducts.mk2
-rw-r--r--aosp_car_x86.mk2
-rw-r--r--aosp_car_x86_64.mk2
-rw-r--r--car_x86_64.mk2
-rw-r--r--generic_car_x86/BoardConfig.mk (renamed from aosp_car_x86_64_app.mk)11
-rw-r--r--generic_car_x86_64/BoardConfig.mk22
6 files changed, 29 insertions, 12 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 920a0b0..ff095c2 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -19,7 +19,6 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_car_arm.mk \
$(LOCAL_DIR)/aosp_car_x86.mk \
$(LOCAL_DIR)/aosp_car_x86_64.mk \
- $(LOCAL_DIR)/aosp_car_x86_64_app.mk \
$(LOCAL_DIR)/car_x86_64.mk \
COMMON_LUNCH_CHOICES := \
@@ -27,7 +26,6 @@ COMMON_LUNCH_CHOICES := \
aosp_car_arm64-userdebug \
aosp_car_x86-userdebug \
aosp_car_x86_64-userdebug \
- aosp_car_x86_64_app-userdebug \
car_x86_64-userdebug \
EMULATOR_VENDOR_NO_SOUND_TRIGGER := false
diff --git a/aosp_car_x86.mk b/aosp_car_x86.mk
index f2e0713..36b1963 100644
--- a/aosp_car_x86.mk
+++ b/aosp_car_x86.mk
@@ -20,6 +20,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_x86.mk)
EMULATOR_VENDOR_NO_SOUND := true
PRODUCT_NAME := aosp_car_x86
-PRODUCT_DEVICE := generic_x86
+PRODUCT_DEVICE := generic_car_x86
PRODUCT_BRAND := Android
PRODUCT_MODEL := Car on x86 emulator
diff --git a/aosp_car_x86_64.mk b/aosp_car_x86_64.mk
index 2a5e20a..0e0651f 100644
--- a/aosp_car_x86_64.mk
+++ b/aosp_car_x86_64.mk
@@ -20,6 +20,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_x86_64.mk)
EMULATOR_VENDOR_NO_SOUND := true
PRODUCT_NAME := aosp_car_x86_64
-PRODUCT_DEVICE := generic_x86_64
+PRODUCT_DEVICE := generic_car_x86_64
PRODUCT_BRAND := Android
PRODUCT_MODEL := Car on x86_64 emulator
diff --git a/car_x86_64.mk b/car_x86_64.mk
index 0235441..9d3dab5 100644
--- a/car_x86_64.mk
+++ b/car_x86_64.mk
@@ -33,7 +33,7 @@ DEVICE_PACKAGE_OVERLAYS += device/generic/car/car_x86_64/overlay
EMULATOR_VENDOR_NO_SOUND := true
PRODUCT_NAME := car_x86_64
-PRODUCT_DEVICE := generic_x86_64
+PRODUCT_DEVICE := generic_car_x86_64
PRODUCT_BRAND := Google
PRODUCT_MODEL := Car on x86_64 emulator
PRODUCT_SDK_ADDON_NAME := car_x86_64
diff --git a/aosp_car_x86_64_app.mk b/generic_car_x86/BoardConfig.mk
index 65a8e58..b26116a 100644
--- a/aosp_car_x86_64_app.mk
+++ b/generic_car_x86/BoardConfig.mk
@@ -12,12 +12,9 @@
# 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.
+#
-$(call inherit-product, device/generic/car/common/car.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_64bitonly_x86_64.mk)
+include build/make/target/board/generic_x86/BoardConfig.mk
-# This build configuration supports 64-bit apps only
-PRODUCT_NAME := aosp_car_x86_64_app
-PRODUCT_DEVICE := generic_64bitonly_x86_64
-PRODUCT_BRAND := Android
-PRODUCT_MODEL := Car on x86_64 64-bit app only emulator
+# Override BOARD_SUPER_PARTITION_SIZE to inclease the mounted system partition.
+BOARD_SUPER_PARTITION_SIZE := 5856296960
diff --git a/generic_car_x86_64/BoardConfig.mk b/generic_car_x86_64/BoardConfig.mk
new file mode 100644
index 0000000..e90c8cb
--- /dev/null
+++ b/generic_car_x86_64/BoardConfig.mk
@@ -0,0 +1,22 @@
+#
+# Copyright (C) 2020 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.
+#
+
+# This is a wrapper board for AAOS 64bit only emulators
+# Use generic_64bitonly_x86_64 BoardConfig as base
+include build/make/target/board/generic_64bitonly_x86_64/BoardConfig.mk
+
+# Override BOARD_SUPER_PARTITION_SIZE to inclease the mounted system partition.
+BOARD_SUPER_PARTITION_SIZE := 5856296960