!6 适配嵌入式环境,修复编译问题

From: @s-c-c 
Reviewed-by: @yukaii 
Signed-off-by: @yukaii
This commit is contained in:
openeuler-ci-bot 2024-04-10 09:54:30 +00:00 committed by Gitee
commit 73d873b908
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 6 additions and 2 deletions

View File

@ -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" ]
}

View File

@ -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 <shichuchao@huawei.com> - 1.0.0-2
- Fix device_auth.BUILD.gn include_dirs for embedded
* Thu Oct 12 2023 YuYing Mu <muyuying1@huawei.com> - 1.0.0-1
* Tue Nov 21 2023 JiaQi Zhao <zhaojiaqi18@huawei.com> - 1.0.0-1
- Init and adapt device auth to openEuler