blob: 6a709d8c625068230c752a28ddda3c18fb688b9f [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541# Copyright 2014 The Chromium Authors
[email protected]797b25042014-07-01 23:54:172# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Fumitoshi Ukaib19e1e262024-12-11 06:24:115import("//chrome/common/features.gni")
[email protected]797b25042014-07-01 23:54:176import("//third_party/protobuf/proto_library.gni")
7
Ben Schwartz503914242020-06-10 18:43:278if (is_android) {
9 import("//build/config/android/rules.gni")
10}
11
[email protected]797b25042014-07-01 23:54:1712proto_library("probe_message_proto") {
Nico Weber8ab26372020-01-13 17:04:1613 sources = [ "probe_message.proto" ]
[email protected]797b25042014-07-01 23:54:1714}
Ben Schwartz503914242020-06-10 18:43:2715
Carlos IL092a9055702022-03-16 15:53:2616proto_library("key_pinning_proto") {
17 sources = [
18 "key_pinning.proto",
19 "kp_timestamp.proto",
20 ]
21}
22
Hubert Chaoe28ab1c2024-09-18 19:32:2523proto_library("server_certificate_database_proto") {
24 sources = [ "server_certificate_database.proto" ]
25}
26
Ben Schwartz503914242020-06-10 18:43:2727if (is_android) {
28 java_cpp_enum("secure_dns_management_mode_generated_enum") {
29 sources = [ "secure_dns_config.h" ]
30 }
31}
Hubert Chao9f1d2b42024-12-09 22:27:2232
Fumitoshi Ukaib19e1e262024-12-11 06:24:1133if (chrome_root_store_cert_management_ui || enable_webui_certificate_viewer) {
34 static_library("server_certificate_database_test_support") {
35 testonly = true
Hubert Chao9f1d2b42024-12-09 22:27:2236
Fumitoshi Ukaib19e1e262024-12-11 06:24:1137 sources = [
38 "server_certificate_database_test_util.cc",
39 "server_certificate_database_test_util.h",
40 ]
Hubert Chao9f1d2b42024-12-09 22:27:2241
Fumitoshi Ukaib19e1e262024-12-11 06:24:1142 deps = [
43 "//base",
44 "//base/test:test_support",
45 "//crypto",
46 "//testing/gmock",
47 "//testing/gtest",
48 ]
49 public_deps = [ "//chrome/browser" ]
50 }
Hubert Chao9f1d2b42024-12-09 22:27:2251}