lynx: Initial aosp makefiles

Change-Id: I40860c27946b453d0c6092bf76b810bb87037a27
This commit is contained in:
Blaster4385 2023-06-22 13:12:12 +05:30 committed by Blaster4385
parent 94cf969c4d
commit a25a98ce37
4 changed files with 49 additions and 2 deletions

15
BoardConfigAosp.mk Normal file
View file

@ -0,0 +1,15 @@
#
# Copyright (C) 2023 PixelOS
#
# 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.
#

View file

@ -22,12 +22,28 @@ BOARD_USES_SWIFTSHADER := true
$(call inherit-product, device/google/gs201/aosp_common.mk) $(call inherit-product, device/google/gs201/aosp_common.mk)
$(call inherit-product, device/google/lynx/device-lynx.mk) $(call inherit-product, device/google/lynx/device-lynx.mk)
$(call inherit-product, device/google/lynx/device-aosp.mk)
$(call inherit-product, device/google/gs201/device-common-aosp.mk)
# Inherit some common PixelOS stuff.
TARGET_DISABLE_EPPE := true
$(call inherit-product, vendor/aosp/config/common_full_phone.mk)
PRODUCT_NAME := aosp_lynx PRODUCT_NAME := aosp_lynx
PRODUCT_DEVICE := lynx PRODUCT_DEVICE := lynx
PRODUCT_MODEL := AOSP on Lynx PRODUCT_MODEL := Pixel 7a
PRODUCT_BRAND := Android PRODUCT_BRAND := google
PRODUCT_MANUFACTURER := Google PRODUCT_MANUFACTURER := Google
DEVICE_MANIFEST_FILE := \ DEVICE_MANIFEST_FILE := \
device/google/lynx/manifest.xml device/google/lynx/manifest.xml
# Boot animation
TARGET_SCREEN_HEIGHT := 2400
TARGET_SCREEN_WIDTH := 1080
PRODUCT_BUILD_PROP_OVERRIDES += \
TARGET_PRODUCT=lynx \
PRIVATE_BUILD_DESC="lynx-user 14 AP1A.240505.005 11677807 release-keys"
BUILD_FINGERPRINT := google/lynx/lynx:14/AP1A.240505.005/11677807:user/release-keys

15
device-aosp.mk Normal file
View file

@ -0,0 +1,15 @@
#
# Copyright (C) 2023 PixelOS
#
# 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.
#

View file

@ -46,3 +46,4 @@ include device/google/gs201/BoardConfig-common.mk
-include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk -include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk
include device/google/lynx-sepolicy/lynx-sepolicy.mk include device/google/lynx-sepolicy/lynx-sepolicy.mk
include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk
include device/google/lynx/BoardConfigAosp.mk