From 17316fee0011c6ab5fd6767c798b32980873f09a Mon Sep 17 00:00:00 2001 From: s_c_c Date: Wed, 3 Apr 2024 16:27:03 +0800 Subject: [PATCH] Fix device_auth.BUILD.gn include_dirs for embedded --- device_auth.BUILD.gn | 3 ++- security_device_auth.spec | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/device_auth.BUILD.gn b/device_auth.BUILD.gn index c507605..c36d0e8 100644 --- a/device_auth.BUILD.gn +++ b/device_auth.BUILD.gn @@ -12,9 +12,10 @@ # limitations under the License. import("//build/ohos.gni") +import("//build/config/sysroot.gni") config("deviceauth_config") { - include_dirs = [ "//base/security/device_auth/interfaces/innerkits" ] + include_dirs = [ "${sysroot}/usr/include/device_auth" ] libs = [ "deviceauth_sdk.z" ] } diff --git a/security_device_auth.spec b/security_device_auth.spec index b91564e..20c5679 100644 --- a/security_device_auth.spec +++ b/security_device_auth.spec @@ -5,7 +5,7 @@ Name: security_device_auth Version: 1.0.0 -Release: 1 +Release: 2 Summary: System ability manager License: Apache License 2.0 Url: https://gitee.com/openharmony/security_device_auth @@ -102,6 +102,9 @@ ln -s /usr/include/device_auth %{buildroot}%{build_opt}/openeuler/compiler_gn/ %{build_opt}/* %changelog +* Wed Apr 3 2024 s_c_c - 1.0.0-2 +- Fix device_auth.BUILD.gn include_dirs for embedded + * Thu Oct 12 2023 YuYing Mu - 1.0.0-1 * Tue Nov 21 2023 JiaQi Zhao - 1.0.0-1 - Init and adapt device auth to openEuler -- Gitee