diff --git a/appexecfwk.gni b/appexecfwk.gni index 020c7e87..3f280481 100644 --- a/appexecfwk.gni +++ b/appexecfwk.gni @@ -21,6 +21,7 @@ kits_path = "${appexecfwk_path}/interfaces/kits" innerkits_path = "${appexecfwk_path}/interfaces/innerkits" inner_api_path = "${appexecfwk_path}/interfaces/inner_api" tools_path = "${appexecfwk_path}/tools" +aafwk_innerkits_path = "//foundation/aafwk/standard/interfaces/innerkits" use_pre_bundle_profile = false declare_args() { bundle_framework_graphics = true diff --git a/test/fuzztest/parse_fuzzer/BUILD.gn b/test/fuzztest/parse_fuzzer/BUILD.gn index 05a37978..4c482549 100644 --- a/test/fuzztest/parse_fuzzer/BUILD.gn +++ b/test/fuzztest/parse_fuzzer/BUILD.gn @@ -34,11 +34,11 @@ ohos_fuzztest("ParseFuzzTest") { sources = [ "parse_fuzzer.cpp" ] deps = [ + "${aafwk_innerkits_path}/base:base", + "${aafwk_innerkits_path}/want:want", "${common_path}:libappexecfwk_common", "${services_path}/bundlemgr:bundle_parser", "${services_path}/bundlemgr:parser_common", - "//foundation/aafwk/standard/interfaces/innerkits/base:base", - "//foundation/aafwk/standard/interfaces/innerkits/want:want", "//third_party/googletest:gtest_main", ] external_deps = [ diff --git a/test/fuzztest/parsesyscap_fuzzer/BUILD.gn b/test/fuzztest/parsesyscap_fuzzer/BUILD.gn index 352f755e..1d9cd6e5 100644 --- a/test/fuzztest/parsesyscap_fuzzer/BUILD.gn +++ b/test/fuzztest/parsesyscap_fuzzer/BUILD.gn @@ -34,11 +34,11 @@ ohos_fuzztest("ParseSysCapFuzzTest") { sources = [ "parsesyscap_fuzzer.cpp" ] deps = [ + "${aafwk_innerkits_path}/base:base", + "${aafwk_innerkits_path}/want:want", "${common_path}:libappexecfwk_common", "${services_path}/bundlemgr:bundle_parser", "${services_path}/bundlemgr:parser_common", - "//foundation/aafwk/standard/interfaces/innerkits/base:base", - "//foundation/aafwk/standard/interfaces/innerkits/want:want", "//third_party/googletest:gtest_main", ] external_deps = [