• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//base/update/updater/updater_default_cfg.gni")
15import("//build/ohos.gni")
16
17ohos_static_library("libfsmanager") {
18  sources = [
19    "cmp_partition.cpp",
20    "do_partition.cpp",
21    "mount.cpp",
22    "partitions.cpp",
23  ]
24
25  include_dirs = [
26    "//base/startup/init/interfaces/innerkits/include",
27    "//base/update/updater/services/include",
28    "//base/update/updater/interfaces/kits/include",
29    "//base/update/updater/utils/include",
30    "//third_party/bounds_checking_function/include",
31  ]
32
33  deps = [
34    "//base/update/updater/utils:libutils",
35    "//third_party/bounds_checking_function:libsec_static",
36  ]
37
38  external_deps += [ "init:libfsmanager_static" ]
39  subsystem_name = "updater"
40  part_name = "updater"
41}
42