| # Copyright (C) 2018 The Android Open Source Project |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| import("../../../../gn/proto_library.gni") |
| |
| perfetto_proto_library("@TYPE@") { |
| deps = [ "../../common:@TYPE@" ] |
| |
| sources = [ |
| "android_game_intervention_list.proto", |
| "android_input_event.proto", |
| "android_log.proto", |
| "android_system_property.proto", |
| "camera_event.proto", |
| "frame_timeline_event.proto", |
| "gpu_mem_event.proto", |
| "graphics_frame_event.proto", |
| "initial_display_state.proto", |
| "network_trace.proto", |
| "packages_list.proto", |
| "pixel_modem_events.proto", |
| "protolog.proto", |
| "shell_transition.proto", |
| "surfaceflinger_common.proto", |
| "surfaceflinger_layers.proto", |
| "surfaceflinger_transactions.proto", |
| ] |
| } |
| |
| perfetto_proto_library("winscope_deps") { |
| proto_generators = [ "source_set" ] |
| deps = [ "../../common:@TYPE@" ] |
| sources = [ |
| "protolog.proto", |
| "shell_transition.proto", |
| "surfaceflinger_common.proto", |
| "surfaceflinger_layers.proto", |
| "surfaceflinger_transactions.proto", |
| ] |
| } |
| |
| perfetto_proto_library("winscope_descriptor") { |
| proto_generators = [ "descriptor" ] |
| generate_descriptor = "winscope.descriptor" |
| deps = [ ":winscope_deps" ] |
| sources = [ "winscope.proto" ] |
| } |