• 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("../ts.gni")
15shared_library("proto_services_cpp") {
16  sources = [
17    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/compaction.pb.cc",
18    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/compaction.pb.h",
19  ]
20  include_dirs = [
21    "//third_party/protobuf/src",
22    "//src/include",
23  ]
24}
25shared_library("ftrace_data_cpp") {
26  sources = [
27    "${OHOS_PROTO_GEN}/services/common_types.pb.cc",
28    "${OHOS_PROTO_GEN}/services/common_types.pb.h",
29    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/binder.pb.cc",
30    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/binder.pb.h",
31    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/block.pb.cc",
32    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/block.pb.h",
33    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/cgroup.pb.cc",
34    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/cgroup.pb.h",
35    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/clk.pb.cc",
36    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/clk.pb.h",
37    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/cpuhp.pb.cc",
38    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/cpuhp.pb.h",
39    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/dma_fence.pb.cc",
40    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/dma_fence.pb.h",
41    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/ext4.pb.cc",
42    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/ext4.pb.h",
43    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/filelock.pb.cc",
44    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/filelock.pb.h",
45    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/filemap.pb.cc",
46    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/filemap.pb.h",
47    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/ftrace.pb.cc",
48    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/ftrace.pb.h",
49    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/ftrace_event.pb.cc",
50    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/ftrace_event.pb.h",
51    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/gpio.pb.cc",
52    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/gpio.pb.h",
53    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/i2c.pb.cc",
54    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/i2c.pb.h",
55    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/ipi.pb.cc",
56    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/ipi.pb.h",
57    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/irq.pb.cc",
58    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/irq.pb.h",
59    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/kmem.pb.cc",
60    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/kmem.pb.h",
61    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/net.pb.cc",
62    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/net.pb.h",
63    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/oom.pb.cc",
64    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/oom.pb.h",
65    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/pagemap.pb.cc",
66    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/pagemap.pb.h",
67    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/power.pb.cc",
68    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/power.pb.h",
69    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/printk.pb.cc",
70    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/printk.pb.h",
71    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/raw_syscalls.pb.cc",
72    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/raw_syscalls.pb.h",
73    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/rcu.pb.cc",
74    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/rcu.pb.h",
75    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/sched.pb.cc",
76    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/sched.pb.h",
77    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/signal.pb.cc",
78    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/signal.pb.h",
79    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/sunrpc.pb.cc",
80    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/sunrpc.pb.h",
81    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/task.pb.cc",
82    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/task.pb.h",
83    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/timer.pb.cc",
84    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/timer.pb.h",
85    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/trace_plugin_result.pb.cc",
86    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/trace_plugin_result.pb.h",
87    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/v4l2.pb.cc",
88    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/v4l2.pb.h",
89    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/vmscan.pb.cc",
90    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/vmscan.pb.h",
91    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/workqueue.pb.cc",
92    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/workqueue.pb.h",
93    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/writeback.pb.cc",
94    "${OHOS_PROTO_GEN}/types/plugins/ftrace_data/writeback.pb.h",
95  ]
96  include_dirs = [
97    "//third_party/protobuf/src",
98    "//src/include",
99  ]
100}
101
102shared_library("memory_data_cpp") {
103  sources = [
104    "${OHOS_PROTO_GEN}/types/plugins/memory_data/memory_plugin_common.pb.cc",
105    "${OHOS_PROTO_GEN}/types/plugins/memory_data/memory_plugin_common.pb.h",
106    "${OHOS_PROTO_GEN}/types/plugins/memory_data/memory_plugin_config.pb.cc",
107    "${OHOS_PROTO_GEN}/types/plugins/memory_data/memory_plugin_config.pb.h",
108    "${OHOS_PROTO_GEN}/types/plugins/memory_data/memory_plugin_result.pb.cc",
109    "${OHOS_PROTO_GEN}/types/plugins/memory_data/memory_plugin_result.pb.h",
110  ]
111  include_dirs = [
112    "//third_party/protobuf/src",
113    "//src/include",
114  ]
115}
116
117shared_library("hilog_data_cpp") {
118  sources = [
119    "${OHOS_PROTO_GEN}/types/plugins/hilog_data/hilog_plugin_result.pb.cc",
120    "${OHOS_PROTO_GEN}/types/plugins/hilog_data/hilog_plugin_result.pb.h",
121  ]
122  include_dirs = [
123    "//third_party/protobuf/src",
124    "//src/include",
125  ]
126}
127