• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 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("//build/ohos.gni")
15import("//build/test.gni")
16import(
17    "//foundation/resourceschedule/resource_schedule_service/ressched/ressched.gni")
18
19config("client_private_config") {
20  include_dirs = [
21    "//commonlibrary/c_utils/base/include",
22    "//utils/system/safwk/native/include",
23    "${ressched_common}/include",
24  ]
25}
26
27config("client_public_config") {
28  include_dirs = [
29    "include",
30    "//third_party/json/single_include",
31  ]
32}
33
34ohos_shared_library("ressched_client") {
35  configs = [
36    ":client_private_config",
37    "${ressched_services}:ressched_config",
38  ]
39
40  public_configs = [ ":client_public_config" ]
41
42  sources = [
43    "src/res_sched_client.cpp",
44    "src/res_sched_service_proxy.cpp",
45  ]
46
47  deps = [ "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog" ]
48
49  external_deps = [
50    "c_utils:utils",
51    "ipc:ipc_core",
52    "samgr:samgr_proxy",
53  ]
54
55  subsystem_name = "resourceschedule"
56  part_name = "resource_schedule_service"
57}
58