BUILD.gn 912 B

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