2021-08-21 17:23:58 +00:00
|
|
|
// AOSPA Soong Configurations
|
|
|
|
|
2021-06-10 22:39:41 +00:00
|
|
|
soong_config_module_type {
|
|
|
|
name: "needs_camera_boottime",
|
|
|
|
module_type: "cc_defaults",
|
|
|
|
config_namespace: "aospaGlobalVars",
|
|
|
|
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"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2021-08-21 17:23:58 +00:00
|
|
|
soong_config_module_type {
|
|
|
|
name: "target_process_sdk_version_overrides",
|
|
|
|
module_type: "cc_defaults",
|
|
|
|
config_namespace: "aospaGlobalVars",
|
|
|
|
value_variables: ["target_process_sdk_version_override"],
|
|
|
|
properties: ["cppflags"],
|
|
|
|
}
|
|
|
|
|
|
|
|
target_process_sdk_version_overrides {
|
|
|
|
name: "process_sdk_version_overrides_defaults",
|
|
|
|
soong_config_variables: {
|
|
|
|
target_process_sdk_version_override: {
|
|
|
|
cppflags: ["-DSDK_VERSION_OVERRIDES=\"%s\""],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
soong_config_module_type {
|
|
|
|
name: "target_shim_libs",
|
|
|
|
module_type: "cc_defaults",
|
|
|
|
config_namespace: "aospaGlobalVars",
|
|
|
|
value_variables: ["target_ld_shim_libs"],
|
|
|
|
properties: ["cppflags"],
|
|
|
|
}
|
|
|
|
|
|
|
|
target_shim_libs {
|
|
|
|
name: "shim_libs_defaults",
|
|
|
|
soong_config_variables: {
|
|
|
|
target_ld_shim_libs: {
|
|
|
|
cppflags: ["-DLD_SHIM_LIBS=\"%s\""],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
soong_config_module_type {
|
|
|
|
name: "vendor_init",
|
|
|
|
module_type: "cc_defaults",
|
|
|
|
config_namespace: "aospaGlobalVars",
|
|
|
|
value_variables: ["target_init_vendor_lib"],
|
|
|
|
properties: ["whole_static_libs"],
|
|
|
|
}
|
|
|
|
|
|
|
|
vendor_init {
|
|
|
|
name: "vendor_init_defaults",
|
|
|
|
soong_config_variables: {
|
|
|
|
target_init_vendor_lib: {
|
|
|
|
whole_static_libs: ["%s"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
soong_config_module_type {
|
2021-10-12 06:09:57 +00:00
|
|
|
name: "surfaceflinger_udfps_lib",
|
2021-08-21 17:23:58 +00:00
|
|
|
module_type: "cc_defaults",
|
|
|
|
config_namespace: "aospaGlobalVars",
|
2021-10-12 06:09:57 +00:00
|
|
|
value_variables: ["target_surfaceflinger_udfps_lib"],
|
2021-08-21 17:23:58 +00:00
|
|
|
properties: [
|
|
|
|
"cppflags",
|
|
|
|
"whole_static_libs",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
2021-10-12 06:09:57 +00:00
|
|
|
surfaceflinger_udfps_lib {
|
|
|
|
name: "surfaceflinger_udfps_lib_defaults",
|
2021-08-21 17:23:58 +00:00
|
|
|
soong_config_variables: {
|
2021-10-12 06:09:57 +00:00
|
|
|
target_surfaceflinger_udfps_lib: {
|
|
|
|
cppflags: ["-DTARGET_PROVIDES_UDFPS_LIB"],
|
2021-08-21 17:23:58 +00:00
|
|
|
whole_static_libs: ["%s"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
2023-01-15 09:49:40 +00:00
|
|
|
|
|
|
|
soong_config_module_type {
|
|
|
|
name: "uses_oplus_camera",
|
|
|
|
module_type: "cc_defaults",
|
|
|
|
config_namespace: "aospaGlobalVars",
|
|
|
|
bool_variables: ["uses_oplus_camera"],
|
|
|
|
properties: ["cppflags"],
|
|
|
|
}
|
|
|
|
uses_oplus_camera {
|
|
|
|
name: "uses_oplus_camera_defaults",
|
|
|
|
soong_config_variables: {
|
|
|
|
uses_oplus_camera: {
|
|
|
|
cppflags: ["-DUSES_OPLUS_CAMERA"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
2023-01-15 09:52:32 +00:00
|
|
|
|
|
|
|
soong_config_module_type {
|
|
|
|
name: "uses_nothing_camera",
|
|
|
|
module_type: "cc_defaults",
|
|
|
|
config_namespace: "aospaGlobalVars",
|
|
|
|
bool_variables: ["uses_nothing_camera"],
|
|
|
|
properties: ["cppflags"],
|
|
|
|
}
|
|
|
|
|
|
|
|
uses_nothing_camera {
|
|
|
|
name: "uses_nothing_camera_defaults",
|
|
|
|
soong_config_variables: {
|
|
|
|
uses_nothing_camera: {
|
|
|
|
cppflags: ["-DUSES_NOTHING_CAMERA"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|