diff --git a/security/BUILD.gn b/security/BUILD.gn index ee3da331fbb0a1ff42e7992a17c04c7a7110157a..27e8f2956612b337b039fc3d142f3eddf6d37a00 100644 --- a/security/BUILD.gn +++ b/security/BUILD.gn @@ -10,8 +10,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import("//build/ohos_var.gni") -import("//test/xts/tools/build/suite.gni") + +base_root = "../../../../" +import("$base_root/build/ohos_var.gni") +import("$base_root/test/xts/tools/build/suite.gni") group("security") { testonly = true diff --git a/security/certificate_framework/js_api_test_one/BUILD.gn b/security/certificate_framework/js_api_test_one/BUILD.gn index c4bd78f9ab290d85f575a1d6af3d9eff1556f364..804f1feb3ba931bf4da2380b76e3a2a944b6aae4 100644 --- a/security/certificate_framework/js_api_test_one/BUILD.gn +++ b/security/certificate_framework/js_api_test_one/BUILD.gn @@ -11,7 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//test/xts/tools/build/suite.gni") +base_root = "../../../../../../" +import("$base_root/test/xts/tools/build/suite.gni") ohos_js_hap_suite("ActsCertificateFrameworkJSNormalTest") { hap_profile = "./src/main/config.json" diff --git a/useriam/BUILD.gn b/useriam/BUILD.gn index da2a7120cd4e60c96b43ea99c07e6563ea74e4b1..98ba6ae03e9db0e5c9c4b1c0a5a153722e720ad6 100644 --- a/useriam/BUILD.gn +++ b/useriam/BUILD.gn @@ -10,8 +10,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import("//build/ohos_var.gni") -import("//test/xts/tools/build/suite.gni") + +base_root = "../../../../" +import("$base_root/build/ohos_var.gni") +import("$base_root/test/xts/tools/build/suite.gni") group("useriam") { testonly = true diff --git a/useriam/face_auth/js_api_test/function_test/userauth/BUILD.gn b/useriam/face_auth/js_api_test/function_test/userauth/BUILD.gn index 10a00487c4defcc6de3d6c6db45707ff1bfc8a21..de94d53b437a2c92ebd1ef6569a7f21a1d703983 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/BUILD.gn +++ b/useriam/face_auth/js_api_test/function_test/userauth/BUILD.gn @@ -11,7 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//test/xts/tools/build/suite.gni") +base_root = "../../../../../../../../" +import("$base_root/test/xts/tools/build/suite.gni") ohos_js_hap_suite("ActsUserauthTest") { hap_profile = "./src/main/config.json" diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/BUILD.gn b/useriam/face_auth/js_api_test/function_test/userauthnopermission/BUILD.gn index 68ff9f176269401f210664e3b4b84500c7a82761..1fd5ac092dc98c366a50b139533b40ece2a3ca02 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/BUILD.gn +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/BUILD.gn @@ -11,7 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//test/xts/tools/build/suite.gni") +base_root = "../../../../../../../../" +import("$base_root/test/xts/tools/build/suite.gni") ohos_js_hap_suite("ActsUserauthnopermissionTest") { hap_profile = "./src/main/config.json" diff --git a/useriam/face_auth/js_api_test/function_test/userauthpart2/BUILD.gn b/useriam/face_auth/js_api_test/function_test/userauthpart2/BUILD.gn index fb3724cb3ac3f448e199792aa763865702e2cd0f..a5b05caac70cb9c11bfae7e2d162200f1c31cc04 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthpart2/BUILD.gn +++ b/useriam/face_auth/js_api_test/function_test/userauthpart2/BUILD.gn @@ -11,7 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//test/xts/tools/build/suite.gni") +base_root = "../../../../../../../../" +import("$base_root/test/xts/tools/build/suite.gni") ohos_js_hap_suite("ActsUserauthTwoTest") { hap_profile = "./src/main/config.json"