From aeec439528aeb73e0d498f6f11d493853751fbac Mon Sep 17 00:00:00 2001 From: xinking129 Date: Wed, 6 Dec 2023 17:17:01 +0800 Subject: [PATCH 1/2] fix gn about base ability Signed-off-by: xinking129 --- interfaces/kits/native/app_detail_ability/BUILD.gn | 1 + .../bmssystemtestability/abilitySrc/thirdPageDemo1/BUILD.gn | 1 + .../bmssystemtestability/abilitySrc/thirdPageDemo2/BUILD.gn | 1 + .../bmssystemtestability/abilitySrc/thirdPageDemo3/BUILD.gn | 1 + .../bmssystemtestability/abilitySrc/thirdPageDemo4/BUILD.gn | 1 + 5 files changed, 5 insertions(+) diff --git a/interfaces/kits/native/app_detail_ability/BUILD.gn b/interfaces/kits/native/app_detail_ability/BUILD.gn index 72c8e73393..356dbfc17a 100644 --- a/interfaces/kits/native/app_detail_ability/BUILD.gn +++ b/interfaces/kits/native/app_detail_ability/BUILD.gn @@ -26,6 +26,7 @@ ohos_shared_library("app_detail_ability") { "ability_base:want", "ability_runtime:ability_manager", "ability_runtime:abilitykit_native", + "ability_runtime:base_ability_kit_native", "c_utils:utils", "hilog:libhilog", "napi:ace_napi", diff --git a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo1/BUILD.gn b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo1/BUILD.gn index 3e1d077d9f..3d5f1e1935 100644 --- a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo1/BUILD.gn +++ b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo1/BUILD.gn @@ -38,6 +38,7 @@ ohos_shared_library("page_ability_native1") { "ability_runtime:ability_manager", "ability_runtime:abilitykit_native", "ability_runtime:app_manager", + "ability_runtime:base_ability_kit_native", "c_utils:utils", "common_event_service:cesfwk_innerkits", "hilog:libhilog", diff --git a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo2/BUILD.gn b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo2/BUILD.gn index 6809e475b1..fa51eda5b0 100644 --- a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo2/BUILD.gn +++ b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo2/BUILD.gn @@ -38,6 +38,7 @@ ohos_shared_library("page_ability_native2") { "ability_runtime:ability_manager", "ability_runtime:abilitykit_native", "ability_runtime:app_manager", + "ability_runtime:base_ability_kit_native", "c_utils:utils", "common_event_service:cesfwk_innerkits", "hilog:libhilog", diff --git a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo3/BUILD.gn b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo3/BUILD.gn index d4be31e747..67172fffbb 100644 --- a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo3/BUILD.gn +++ b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo3/BUILD.gn @@ -38,6 +38,7 @@ ohos_shared_library("page_ability_native3") { "ability_runtime:ability_manager", "ability_runtime:abilitykit_native", "ability_runtime:app_manager", + "ability_runtime:base_ability_kit_native", "c_utils:utils", "common_event_service:cesfwk_innerkits", "hilog:libhilog", diff --git a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo4/BUILD.gn b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo4/BUILD.gn index 8c0828f335..91f08841fd 100644 --- a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo4/BUILD.gn +++ b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo4/BUILD.gn @@ -38,6 +38,7 @@ ohos_shared_library("page_ability_native4") { "ability_runtime:ability_manager", "ability_runtime:abilitykit_native", "ability_runtime:app_manager", + "ability_runtime:base_ability_kit_native", "c_utils:utils", "common_event_service:cesfwk_innerkits", "hilog:libhilog", -- Gitee From d35456b940092084f647f45261ec03dd923fcdf7 Mon Sep 17 00:00:00 2001 From: xinking129 Date: Mon, 22 Jan 2024 17:01:07 +0800 Subject: [PATCH 2/2] fix code about base ability Signed-off-by: xinking129 --- interfaces/kits/native/app_detail_ability/BUILD.gn | 2 +- .../bmssystemtestability/abilitySrc/thirdPageDemo1/BUILD.gn | 2 +- .../bmssystemtestability/abilitySrc/thirdPageDemo2/BUILD.gn | 2 +- .../bmssystemtestability/abilitySrc/thirdPageDemo3/BUILD.gn | 2 +- .../bmssystemtestability/abilitySrc/thirdPageDemo4/BUILD.gn | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/interfaces/kits/native/app_detail_ability/BUILD.gn b/interfaces/kits/native/app_detail_ability/BUILD.gn index 356dbfc17a..5ce117eea7 100644 --- a/interfaces/kits/native/app_detail_ability/BUILD.gn +++ b/interfaces/kits/native/app_detail_ability/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# Copyright (c) 2022-2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo1/BUILD.gn b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo1/BUILD.gn index 3d5f1e1935..63ee722154 100644 --- a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo1/BUILD.gn +++ b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo1/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2022 Huawei Device Co., Ltd. +# Copyright (c) 2021-2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo2/BUILD.gn b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo2/BUILD.gn index fa51eda5b0..4c73bdbf39 100644 --- a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo2/BUILD.gn +++ b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo2/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2022 Huawei Device Co., Ltd. +# Copyright (c) 2021-2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo3/BUILD.gn b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo3/BUILD.gn index 67172fffbb..c2c432e5c2 100644 --- a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo3/BUILD.gn +++ b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo3/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2022 Huawei Device Co., Ltd. +# Copyright (c) 2021-2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo4/BUILD.gn b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo4/BUILD.gn index 91f08841fd..660506e2e8 100644 --- a/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo4/BUILD.gn +++ b/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo4/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2022 Huawei Device Co., Ltd. +# Copyright (c) 2021-2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -- Gitee