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/perfetto_cc_proto_descriptor.gni") 16import("../../../gn/test.gni") 17 18assert(enable_perfetto_trace_processor_sqlite) 19 20source_set("trace_summary") { 21 sources = [ 22 "summary.cc", 23 "summary.h", 24 ] 25 deps = [ 26 ":gen_cc_trace_summary_descriptor", 27 "../../../gn:default_deps", 28 "../../../include/perfetto/trace_processor", 29 "../../../include/perfetto/trace_processor:basic_types", 30 "../../../protos/perfetto/trace_summary:zero", 31 "../../base", 32 "../../protozero", 33 "../../protozero/text_to_proto", 34 "../perfetto_sql/generator", 35 "../util", 36 "../util:descriptors", 37 "../util:protozero_to_text", 38 ] 39} 40 41perfetto_cc_proto_descriptor("gen_cc_trace_summary_descriptor") { 42 descriptor_name = "trace_summary.descriptor" 43 descriptor_target = "../../../protos/perfetto/trace_summary:descriptor" 44} 45