[Sync] Componentize UIModelWorker.
[chromium-blink-merge.git] / components / certificate_reporting.gypi
blob87f9f50fdd62bcb8c48a2483b5c6f0b66054c647
1 # Copyright 2015 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.
6   'targets': [
7     {
8       # GN version: //components/certificate_reporting
9       'target_name': 'certificate_reporting',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../crypto/crypto.gyp:crypto',
14         '../net/net.gyp:net',
15         '../url/url.gyp:url_lib',
16         'cert_logger_proto',
17         'encrypted_cert_logger_proto',
18       ],
19       'include_dirs': [
20         '..',
21       ],
22       'sources': [
23         # Note: sources list duplicated in GN build.
24         "certificate_reporting/error_report.cc",
25         "certificate_reporting/error_report.h",
26         "certificate_reporting/error_reporter.cc",
27         "certificate_reporting/error_reporter.h",
28       ]
29     },
30     {
31       # Protobuf compiler / generator for the certificate error reporting
32       # protocol buffer.
33       # GN version: //components/certificate_reporting:cert_logger_proto
34       'target_name': 'cert_logger_proto',
35       'type': 'static_library',
36       'sources': [ 'certificate_reporting/cert_logger.proto', ],
37       'variables': {
38         'proto_in_dir': 'certificate_reporting/',
39         'proto_out_dir': 'components/certificate_reporting/',
40       },
41       'includes': [ '../build/protoc.gypi', ],
42     },
43     {
44       # Protobuf compiler / generator for the encrypted certificate
45       #  reports protocol buffer.
46       # GN version: //components/certificate_reporting:encrypted_cert_logger_proto
47       'target_name': 'encrypted_cert_logger_proto',
48       'type': 'static_library',
49       'sources': [ 'certificate_reporting/encrypted_cert_logger.proto', ],
50       'variables': {
51         'proto_in_dir': 'certificate_reporting/',
52         'proto_out_dir': 'components/certificate_reporting/',
53       },
54       'includes': [ '../build/protoc.gypi', ],
55     },
56   ]