products: Introduce Nothing phone (1)
Change-Id: I9adfdd3880e10ab1dcc30b6d5ca527b4554b96db
This commit is contained in:
parent
15c966c916
commit
833b8b5af2
|
@ -29,6 +29,7 @@ PRODUCT_MAKEFILES += \
|
|||
$(LOCAL_DIR)/oriole/aospa_oriole.mk \
|
||||
$(LOCAL_DIR)/panther/aospa_panther.mk \
|
||||
$(LOCAL_DIR)/phoenix/aospa_phoenix.mk \
|
||||
$(LOCAL_DIR)/phone1/aospa_phone1.mk \
|
||||
$(LOCAL_DIR)/raven/aospa_raven.mk \
|
||||
$(LOCAL_DIR)/spes/aospa_spes.mk
|
||||
|
||||
|
@ -49,5 +50,6 @@ COMMON_LUNCH_CHOICES += \
|
|||
aospa_oriole-userdebug \
|
||||
aospa_panther-userdebug \
|
||||
aospa_phoenix-userdebug \
|
||||
aospa_phone1-userdebug \
|
||||
aospa_raven-userdebug \
|
||||
aospa_spes-userdebug
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
[
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_device_nothing_phone1",
|
||||
"target_path": "device/nothing/phone1",
|
||||
"revision": "topaz"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_hardware_qcom_audio",
|
||||
"target_path": "vendor/qcom/opensource/audio-hal/primary-hal",
|
||||
"revision": "topaz-888"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_hardware_qcom_display",
|
||||
"target_path": "hardware/qcom/display",
|
||||
"revision": "topaz-888"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_hardware_qcom_gps",
|
||||
"target_path": "hardware/qcom/gps",
|
||||
"revision": "topaz-888"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_hardware_qcom_media",
|
||||
"target_path": "hardware/qcom/media",
|
||||
"revision": "topaz-888"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_kernel_nothing_sm7325",
|
||||
"target_path": "kernel/msm-5.4",
|
||||
"revision": "topaz"
|
||||
},
|
||||
{
|
||||
"remote": "blobs",
|
||||
"repository": "proprietary_vendor_nothing",
|
||||
"target_path": "vendor/nothing",
|
||||
"revision": "topaz"
|
||||
},
|
||||
{
|
||||
"remote": "blobs-gitlab",
|
||||
"repository": "proprietary_vendor_nothing_camera",
|
||||
"target_path": "vendor/nothing/camera",
|
||||
"revision": "topaz"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_packages_apps_ParanoidGlyph",
|
||||
"target_path": "packages/apps/ParanoidGlyph",
|
||||
"revision": "topaz"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,43 @@
|
|||
# Copyright (C) 2022 Paranoid Android
|
||||
#
|
||||
# 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.
|
||||
|
||||
ifeq (aospa_phone1,$(TARGET_PRODUCT))
|
||||
|
||||
# Inherit from those products. Most specific first.
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||
|
||||
# Inherit from the device configuration.
|
||||
$(call inherit-product, device/nothing/phone1/device.mk)
|
||||
|
||||
# Inherit from the AOSPA configuration.
|
||||
$(call inherit-product, vendor/aospa/target/product/aospa-target.mk)
|
||||
|
||||
PRODUCT_BRAND := Nothing
|
||||
PRODUCT_DEVICE := phone1
|
||||
PRODUCT_MANUFACTURER := Nothing
|
||||
PRODUCT_MODEL := Nothing phone (1)
|
||||
PRODUCT_NAME := aospa_phone1
|
||||
|
||||
# Bootanimation resolution
|
||||
TARGET_BOOT_ANIMATION_RES := 1080
|
||||
|
||||
# Override device name for Play Store.
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
TARGET_DEVICE=Spacewar \
|
||||
TARGET_PRODUCT=Spacewar
|
||||
|
||||
PRODUCT_GMS_CLIENTID_BASE := android-nothing
|
||||
|
||||
endif
|
Loading…
Reference in New Issue