soong: Add TARGET_CAMERA_BOOTTIME_TIMESTAMP conditional
Change-Id: Ic48acda208fc9990fc5c9159ad06518d48f21477
This commit is contained in:
@@ -174,6 +174,23 @@ ignores_ftp_pptp_conntrack_failure_defaults {
|
||||
},
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "needs_camera_boottime",
|
||||
module_type: "cc_defaults",
|
||||
config_namespace: "lineageGlobalVars",
|
||||
bool_variables: ["needs_camera_boottime"],
|
||||
properties: ["cppflags"],
|
||||
}
|
||||
|
||||
needs_camera_boottime {
|
||||
name: "needs_camera_boottime_defaults",
|
||||
soong_config_variables: {
|
||||
needs_camera_boottime: {
|
||||
cppflags: ["-DTARGET_CAMERA_BOOTTIME_TIMESTAMP"],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "needs_netd_direct_connect_rule",
|
||||
module_type: "cc_defaults",
|
||||
|
@@ -34,6 +34,7 @@ SOONG_CONFIG_lineageGlobalVars += \
|
||||
has_legacy_camera_hal1 \
|
||||
has_memfd_backport \
|
||||
ignores_ftp_pptp_conntrack_failure \
|
||||
needs_camera_boottime \
|
||||
needs_netd_direct_connect_rule \
|
||||
target_init_vendor_lib \
|
||||
target_ld_shim_libs \
|
||||
@@ -67,6 +68,7 @@ SOONG_CONFIG_lineageGlobalVars_disable_postrender_cleanup := $(TARGET_DISABLE_PO
|
||||
SOONG_CONFIG_lineageGlobalVars_has_legacy_camera_hal1 := $(TARGET_HAS_LEGACY_CAMERA_HAL1)
|
||||
SOONG_CONFIG_lineageGlobalVars_has_memfd_backport := $(TARGET_HAS_MEMFD_BACKPORT)
|
||||
SOONG_CONFIG_lineageGlobalVars_ignores_ftp_pptp_conntrack_failure := $(TARGET_IGNORES_FTP_PPTP_CONNTRACK_FAILURE)
|
||||
SOONG_CONFIG_lineageGlobalVars_needs_camera_boottime := $(TARGET_CAMERA_BOOTTIME_TIMESTAMP)
|
||||
SOONG_CONFIG_lineageGlobalVars_needs_netd_direct_connect_rule := $(TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE)
|
||||
SOONG_CONFIG_lineageNvidiaVars_uses_nv_enhancements := $(NV_ANDROID_FRAMEWORK_ENHANCEMENTS)
|
||||
SOONG_CONFIG_lineageQcomVars_legacy_hw_disk_encryption := $(TARGET_LEGACY_HW_DISK_ENCRYPTION)
|
||||
|
Reference in New Issue
Block a user