blob: a0cb8a6434c37c4cf67795093ddf50f3681a39b3 [file] [log] [blame]
# Copyright 2023 The Cobalt Authors. All Rights Reserved.
#
# 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("//third_party/protobuf/proto_library.gni")
proto_library("metrics_proto") {
sources = [
"call_stack_profile.proto",
"cast_logs.proto",
"chrome_user_metrics_extension.proto",
"execution_context.proto",
"extension_install.proto",
"histogram_event.proto",
"memory_leak_report.proto",
"omnibox_event.proto",
"omnibox_input_type.proto",
"perf_data.proto",
"perf_stat.proto",
"printer_event.proto",
"reporting_info.proto",
"sampled_profile.proto",
"system_profile.proto",
"translate_event.proto",
"ukm/aggregate.proto",
"ukm/entry.proto",
"ukm/report.proto",
"ukm/source.proto",
"user_action_event.proto",
]
proto_in_dir = "."
# TODO(b/282037939): Remove this when python proto are supported or disabled
# by default.
if (use_cobalt_customizations) {
generate_python = false
}
}