mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 12:43:16 -04:00
1fd05adacc
Based on empirical findings (libappms +10KB, ets_environment +0KB, cj_ability_ffi +0KB), exclude SA services, platformsdk innerapi, and small-size targets where optimize_config has no actual benefit. CJ extension (likely effective, non-platformsdk): - cj_form_extension, cj_embedded_ui_extension ANI wrappers (small but stable): - app_memory_optimizer_ani_kit, share_extension_ani, uri_permission_manager_ani_kit NAPI wrappers (small but stable): - autostartupcallback, appmemoryoptimizer_napi, insightintentprovider_napi, dialogrequest_napi, intent_client, scriptmanager_napi Excluded (no empirical benefit based on prior measurements): - SA services: libappms, libupms, libclimgr (shlib_type=sa overrides) - platformsdk innerapi: ets_environment, cli_tool_client, ability_deps_wrapper, perm_verification, ability_start_options, cj_extensionkit_native, ark_interop_helper_ffi - cj_ability_ffi (target cflags -O2 overrides optimize_config -Oz) Skipped (already adopted in other PRs by other contributors): - agentmgr, climanager_napi, functionmanager_napi Skipped (small size, not worth the change): - callee_napi Co-Authored-By: Agent Signed-off-by: RuiChen_01 <chenrui193@huawei.com>