• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2020 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
15import("../../../../gn/proto_library.gni")
16
17perfetto_proto_library("@TYPE@") {
18  proto_generators = [ "source_set" ]
19  deps = [
20    "..:@TYPE@",
21    "..:custom_options_@TYPE@",
22  ]
23  sources = [
24    "all_chrome_metrics.proto",
25    "args_class_names.proto",
26    "blink_gc_metric.proto",
27    "dropped_frames.proto",
28    "frame_times.proto",
29    "histogram_hashes.proto",
30    "long_latency.proto",
31    "media_metric.proto",
32    "performance_mark_hashes.proto",
33    "reported_by_page.proto",
34    "scroll_jank.proto",
35    "scroll_jank_v2.proto",
36    "slice_names.proto",
37    "test_chrome_metric.proto",
38    "touch_jank.proto",
39    "unsymbolized_args.proto",
40    "user_event_hashes.proto",
41  ]
42}
43
44perfetto_proto_library("descriptor") {
45  proto_generators = [ "descriptor" ]
46  import_dirs = [ "${perfetto_protobuf_src_dir}" ]
47  generate_descriptor = "all_chrome_metrics.descriptor"
48  deps = [ ":source_set" ]
49  sources = [ "all_chrome_metrics.proto" ]
50}
51