• 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")
16
17config("client_private_config") {
18  cflags_cc = [ "-fexceptions" ]
19  include_dirs = [
20    "../../include",
21    "../../services/include",
22    "//commonlibrary/c_utils/base/include",
23    "//utils/system/safwk/native/include",
24  ]
25}
26
27config("client_public_config") {
28  visibility = [ ":*" ]
29  cflags = [ "-fstack-protector-strong" ]
30  include_dirs = [
31    "include",
32    "../../interfaces/inner_api/",
33  ]
34}
35
36ohos_shared_library("concurrent_task_client") {
37  branch_protector_ret = "pac_ret"
38  sanitize = {
39    cfi = true
40    cfi_cross_dso = true
41    debug = false
42  }
43  configs = [ ":client_private_config" ]
44
45  public_configs = [ ":client_public_config" ]
46
47  sources = [
48    "src/concurrent_task_client.cpp",
49    "src/concurrent_task_service_proxy.cpp",
50  ]
51
52  public_deps = [ "//third_party/jsoncpp:jsoncpp" ]
53
54  external_deps = [
55    "c_utils:utils",
56    "hilog:libhilog",
57    "ipc:ipc_single",
58    "samgr:samgr_proxy",
59  ]
60
61  subsystem_name = "resourceschedule"
62  part_name = "qos_manager"
63}
64