Roll in ToT WebGL conformance tests.
[chromium-blink-merge.git] / components / domain_reliability.gypi
blob7a2430af7a5b092bdfec4735ee05567d904c6944
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   'targets': [
7     {
8       'target_name': 'domain_reliability',
9       'type': '<(component)',
10       'dependencies': [
11         '../base/base.gyp:base',
12         '../content/content.gyp:content_browser',
13         '../net/net.gyp:net',
14         '../url/url.gyp:url_lib',
15       ],
16       'include_dirs': [
17         '..',
18       ],
19       'defines': [
20         'DOMAIN_RELIABILITY_IMPLEMENTATION',
21       ],
22       'sources': [
23         'domain_reliability/baked_in_configs.h',
24         'domain_reliability/beacon.cc',
25         'domain_reliability/beacon.h',
26         'domain_reliability/config.cc',
27         'domain_reliability/config.h',
28         'domain_reliability/context.cc',
29         'domain_reliability/context.h',
30         'domain_reliability/dispatcher.cc',
31         'domain_reliability/dispatcher.h',
32         'domain_reliability/domain_reliability_export.h',
33         'domain_reliability/monitor.cc',
34         'domain_reliability/monitor.h',
35         'domain_reliability/scheduler.cc',
36         'domain_reliability/scheduler.h',
37         'domain_reliability/uploader.cc',
38         'domain_reliability/uploader.h',
39         'domain_reliability/util.cc',
40         'domain_reliability/util.h',
41       ],
42       'actions': [
43         {
44           'action_name': 'bake_in_configs',
45           'variables': {
46             'bake_in_configs_script': 'domain_reliability/bake_in_configs.py',
47             'baked_in_configs_cc':
48                 '<(INTERMEDIATE_DIR)/domain_reliability/baked_in_configs.cc',
49             'baked_in_configs': [
50               'domain_reliability/baked_in_configs/apis_google_com.json',
51               'domain_reliability/baked_in_configs/ddm_google_com.json',
52               'domain_reliability/baked_in_configs/ssl_gstatic_com.json',
53               'domain_reliability/baked_in_configs/www_google_com.json',
54               'domain_reliability/baked_in_configs/www_youtube_com.json',
55             ],
56           },
57           'inputs': [
58             '<(bake_in_configs_script)',
59             '<@(baked_in_configs)',
60           ],
61           'outputs': [
62             '<(baked_in_configs_cc)'
63           ],
64           'action': ['python',
65                      '<(bake_in_configs_script)',
66                      '<@(baked_in_configs)',
67                      '<(baked_in_configs_cc)'],
68           'process_outputs_as_sources': 1,
69           'message': 'Baking in Domain Reliability configs',
70         },
71       ],
72     },
73   ],