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 c668009522f045b441306d18bcfd94cbedb66496..532860cbc52c078f66fe035ca90bce2564e4075c --- 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 e8f63f06eaf3dd80cd4eba53be2beefe0c84b208..3370e24c5f8153dbb2a706ebfb3587f406519d84 --- 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"