File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -450,8 +450,31 @@ cc_library_shared {
450450 ],
451451}
452452
453+ soong_config_module_type {
454+ name : " libbinder_client_cache_config" ,
455+ module_type : " cc_defaults" ,
456+ config_namespace : " libbinder" ,
457+ bool_variables : [" release_libbinder_client_cache" ],
458+ properties : [
459+ " cflags" ,
460+ ],
461+ }
462+
463+ libbinder_client_cache_config {
464+ name : " libbinder_client_cache_flag" ,
465+ soong_config_variables : {
466+ release_libbinder_client_cache : {
467+ cflags : [" -DLIBBINDER_CLIENT_CACHE" ],
468+ conditions_default : {
469+ cflags : [" -DNO_LIBBINDER_CLIENT_CACHE" ],
470+ },
471+ },
472+ },
473+ }
474+
453475cc_defaults {
454476 name : " libbinder_kernel_defaults" ,
477+ defaults : [" libbinder_client_cache_flag" ],
455478 srcs : [
456479 " BufferedTextOutput.cpp" ,
457480 " BackendUnifiedServiceManager.cpp" ,
You can’t perform that action at this time.
0 commit comments