Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Startup Init Lite
提交
3c7e0135
S
Startup Init Lite
项目概览
OpenHarmony
/
Startup Init Lite
1 年多 前同步成功
通知
3
Star
37
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Startup Init Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3c7e0135
编写于
3月 10, 2023
作者:
Z
zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:Eliminate the dependency on the compilation path of bin hdf_core
Signed-off-by:
N
zhang
<
zhangfengxi@huawei.com
>
上级
2bc2af1a
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
6 deletion
+6
-6
services/begetctl/BUILD.gn
services/begetctl/BUILD.gn
+2
-2
services/begetctl/partitionslot.cpp
services/begetctl/partitionslot.cpp
+2
-2
test/unittest/BUILD.gn
test/unittest/BUILD.gn
+2
-2
未找到文件。
services/begetctl/BUILD.gn
浏览文件 @
3c7e0135
# Copyright (c) 2021-202
2
Huawei Device Co., Ltd.
# Copyright (c) 2021-202
3
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
@@ -114,10 +114,10 @@ if (defined(ohos_lite)) {
if (enable_ohos_startup_init_feature_ab_partition) {
sources += [ "partitionslot.cpp" ]
include_dirs += [ "//drivers/hdf_core/adapter/uhdf2/include" ]
external_deps += [
"drivers_interface_partitionslot:libpartitionslot_proxy_1.0",
"hdf_core:libhdi",
"hdf_core:libpub_utils",
]
}
...
...
services/begetctl/partitionslot.cpp
浏览文件 @
3c7e0135
/*
* Copyright (c) 2022 Huawei Device Co., Ltd.
* Copyright (c) 2022
-2023
Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
...
...
@@ -16,7 +16,7 @@
#include <iostream>
#include "begetctl.h"
#include "
hdi/
idevmgr_hdi.h"
#include "idevmgr_hdi.h"
#include "v1_0/ipartition_slot.h"
using
namespace
OHOS
::
HDI
::
Partitionslot
::
V1_0
;
...
...
test/unittest/BUILD.gn
浏览文件 @
3c7e0135
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Copyright (c) 2021
-2023
Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
...
...
@@ -301,11 +301,11 @@ ohos_unittest("init_unittest") {
]
if (enable_ohos_startup_init_feature_ab_partition) {
include_dirs += [ "//drivers/hdf_core/adapter/uhdf2/include" ]
sources += [ "//base/startup/init/services/begetctl/partitionslot.cpp" ]
external_deps += [
"drivers_interface_partitionslot:libpartitionslot_proxy_1.0",
"hdf_core:libhdi",
"hdf_core:libpub_utils",
]
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录