• 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  configs = [ ":client_private_config" ]
38
39  public_configs = [ ":client_public_config" ]
40
41  sources = [
42    "src/concurrent_task_client.cpp",
43    "src/concurrent_task_service_proxy.cpp",
44  ]
45
46  public_deps = [ "//third_party/jsoncpp:jsoncpp" ]
47
48  external_deps = [
49    "c_utils:utils",
50    "eventhandler:libeventhandler",
51    "hilog:libhilog",
52    "ipc:ipc_single",
53    "samgr:samgr_proxy",
54  ]
55
56  subsystem_name = "resourceschedule"
57  part_name = "qos_manager"
58}
59