ozone: evdev: Plumb fling & swipe in gestures (reland)
[chromium-blink-merge.git] / components / domain_reliability.gypi
blob50412d5974b7740cb7d70d8e0f8bd7d01fa59c00
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         '../components/components.gyp:keyed_service_core',
13         '../content/content.gyp:content_browser',
14         '../net/net.gyp:net',
15         '../url/url.gyp:url_lib',
16       ],
17       'include_dirs': [
18         '..',
19       ],
20       'defines': [
21         'DOMAIN_RELIABILITY_IMPLEMENTATION',
22       ],
23       'sources': [
24         'domain_reliability/baked_in_configs.h',
25         'domain_reliability/beacon.cc',
26         'domain_reliability/beacon.h',
27         'domain_reliability/clear_mode.h',
28         'domain_reliability/config.cc',
29         'domain_reliability/config.h',
30         'domain_reliability/context.cc',
31         'domain_reliability/context.h',
32         'domain_reliability/dispatcher.cc',
33         'domain_reliability/dispatcher.h',
34         'domain_reliability/domain_reliability_export.h',
35         'domain_reliability/monitor.cc',
36         'domain_reliability/monitor.h',
37         'domain_reliability/scheduler.cc',
38         'domain_reliability/scheduler.h',
39         'domain_reliability/service.cc',
40         'domain_reliability/service.h',
41         'domain_reliability/uploader.cc',
42         'domain_reliability/uploader.h',
43         'domain_reliability/util.cc',
44         'domain_reliability/util.h',
45       ],
46       'actions': [
47         {
48           'action_name': 'bake_in_configs',
49           'variables': {
50             'bake_in_configs_script': 'domain_reliability/bake_in_configs.py',
51             'baked_in_configs_cc':
52                 '<(INTERMEDIATE_DIR)/domain_reliability/baked_in_configs.cc',
53             'baked_in_configs': [
54               'domain_reliability/baked_in_configs/apis_google_com.json',
55               'domain_reliability/baked_in_configs/ddm_google_com.json',
56               'domain_reliability/baked_in_configs/drive_google_com.json',
57               'domain_reliability/baked_in_configs/mail_google_com.json',
58               'domain_reliability/baked_in_configs/ssl_gstatic_com.json',
59               'domain_reliability/baked_in_configs/www_google_com.json',
60               'domain_reliability/baked_in_configs/www_youtube_com.json',
61             ],
62           },
63           'inputs': [
64             '<(bake_in_configs_script)',
65             '<@(baked_in_configs)',
66           ],
67           'outputs': [
68             '<(baked_in_configs_cc)'
69           ],
70           'action': ['python',
71                      '<(bake_in_configs_script)',
72                      '<@(baked_in_configs)',
73                      '<(baked_in_configs_cc)'],
74           'process_outputs_as_sources': 1,
75           'message': 'Baking in Domain Reliability configs',
76         },
77       ],
78     },
79   ],