1# Copyright (C) 2019 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15source_set("tracing") {
16  public_deps = [
17    "../../../protos/perfetto/common:cpp",
18    "../../../protos/perfetto/common:zero",
19    "../../../protos/perfetto/config/track_event:cpp",
20    "../../../protos/perfetto/trace:zero",
21    "../../../protos/perfetto/trace/interned_data:zero",
22    "../../../protos/perfetto/trace/track_event:cpp",
23    "../../../protos/perfetto/trace/track_event:zero",
24    "../base",
25    "../protozero",
26    "core:forward_decls",
27  ]
28
29  sources = [
30    "backend_type.h",
31    "buffer_exhausted_policy.h",
32    "console_interceptor.h",
33    "data_source.h",
34    "debug_annotation.h",
35    "event_context.h",
36    "interceptor.h",
37    "internal/basic_types.h",
38    "internal/checked_scope.h",
39    "internal/compile_time_hash.h",
40    "internal/data_source_internal.h",
41    "internal/in_process_tracing_backend.h",
42    "internal/interceptor_trace_writer.h",
43    "internal/system_tracing_backend.h",
44    "internal/tracing_backend_fake.h",
45    "internal/tracing_muxer.h",
46    "internal/tracing_tls.h",
47    "internal/track_event_data_source.h",
48    "internal/track_event_internal.h",
49    "internal/track_event_interned_fields.h",
50    "internal/track_event_macros.h",
51    "internal/write_track_event_args.h",
52    "locked_handle.h",
53    "platform.h",
54    "string_helpers.h",
55    "trace_writer_base.h",
56    "traced_proto.h",
57    "traced_value.h",
58    "traced_value_forward.h",
59    "tracing.h",
60    "tracing_backend.h",
61    "tracing_policy.h",
62    "track.h",
63    "track_event.h",
64    "track_event_category_registry.h",
65    "track_event_interned_data_index.h",
66    "track_event_legacy.h",
67    "track_event_state_tracker.h",
68  ]
69}
70