• 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.
13import("//build/ohos.gni")
14import("//foundation/filemanagement/dfs_service/distributedfile.gni")
15
16config("private_config") {
17  include_dirs = [ "../../../frameworks/native/include" ]
18
19  configs = [ "//build/config/compiler:exceptions" ]
20}
21
22config("public_config") {
23  include_dirs = [ "." ]
24}
25
26ohos_shared_library("libdistributedfile_innerkits") {
27  sources = [
28    "${distributedfile_path}/frameworks/native/src/filetransfer_callback_proxy.cpp",
29    "${distributedfile_path}/frameworks/native/src/service_proxy.cpp",
30  ]
31
32  configs = [ ":private_config" ]
33
34  public_configs = [ ":public_config" ]
35
36  external_deps = [
37    "ipc:ipc_core",
38    "safwk:system_ability_fwk",
39  ]
40
41  deps = [ "${utils_path}:libdistributedfileutils" ]
42
43  part_name = "dfs_service"
44  subsystem_name = "filemanagement"
45}
46