diff --git a/frameworks/BUILD.gn b/frameworks/BUILD.gn index 2ee2445824bc9c9d99a8421f53ed2a5a104b7651..7d35643b5f0c1b3f4069fea8099c07ebdc92b785 100644 --- a/frameworks/BUILD.gn +++ b/frameworks/BUILD.gn @@ -146,12 +146,12 @@ lite_library("ace_lite") { defines += [ "JSFWK_TEST=1" ] } - if (enable_ohos_appexecfwk_feature_ability == true) { + if (ace_engine_lite_feature_enable_ohos_appexecfwk_ability == true) { defines += [ "ABILITY_WINDOW_SUPPORT" ] defines += [ "OHOS_APPEXECFWK_BMS_BUNDLEMANAGER" ] } - if (enable_ohos_aafwk_multi_tasks_feature == true) { + if (ace_engine_lite_feature_enable_ohos_aafwk_multi_tasks == true) { defines += [ "_MINI_MULTI_TASKS_" ] } } diff --git a/frameworks/targets/simulator/BUILD.gn b/frameworks/targets/simulator/BUILD.gn index 48a505fc787bce27ff13d920719ae7f6eb79fd31..692d8c4312a782bb8172a8e87d341bba8634d2da 100644 --- a/frameworks/targets/simulator/BUILD.gn +++ b/frameworks/targets/simulator/BUILD.gn @@ -66,7 +66,7 @@ if (os_level == "standard") { } else { defines += [ "JS_PROFILER=0" ] } - if (enable_ohos_appexecfwk_feature_ability == true) { + if (ace_engine_lite_feature_enable_ohos_appexecfwk_ability == true) { defines += [ "ABILITY_WINDOW_SUPPORT" ] } } diff --git a/test/ace_test_config.gni b/test/ace_test_config.gni index bf31e63a0c9ca5ef133cbb5fd8b29826038b433c..ee52f8147f77109dcea08bf5f34f49c5b69dd3fc 100644 --- a/test/ace_test_config.gni +++ b/test/ace_test_config.gni @@ -114,7 +114,7 @@ all_external_includes = ace_lite_include_dirs + ace_test_includes # add specific defines for test case only here all_defines = ace_test_defines -if (enable_ohos_appexecfwk_feature_ability == true) { +if (ace_engine_lite_feature_enable_ohos_appexecfwk_ability == true) { all_defines += [ "ABILITY_WINDOW_SUPPORT" ] all_defines += [ "OHOS_APPEXECFWK_BMS_BUNDLEMANAGER" ] }