Avi Drissman | 4a8573c | 2022-09-09 19:35:54 | [diff] [blame^] | 1 | # Copyright 2014 The Chromium Authors |
[email protected] | 797b2504 | 2014-07-01 23:54:17 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
3 | # found in the LICENSE file. | ||||
4 | |||||
5 | import("//third_party/protobuf/proto_library.gni") | ||||
6 | |||||
Ben Schwartz | 50391424 | 2020-06-10 18:43:27 | [diff] [blame] | 7 | if (is_android) { |
8 | import("//build/config/android/rules.gni") | ||||
9 | } | ||||
10 | |||||
[email protected] | 797b2504 | 2014-07-01 23:54:17 | [diff] [blame] | 11 | proto_library("probe_message_proto") { |
Nico Weber | 8ab2637 | 2020-01-13 17:04:16 | [diff] [blame] | 12 | sources = [ "probe_message.proto" ] |
[email protected] | 797b2504 | 2014-07-01 23:54:17 | [diff] [blame] | 13 | } |
Ben Schwartz | 50391424 | 2020-06-10 18:43:27 | [diff] [blame] | 14 | |
Carlos IL | 092a905570 | 2022-03-16 15:53:26 | [diff] [blame] | 15 | proto_library("key_pinning_proto") { |
16 | sources = [ | ||||
17 | "key_pinning.proto", | ||||
18 | "kp_timestamp.proto", | ||||
19 | ] | ||||
20 | } | ||||
21 | |||||
Ben Schwartz | 50391424 | 2020-06-10 18:43:27 | [diff] [blame] | 22 | if (is_android) { |
23 | java_cpp_enum("secure_dns_management_mode_generated_enum") { | ||||
24 | sources = [ "secure_dns_config.h" ] | ||||
25 | } | ||||
26 | } |