Remove automotive and atv support
This commit is contained in:
parent
b2ba623a16
commit
622d772008
26 changed files with 20 additions and 536 deletions
|
@ -1,21 +0,0 @@
|
|||
# Copyright (C) 2019-2020 The LineageOS 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.
|
||||
|
||||
$(call inherit-product, vendor/lineage/config/common_car.mk)
|
||||
|
||||
EMULATOR_VENDOR_NO_SENSORS := true
|
||||
EMULATOR_VENDOR_NO_SOUND := true
|
||||
|
||||
# Allow building otatools
|
||||
TARGET_FORCE_OTA_PACKAGE := true
|
|
@ -1,19 +0,0 @@
|
|||
# Copyright (C) 2019-2020 The LineageOS 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.
|
||||
|
||||
$(call inherit-product, device/google/atv/products/atv_base.mk)
|
||||
$(call inherit-product, vendor/lineage/config/common_full_tv.mk)
|
||||
|
||||
# Allow building otatools
|
||||
TARGET_FORCE_OTA_PACKAGE := true
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright (C) 2022 The LineageOS 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.
|
||||
|
||||
$(call inherit-product, device/generic/car/gsi_car_arm64.mk)
|
||||
|
||||
include vendor/lineage/build/target/product/lineage_generic_car_target.mk
|
||||
|
||||
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
||||
|
||||
TARGET_NO_KERNEL_OVERRIDE := true
|
||||
|
||||
# Enable mainline checking
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/app/Home/Home.apk
|
||||
|
||||
PRODUCT_NAME := lineage_gsi_car_arm64
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright (C) 2022 The LineageOS 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.
|
||||
|
||||
$(call inherit-product, device/generic/car/gsi_car_x86_64.mk)
|
||||
|
||||
include vendor/lineage/build/target/product/lineage_generic_car_target.mk
|
||||
|
||||
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
||||
|
||||
TARGET_NO_KERNEL_OVERRIDE := true
|
||||
|
||||
# Enable mainline checking
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/app/Home/Home.apk
|
||||
|
||||
PRODUCT_NAME := lineage_gsi_car_x86_64
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright (C) 2018-2020 The LineageOS 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.
|
||||
|
||||
$(call inherit-product, build/target/product/gsi_release.mk)
|
||||
$(call inherit-product, device/google/atv/products/aosp_tv_arm.mk)
|
||||
|
||||
include vendor/lineage/build/target/product/lineage_generic_tv_target.mk
|
||||
|
||||
TARGET_NO_KERNEL_OVERRIDE := true
|
||||
|
||||
PRODUCT_NAME := lineage_gsi_tv_arm
|
||||
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS :=
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright (C) 2018-2020 The LineageOS 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.
|
||||
|
||||
$(call inherit-product, build/target/product/gsi_release.mk)
|
||||
$(call inherit-product, device/google/atv/products/aosp_tv_arm64.mk)
|
||||
|
||||
include vendor/lineage/build/target/product/lineage_generic_tv_target.mk
|
||||
|
||||
TARGET_NO_KERNEL_OVERRIDE := true
|
||||
|
||||
PRODUCT_NAME := lineage_gsi_tv_arm64
|
||||
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS :=
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright (C) 2018-2020 The LineageOS 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.
|
||||
|
||||
$(call inherit-product, device/google/atv/products/aosp_tv_x86.mk)
|
||||
|
||||
include vendor/lineage/build/target/product/lineage_generic_tv_target.mk
|
||||
|
||||
PRODUCT_NAME := lineage_gsi_tv_x86
|
||||
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS :=
|
||||
|
||||
PRODUCT_SDK_ADDON_NAME := lineage
|
||||
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
|
|
@ -1,26 +0,0 @@
|
|||
# Copyright (C) 2018-2020 The LineageOS 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.
|
||||
|
||||
$(call inherit-product, device/google/atv/products/aosp_tv_x86_64.mk)
|
||||
|
||||
include vendor/lineage/build/target/product/lineage_generic_tv_target.mk
|
||||
|
||||
TARGET_SUPPORTS_64_BIT_APPS := true
|
||||
|
||||
PRODUCT_NAME := lineage_gsi_tv_x86_64
|
||||
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS :=
|
||||
|
||||
PRODUCT_SDK_ADDON_NAME := lineage
|
||||
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
|
|
@ -1,26 +0,0 @@
|
|||
# Copyright (C) 2018-2022 The LineageOS 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.
|
||||
|
||||
include vendor/lineage/build/target/product/lineage_generic_car_target.mk
|
||||
|
||||
$(call inherit-product, device/generic/car/emulator/aosp_car_emulator.mk)
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk.mk)
|
||||
|
||||
TARGET_NO_KERNEL_OVERRIDE := true
|
||||
|
||||
PRODUCT_NAME := lineage_sdk_car_arm64
|
||||
|
||||
PRODUCT_SDK_ADDON_NAME := lineage
|
||||
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright (C) 2018-2022 The LineageOS 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.
|
||||
|
||||
include vendor/lineage/build/target/product/lineage_generic_car_target.mk
|
||||
|
||||
$(call inherit-product, device/generic/car/emulator/aosp_car_emulator.mk)
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk.mk)
|
||||
|
||||
PRODUCT_NAME := lineage_sdk_car_x86_64
|
||||
|
||||
PRODUCT_SDK_ADDON_NAME := lineage
|
||||
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright (C) 2022 The LineageOS 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.
|
||||
|
||||
include vendor/lineage/build/target/product/lineage_generic_tv_target.mk
|
||||
|
||||
$(call inherit-product, device/google/atv/products/sdk_atv_armv7.mk)
|
||||
|
||||
TARGET_NO_KERNEL_OVERRIDE := true
|
||||
|
||||
# Enable mainline checking
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||
|
||||
# Overrides
|
||||
PRODUCT_NAME := lineage_sdk_tv_arm
|
||||
PRODUCT_MODEL := LineageOS Android TV SDK built for ARM
|
||||
|
||||
PRODUCT_SDK_ADDON_NAME := lineage
|
||||
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright (C) 2022 The LineageOS 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.
|
||||
|
||||
include vendor/lineage/build/target/product/lineage_generic_tv_target.mk
|
||||
|
||||
$(call inherit-product, device/google/atv/products/sdk_atv_x86.mk)
|
||||
|
||||
TARGET_NO_KERNEL_OVERRIDE := true
|
||||
|
||||
# Enable mainline checking
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||
|
||||
# Overrides
|
||||
PRODUCT_NAME := lineage_sdk_tv_x86
|
||||
PRODUCT_MODEL := LineageOS Android TV SDK built for x86
|
||||
|
||||
PRODUCT_SDK_ADDON_NAME := lineage
|
||||
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
|
|
@ -9,27 +9,14 @@ ifneq ($(WITH_GMS),true)
|
|||
BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT ?= -1
|
||||
|
||||
ifeq ($(BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE),true)
|
||||
ifeq ($(PRODUCT_IS_ATV),true)
|
||||
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 450000000
|
||||
else # PRODUCT_IS_ATV
|
||||
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 1188036608
|
||||
endif # PRODUCT_IS_ATV
|
||||
else # BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE
|
||||
ifeq ($(PRODUCT_IS_ATV),true)
|
||||
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 470000000
|
||||
else # PRODUCT_IS_ATV
|
||||
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 1957691392
|
||||
endif # PRODUCT_IS_ATV
|
||||
endif # BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE
|
||||
|
||||
BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT ?= -1
|
||||
ifeq ($(PRODUCT_IS_ATV),true)
|
||||
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE ?= 40000000
|
||||
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE ?= 27000000
|
||||
else # PRODUCT_IS_ATV
|
||||
BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT ?= -1
|
||||
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE ?= 94371840
|
||||
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE ?= 94371840
|
||||
endif # PRODUCT_IS_ATV
|
||||
|
||||
endif # WITH_GMS
|
||||
|
|
|
@ -13,16 +13,6 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
|||
ro.com.google.clientidbase=$(PRODUCT_GMS_CLIENTID_BASE)
|
||||
endif
|
||||
|
||||
ifeq ($(PRODUCT_IS_ATV),true)
|
||||
ifeq ($(PRODUCT_ATV_CLIENTID_BASE),)
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
ro.oem.key1=ATV00100020
|
||||
else
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
ro.oem.key1=$(PRODUCT_ATV_CLIENTID_BASE)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_BUILD_VARIANT),eng)
|
||||
# Disable ADB authentication
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0
|
||||
|
@ -110,18 +100,6 @@ PRODUCT_PACKAGES += \
|
|||
build-manifest
|
||||
|
||||
# Lineage packages
|
||||
ifeq ($(PRODUCT_IS_ATV),)
|
||||
PRODUCT_PACKAGES += \
|
||||
ExactCalculator \
|
||||
Jelly
|
||||
endif
|
||||
|
||||
ifeq ($(PRODUCT_IS_AUTOMOTIVE),)
|
||||
PRODUCT_PACKAGES += \
|
||||
LineageParts \
|
||||
LineageSetupWizard
|
||||
endif
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
LineageSettingsProvider \
|
||||
Updater
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# Inherit common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common.mk)
|
||||
|
||||
# Inherit Lineage car device tree
|
||||
$(call inherit-product, device/lineage/car/lineage_car.mk)
|
|
@ -1,5 +0,0 @@
|
|||
# Set Lineage specific identifier for Android Go enabled products
|
||||
PRODUCT_TYPE := go
|
||||
|
||||
# Inherit full common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
|
@ -1,4 +0,0 @@
|
|||
# This config is for legacy purposes, there are no atv product size variants
|
||||
|
||||
# Inherit common atv Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_tv.mk)
|
|
@ -1,4 +0,0 @@
|
|||
# Inherit mini common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mobile.mk)
|
||||
|
||||
PRODUCT_SIZE := mini
|
|
@ -1,5 +0,0 @@
|
|||
# Set Lineage specific identifier for Android Go enabled products
|
||||
PRODUCT_TYPE := go
|
||||
|
||||
# Inherit mini common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_mini_phone.mk)
|
|
@ -1,4 +0,0 @@
|
|||
# This config is for legacy purposes, there are no atv product size variants
|
||||
|
||||
# Inherit common atv Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common_tv.mk)
|
|
@ -1,18 +0,0 @@
|
|||
# Inherit common Lineage stuff
|
||||
$(call inherit-product, vendor/lineage/config/common.mk)
|
||||
|
||||
# Include AOSP audio files
|
||||
$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioTv.mk)
|
||||
|
||||
# Inherit Lineage atv device tree
|
||||
$(call inherit-product, device/lineage/atv/lineage_atv.mk)
|
||||
|
||||
# AOSP packages
|
||||
PRODUCT_PACKAGES += \
|
||||
LeanbackIME
|
||||
|
||||
# Lineage packages
|
||||
PRODUCT_PACKAGES += \
|
||||
LineageCustomizer
|
||||
|
||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/tv
|
|
@ -1,51 +1,26 @@
|
|||
ifeq ($(WITH_GMS),true)
|
||||
# Special handling for Android TV
|
||||
ifeq ($(PRODUCT_IS_ATV),true)
|
||||
ifneq (,$(wildcard vendor/partner_gms-tv))
|
||||
ifneq ($(GMS_MAKEFILE),)
|
||||
# Specify the GMS makefile you want to use, for example:
|
||||
# - gms.mk - default Android TV GMS
|
||||
# - gms_gtv.mk - default Google TV GMS
|
||||
# - gms_minimal.mk - minimal Android TV GMS
|
||||
$(call inherit-product, vendor/partner_gms-tv/products/$(GMS_MAKEFILE))
|
||||
else
|
||||
$(call inherit-product-if-exists, vendor/partner_gms-tv/products/gms.mk)
|
||||
endif
|
||||
$(call inherit-product-if-exists, vendor/partner_gms-tv/products/mainline_modules.mk)
|
||||
endif
|
||||
# Special handling for Android Automotive
|
||||
else ifeq ($(PRODUCT_IS_AUTOMOTIVE),true)
|
||||
ifneq (,$(wildcard vendor/partner_gms-car))
|
||||
ifneq ($(GMS_MAKEFILE),)
|
||||
$(call inherit-product, vendor/partner_gms-car/products/$(GMS_MAKEFILE))
|
||||
else
|
||||
$(call inherit-product-if-exists, vendor/partner_gms-car/products/gms.mk)
|
||||
endif
|
||||
endif
|
||||
else
|
||||
ifneq (,$(wildcard vendor/partner_gms))
|
||||
# Specify the GMS makefile you want to use, for example:
|
||||
# - fi.mk - Project Fi
|
||||
# - gms.mk - default GMS
|
||||
# - gms_go.mk - low ram devices
|
||||
# - gms_go_2gb.mk - low ram devices (2GB)
|
||||
# - gms_64bit_only.mk - devices supporting 64-bit only
|
||||
# - gms_minimal.mk - minimal GMS
|
||||
ifneq ($(GMS_MAKEFILE),)
|
||||
$(call inherit-product, vendor/partner_gms/products/$(GMS_MAKEFILE))
|
||||
else
|
||||
$(call inherit-product-if-exists, vendor/partner_gms/products/gms.mk)
|
||||
endif
|
||||
ifneq (,$(wildcard vendor/partner_gms))
|
||||
# Specify the GMS makefile you want to use, for example:
|
||||
# - fi.mk - Project Fi
|
||||
# - gms.mk - default GMS
|
||||
# - gms_go.mk - low ram devices
|
||||
# - gms_go_2gb.mk - low ram devices (2GB)
|
||||
# - gms_64bit_only.mk - devices supporting 64-bit only
|
||||
# - gms_minimal.mk - minimal GMS
|
||||
ifneq ($(GMS_MAKEFILE),)
|
||||
$(call inherit-product, vendor/partner_gms/products/$(GMS_MAKEFILE))
|
||||
else
|
||||
$(call inherit-product-if-exists, vendor/partner_gms/products/gms.mk)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(wildcard vendor/partner_modules))
|
||||
# Specify the mainline module makefile you want to use, for example:
|
||||
# - mainline_modules.mk - updatable apex
|
||||
# - mainline_modules_flatten_apex.mk - flatten apex
|
||||
# - mainline_modules_low_ram.mk - low ram devices
|
||||
ifneq ($(MAINLINE_MODULES_MAKEFILE),)
|
||||
$(call inherit-product, vendor/partner_modules/build/$(MAINLINE_MODULES_MAKEFILE))
|
||||
endif
|
||||
ifneq (,$(wildcard vendor/partner_modules))
|
||||
# Specify the mainline module makefile you want to use, for example:
|
||||
# - mainline_modules.mk - updatable apex
|
||||
# - mainline_modules_flatten_apex.mk - flatten apex
|
||||
# - mainline_modules_low_ram.mk - low ram devices
|
||||
ifneq ($(MAINLINE_MODULES_MAKEFILE),)
|
||||
$(call inherit-product, vendor/partner_modules/build/$(MAINLINE_MODULES_MAKEFILE))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2024 The LineageOS 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.
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Max number of columns for power menu lite -->
|
||||
<integer name="power_menu_lite_max_columns">4</integer>
|
||||
</resources>
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="Theme.AlertDialogActivity"
|
||||
parent="@android:style/Theme.DeviceDefault.Dialog.Alert" />
|
||||
|
||||
<style name="Theme.AlertDialogActivity.NoActionBar"
|
||||
parent="@android:style/Theme.DeviceDefault.NoActionBar" />
|
||||
|
||||
</resources>
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright (c) 2018, The LineageOS 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.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<string name="def_tv_user_setup_complete" translatable="false">false</string>
|
||||
</resources>
|
|
@ -1,40 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2017 The LineageOS 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.
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Disable LiveDisplay on ATV -->
|
||||
<integer name="config_defaultLiveDisplayMode">0</integer>
|
||||
<bool name="config_enableLiveDisplay">false</bool>
|
||||
|
||||
<!-- Control the behavior when the user double-taps the home button.
|
||||
0 - Nothing
|
||||
1 - Menu key
|
||||
2 - Recent apps view in SystemUI
|
||||
3 - Launch assist intent
|
||||
4 - Voice Search
|
||||
5 - In-app Search
|
||||
6 - Launch camera
|
||||
7 - Sleep
|
||||
8 - Last app
|
||||
9 - Toggle split screen
|
||||
This needs to match the enums in
|
||||
sdk/src/java/org/lineageos/internal/util/DeviceKeysConstants.java.
|
||||
-->
|
||||
<integer name="config_doubleTapOnHomeBehavior">2</integer>
|
||||
|
||||
</resources>
|
Loading…
Reference in a new issue