1# Copyright 2022 The Chromium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("//third_party/protobuf/proto_library.gni") 6 7proto_library("root_store_proto_full") { 8 proto_out_dir = "net/cert/root_store_proto_full/" 9 sources = [ "root_store.proto" ] 10 11 # root_store_tool uses the full protobuf library to parse textproto. This 12 # should not be linked into the browser. If a browser target needs this 13 # protobuf, use the _lite target below. 14 use_protobuf_full = true 15 visibility = [ "//net/tools/root_store_tool:root_store_tool" ] 16} 17 18proto_library("root_store_proto_lite") { 19 proto_out_dir = "net/cert/root_store_proto_lite/" 20 sources = [ "root_store.proto" ] 21 22 cc_generator_options = "lite=true:" 23 visibility = [ 24 "//net:net", 25 "//net:net_public_deps", 26 "//services/cert_verifier:lib", 27 "//services/cert_verifier:tests", 28 ] 29} 30