91 lines
2.2 KiB
Plaintext
91 lines
2.2 KiB
Plaintext
// AOSPA Soong Configurations
|
|
|
|
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"],
|
|
},
|
|
},
|
|
}
|
|
|
|
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 {
|
|
name: "surfaceflinger_udfps_lib",
|
|
module_type: "cc_defaults",
|
|
config_namespace: "aospaGlobalVars",
|
|
value_variables: ["target_surfaceflinger_udfps_lib"],
|
|
properties: [
|
|
"cppflags",
|
|
"whole_static_libs",
|
|
],
|
|
}
|
|
|
|
surfaceflinger_udfps_lib {
|
|
name: "surfaceflinger_udfps_lib_defaults",
|
|
soong_config_variables: {
|
|
target_surfaceflinger_udfps_lib: {
|
|
cppflags: ["-DTARGET_PROVIDES_UDFPS_LIB"],
|
|
whole_static_libs: ["%s"],
|
|
},
|
|
},
|
|
}
|