From a7248888b2f343ef2424b7058d4ca5bef05d6f2d Mon Sep 17 00:00:00 2001 From: qiaozzzh Date: Thu, 11 May 2023 11:44:33 +0800 Subject: [PATCH] certificate and useriam component based modification Signed-off-by: qiaozzzh --- security/BUILD.gn | 6 ++++-- security/certificate_framework/js_api_test_one/BUILD.gn | 3 ++- useriam/BUILD.gn | 6 ++++-- .../face_auth/js_api_test/function_test/userauth/BUILD.gn | 3 ++- .../js_api_test/function_test/userauthnopermission/BUILD.gn | 3 ++- .../js_api_test/function_test/userauthpart2/BUILD.gn | 3 ++- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/security/BUILD.gn b/security/BUILD.gn index ee3da331f..27e8f2956 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 c4bd78f9a..804f1feb3 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 da2a7120c..98ba6ae03 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 10a00487c..de94d53b4 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 68ff9f176..1fd5ac092 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 fb3724cb3..a5b05caac 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" -- GitLab