From 4cc12c983c55d7e5f7e68770129247d5b3a455bd Mon Sep 17 00:00:00 2001 From: "hanlu1@huawei.com" Date: Tue, 22 Oct 2024 20:10:43 +0800 Subject: [PATCH] motify --- frameworks/BUILD.gn | 4 ++-- frameworks/targets/simulator/BUILD.gn | 2 +- test/ace_test_config.gni | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frameworks/BUILD.gn b/frameworks/BUILD.gn index 2ee24458..9416dd58 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 (ability_lite_enable_ohos_appexecfwk_feature_ability == true) { defines += [ "ABILITY_WINDOW_SUPPORT" ] defines += [ "OHOS_APPEXECFWK_BMS_BUNDLEMANAGER" ] } - if (enable_ohos_aafwk_multi_tasks_feature == true) { + if (ability_lite_enable_ohos_aafwk_multi_tasks_feature == true) { defines += [ "_MINI_MULTI_TASKS_" ] } } diff --git a/frameworks/targets/simulator/BUILD.gn b/frameworks/targets/simulator/BUILD.gn index 48a505fc..371e8b91 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 (ability_lite_enable_ohos_appexecfwk_feature_ability == true) { defines += [ "ABILITY_WINDOW_SUPPORT" ] } } diff --git a/test/ace_test_config.gni b/test/ace_test_config.gni index bf31e63a..ab233a08 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 (ability_lite_enable_ohos_appexecfwk_feature_ability == true) { all_defines += [ "ABILITY_WINDOW_SUPPORT" ] all_defines += [ "OHOS_APPEXECFWK_BMS_BUNDLEMANAGER" ] } -- Gitee