[Eraser strings] Remove unused Supervised User infobar and corresponding strings
[chromium-blink-merge.git] / components / domain_reliability.gypi
blob9b1d7d5820e0165dbe00376595a69c1514361174
1 # Copyright 2014 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   'includes': [
7     'domain_reliability/baked_in_configs.gypi',
8   ],
9   'targets': [
10     {
11       # GN version: //components/domain_reliability
12       'target_name': 'domain_reliability',
13       'type': '<(component)',
14       'dependencies': [
15         '../base/base.gyp:base',
16         '../base/base.gyp:base_prefs',
17         '../components/components.gyp:keyed_service_core',
18         '../content/content.gyp:content_browser',
19         '../net/net.gyp:net',
20         '../url/url.gyp:url_lib',
21       ],
22       'include_dirs': [
23         '..',
24       ],
25       'defines': [
26         'DOMAIN_RELIABILITY_IMPLEMENTATION',
27       ],
28       'sources': [
29         # Note: sources list duplicated in GN build.
30         'domain_reliability/baked_in_configs.h',
31         'domain_reliability/beacon.cc',
32         'domain_reliability/beacon.h',
33         'domain_reliability/clear_mode.h',
34         'domain_reliability/config.cc',
35         'domain_reliability/config.h',
36         'domain_reliability/context.cc',
37         'domain_reliability/context.h',
38         'domain_reliability/context_manager.cc',
39         'domain_reliability/context_manager.h',
40         'domain_reliability/dispatcher.cc',
41         'domain_reliability/dispatcher.h',
42         'domain_reliability/domain_reliability_export.h',
43         'domain_reliability/monitor.cc',
44         'domain_reliability/monitor.h',
45         'domain_reliability/scheduler.cc',
46         'domain_reliability/scheduler.h',
47         'domain_reliability/service.cc',
48         'domain_reliability/service.h',
49         'domain_reliability/uploader.cc',
50         'domain_reliability/uploader.h',
51         'domain_reliability/util.cc',
52         'domain_reliability/util.h',
53       ],
54       'actions': [
55         {
56           'action_name': 'bake_in_configs',
57           'variables': {
58             'bake_in_configs_script': 'domain_reliability/bake_in_configs.py',
59             'baked_in_configs_cc':
60                 '<(INTERMEDIATE_DIR)/domain_reliability/baked_in_configs.cc',
61           },
62           'inputs': [
63             '<(bake_in_configs_script)',
64             '<@(baked_in_configs)',
65           ],
66           'outputs': [
67             '<(baked_in_configs_cc)'
68           ],
69           # The actual list of JSON files will overflow the command line length
70           # limit on Windows, so pass the name of the .gypi file and
71           # bake_in_configs.py will read the filenames out of it manually.
72           'action': ['python',
73                      '<(bake_in_configs_script)',
74                      '.',
75                      'domain_reliability/baked_in_configs.gypi',
76                      '<(baked_in_configs_cc)'],
77           'process_outputs_as_sources': 1,
78           'message': 'Baking in Domain Reliability configs',
79         },
80       ],
81     },
82   ],