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 15import("../../../../gn/proto_library.gni") 16 17perfetto_proto_library("@TYPE@") { 18 sources = [ 19 "chrome_application_state_info.proto", 20 "chrome_compositor_scheduler_state.proto", 21 "chrome_content_settings_event_info.proto", 22 "chrome_frame_reporter.proto", 23 "chrome_histogram_sample.proto", 24 "chrome_keyed_service.proto", 25 "chrome_latency_info.proto", 26 "chrome_legacy_ipc.proto", 27 "chrome_message_pump.proto", 28 "chrome_mojo_event_info.proto", 29 "chrome_process_descriptor.proto", 30 "chrome_renderer_scheduler_state.proto", 31 "chrome_thread_descriptor.proto", 32 "chrome_user_event.proto", 33 "chrome_window_handle_event_info.proto", 34 "counter_descriptor.proto", 35 "debug_annotation.proto", 36 "log_message.proto", 37 "process_descriptor.proto", 38 "source_location.proto", 39 "task_execution.proto", 40 "thread_descriptor.proto", 41 "track_descriptor.proto", 42 "track_event.proto", 43 ] 44} 45 46perfetto_proto_library("track_event_@TYPE@") { 47 proto_generators = [ "descriptor" ] 48 generate_descriptor = "track_event.descriptor" 49 sources = [ "track_event.proto" ] 50 deps = [ ":source_set" ] 51} 52