| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| visibility = [ "$cobalt_root/*" ] |
| |
| import("//third_party/protobuf/proto_library.gni") |
| |
| proto_library("pb") { |
| sources = [ |
| "common.proto", |
| "encrypted_message.proto", |
| "envelope.proto", |
| "event.proto", |
| "key.proto", |
| "observation.proto", |
| "observation_batch.proto", |
| ] |
| import_dirs = [ "$cobalt_root" ] |
| proto_in_dir = "$cobalt_root" |
| import_protobuf_full = true |
| generate_python = false |
| cc_generator_options = "lite" |
| deps = [ |
| "$cobalt_root/src/registry:cobalt_registry_proto", |
| "//third_party/boringssl", |
| ] |
| extra_configs = [ "$cobalt_root:cobalt_config" ] |
| } |