Remove nvidia support

This commit is contained in:
Bartłomiej Rudecki 2024-05-25 05:02:40 +02:00
parent 4d7baa67a1
commit 7794936473
Signed by: przekichane
GPG key ID: 751F23C6F014EF76
3 changed files with 0 additions and 41 deletions

View file

@ -350,24 +350,6 @@ health_charging_control {
},
}
// NVIDIA specific config modules
soong_config_module_type {
name: "nvidia_enhancements",
module_type: "cc_defaults",
config_namespace: "lineageNvidiaVars",
bool_variables: ["uses_nvidia_enhancements"],
properties: ["cppflags"],
}
nvidia_enhancements {
name: "nvidia_enhancements_defaults",
soong_config_variables: {
uses_nvidia_enhancements: {
cppflags: ["-DNV_ANDROID_FRAMEWORK_ENHANCEMENTS"],
},
},
}
// QCOM specific config modules
soong_config_module_type {
name: "librmnetctl_pre_uplink",

View file

@ -50,10 +50,6 @@ SOONG_CONFIG_lineageGlobalVars += \
target_trust_usb_control_disable \
uses_egl_display_array
SOONG_CONFIG_NAMESPACES += lineageNvidiaVars
SOONG_CONFIG_lineageNvidiaVars += \
uses_nvidia_enhancements
SOONG_CONFIG_NAMESPACES += lineageQcomVars
SOONG_CONFIG_lineageQcomVars += \
qti_vibrator_effect_lib \
@ -73,7 +69,6 @@ SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_custom_content_md_reserved_siz
SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_reserved_size := $(TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE)
SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_ubwcp_format := $(TARGET_GRALLOC_HANDLE_HAS_UBWCP_FORMAT)
SOONG_CONFIG_lineageGlobalVars_uses_egl_display_array := $(TARGET_USES_EGL_DISPLAY_ARRAY)
SOONG_CONFIG_lineageNvidiaVars_uses_nvidia_enhancements := $(NV_ANDROID_FRAMEWORK_ENHANCEMENTS)
SOONG_CONFIG_lineageQcomVars_qti_vibrator_use_effect_stream := $(TARGET_QTI_VIBRATOR_USE_EFFECT_STREAM)
SOONG_CONFIG_lineageQcomVars_supports_extended_compress_format := $(AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT)
SOONG_CONFIG_lineageQcomVars_uses_pre_uplink_features_netmgrd := $(TARGET_USES_PRE_UPLINK_FEATURES_NETMGRD)

View file

@ -1,18 +0,0 @@
# Copyright (C) 2019 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.
# Baseline Nvidia framework enhancements
# Includes support for:
# 1) NvCPL / Application Profiles
NV_ANDROID_FRAMEWORK_ENHANCEMENTS := true