提交 3c7e0135 编写于 作者: Z zhang

fix:Eliminate the dependency on the compilation path of bin hdf_core

Signed-off-by: Nzhang <zhangfengxi@huawei.com>
上级 2bc2af1a
# Copyright (c) 2021-2022 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
......@@ -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",
]
}
......
/*
* 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;
......
# 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.
先完成此消息的编辑!
想要评论请 注册