summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Kling <webgeek1234@gmail.com>2019-11-07 20:10:45 -0600
committerRashed Abdel-Tawab <rashedabdeltawab@gmail.com>2020-10-08 17:39:03 +0200
commitbbd345b2151f0916531700fef21167d9fc3f4ec0 (patch)
treed8b5f50ccff4607bbc7d6392a213850daed68ad2
parentecbf3a14162f05ca8647ab83aed3bc2a2c8ce76d (diff)
downloadexternal_wget-bbd345b2151f0916531700fef21167d9fc3f4ec0.tar.gz
external_wget-bbd345b2151f0916531700fef21167d9fc3f4ec0.tar.bz2
external_wget-bbd345b2151f0916531700fef21167d9fc3f4ec0.zip
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
-rw-r--r--build/soong/soong_config.mk2
-rw-r--r--product/nvidia.mk18
2 files changed, 19 insertions, 1 deletions
diff --git a/build/soong/soong_config.mk b/build/soong/soong_config.mk
index dda79782..db222bc5 100644
--- a/build/soong/soong_config.mk
+++ b/build/soong/soong_config.mk
@@ -18,7 +18,7 @@ $(call add_json_str_omitempty, Target_process_sdk_version_override, $(TARGET_PRO
$(call add_json_str_omitempty, Target_shim_libs, $(TARGET_LD_SHIM_LIBS))
$(call add_json_bool, Uses_generic_camera_parameter_library, $(if $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY),,true))
$(call add_json_bool, Uses_metadata_as_fde_key, $(filter true,$(TARGET_USES_METADATA_AS_FDE_KEY)))
-$(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)))
$(call add_json_bool, Uses_qcom_um_family, $(filter true,$(TARGET_USES_QCOM_UM_FAMILY)))
diff --git a/product/nvidia.mk b/product/nvidia.mk
new file mode 100644
index 00000000..5ae815d0
--- /dev/null
+++ b/product/nvidia.mk
@@ -0,0 +1,18 @@
+# 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