Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e87a909f authored by Aaron Kling's avatar Aaron Kling Committed by Rashed Abdel-Tawab
Browse files

Add nvidia product

Intended to be conditionally included in tegra device trees

This will be used to indicate which tegra specific modifications
are available. Firstly is the baseline framework modifications
for nvcpl and profiles

Also change the soong check to use lower case like all the other
flags

Change-Id: Ibae95de3ee47a4a1cefbcd4035ef48dbc246d266
parent 403c59b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ $(call add_json_str_omitempty, Target_process_sdk_version_override, $(TARGET_PRO
$(call add_json_str_omitempty, Target_shim_libs, $(subst $(space),:,$(TARGET_LD_SHIM_LIBS)))
$(call add_json_str_omitempty, Target_surfaceflinger_fod_lib, $(TARGET_SURFACEFLINGER_FOD_LIB))
$(call add_json_bool, Uses_generic_camera_parameter_library, $(if $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY),,true))
$(call add_json_bool, Uses_nvidia_enhancements, $(filter TRUE,$(NV_ANDROID_FRAMEWORK_ENHANCEMENTS)))
$(call add_json_bool, Uses_nvidia_enhancements, $(filter true,$(NV_ANDROID_FRAMEWORK_ENHANCEMENTS)))
$(call add_json_bool, Uses_qcom_bsp_legacy, $(filter true,$(TARGET_USES_QCOM_BSP_LEGACY)))
$(call add_json_bool, Uses_qti_camera_device, $(filter true,$(TARGET_USES_QTI_CAMERA_DEVICE)))

product/nvidia.mk

0 → 100644
+18 −0
Original line number Diff line number Diff line
# 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