Snap for 10611805 from 280cba8598e6688da666fb918877cbc2fc1f884a to mainline-adservices-release
Change-Id: I5ed890268b87ed8cf454bad906c421071d3b01ea
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 5044b69..ebdd5cd 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -24,7 +24,8 @@
$(LOCAL_DIR)/panther_car/aosp_panther_car.mk \
$(LOCAL_DIR)/raven_car/aosp_raven_car.mk \
$(LOCAL_DIR)/redfin_car/aosp_redfin_car.mk \
- $(LOCAL_DIR)/sunfish_car/aosp_sunfish_car.mk
+ $(LOCAL_DIR)/sunfish_car/aosp_sunfish_car.mk \
+ $(LOCAL_DIR)/tangorpro_car/aosp_tangorpro_car.mk
COMMON_LUNCH_CHOICES := \
diff --git a/tangorpro_car/BoardConfig.mk b/tangorpro_car/BoardConfig.mk
new file mode 100644
index 0000000..691fdc4
--- /dev/null
+++ b/tangorpro_car/BoardConfig.mk
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2023 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_SCREEN_DENSITY is scaled down by 1.6x
+
+TARGET_SCREEN_DENSITY := 200
diff --git a/tangorpro_car/aosp_tangorpro_car.mk b/tangorpro_car/aosp_tangorpro_car.mk
new file mode 100644
index 0000000..aeb9a9e
--- /dev/null
+++ b/tangorpro_car/aosp_tangorpro_car.mk
@@ -0,0 +1,29 @@
+#
+# Copyright 2023 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.
+#
+
+DEVICE_IS_64BIT_ONLY := true
+
+
+$(call inherit-product, device/google_car/common/pre_google_car.mk)
+$(call inherit-product, device/google_car/tangorpro_car/device-tangorpro-car.mk)
+$(call inherit-product, device/google_car/common/post_google_car.mk)
+
+
+PRODUCT_NAME := aosp_tangorpro_car
+PRODUCT_DEVICE := tangorpro
+PRODUCT_MODEL := AOSP on Tangorpro
+PRODUCT_BRAND := Android
+PRODUCT_MANUFACTURER := Google
diff --git a/tangorpro_car/device-tangorpro-car.mk b/tangorpro_car/device-tangorpro-car.mk
new file mode 100644
index 0000000..b425e88
--- /dev/null
+++ b/tangorpro_car/device-tangorpro-car.mk
@@ -0,0 +1,29 @@
+#
+# Copyright 2023 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.
+#
+
+PHONE_CAR_BOARD_PRODUCT := tangorpro_car
+
+$(call inherit-product, packages/services/Car/car_product/build/car.mk)
+
+$(call inherit-product, device/google/tangorpro/device-tangorpro.mk)
+
+#include device/google/gs101/uwb/uwb.mk
+
+PRODUCT_PRODUCT_PROPERTIES+= \
+ ro.adb.secure=0
+
+PRODUCT_PACKAGES += \
+ librs_jni