From 70abf964d3cb02c36790af86c39c4be7f6a19b8e Mon Sep 17 00:00:00 2001 From: inter515 Date: Wed, 24 May 2023 15:22:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: inter515 --- .../actsbundlenativeninthapitest/BUILD.gn | 2 ++ .../entry/src/main/cpp/BUILD.gn | 13 ++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) mode change 100755 => 100644 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/BUILD.gn mode change 100755 => 100644 bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/BUILD.gn diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/BUILD.gn b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/BUILD.gn old mode 100755 new mode 100644 index c66800952..532860cbc --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/BUILD.gn +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/BUILD.gn @@ -33,6 +33,8 @@ ohos_js_hap_suite("ActsBundleNativeNinthApiTest") { ohos_prebuilt_shared_library("libcppsharedso") { source = rebase_path(libcxx_ndk_shared_file) + subsystem_name = "bundlemanager" + part_name = "bundle_framework" } ohos_js_assets("ace_third_ets_assets") { diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/BUILD.gn b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/BUILD.gn old mode 100755 new mode 100644 index e8f63f06e..3370e24c5 --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/BUILD.gn +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/BUILD.gn @@ -30,16 +30,15 @@ config("public_config") { ohos_shared_library("bundlendk1") { sources = [ "./bundlendk1.cpp" ] - if (!(product_name == "m40")) { - libs = [ rebase_path(libcxx_ndk_shared_file) ] - } - - include_dirs = [ "//test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp" ] + libs = [ rebase_path(libcxx_ndk_shared_file) ] + subsystem_name = "bundlemanager" + part_name = "bundle_framework" + include_dirs = [ "./" ] configs = [ ":config" ] deps = [ - "//foundation/arkui/napi:ace_napi", - "//foundation/bundlemanager/bundle_framework/interfaces/kits/native/bundle:bundle_ndk", + "../../../../../../../../../../../foundation/arkui/napi:ace_napi", + "../../../../../../../../../../../foundation/bundlemanager/bundle_framework/interfaces/kits/native/bundle:bundle_ndk", ] output_extension = "so" -- GitLab