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.
7 'domain_reliability/baked_in_configs.gypi',
11 # GN version: //components/domain_reliability
12 'target_name': 'domain_reliability',
13 'type': '<(component)',
15 '../base/base.gyp:base',
16 '../base/base.gyp:base_prefs',
17 '../components/components.gyp:data_use_measurement_core',
18 '../components/components.gyp:keyed_service_core',
19 '../content/content.gyp:content_browser',
21 '../url/url.gyp:url_lib',
27 'DOMAIN_RELIABILITY_IMPLEMENTATION',
30 # Note: sources list duplicated in GN build.
31 'domain_reliability/baked_in_configs.h',
32 'domain_reliability/beacon.cc',
33 'domain_reliability/beacon.h',
34 'domain_reliability/clear_mode.h',
35 'domain_reliability/config.cc',
36 'domain_reliability/config.h',
37 'domain_reliability/context.cc',
38 'domain_reliability/context.h',
39 'domain_reliability/context_manager.cc',
40 'domain_reliability/context_manager.h',
41 'domain_reliability/dispatcher.cc',
42 'domain_reliability/dispatcher.h',
43 'domain_reliability/domain_reliability_export.h',
44 'domain_reliability/monitor.cc',
45 'domain_reliability/monitor.h',
46 'domain_reliability/scheduler.cc',
47 'domain_reliability/scheduler.h',
48 'domain_reliability/service.cc',
49 'domain_reliability/service.h',
50 'domain_reliability/uploader.cc',
51 'domain_reliability/uploader.h',
52 'domain_reliability/util.cc',
53 'domain_reliability/util.h',
57 'action_name': 'bake_in_configs',
59 'bake_in_configs_script': 'domain_reliability/bake_in_configs.py',
60 'baked_in_configs_cc':
61 '<(INTERMEDIATE_DIR)/domain_reliability/baked_in_configs.cc',
64 '<(bake_in_configs_script)',
65 '<@(baked_in_configs)',
68 '<(baked_in_configs_cc)'
70 # The actual list of JSON files will overflow the command line length
71 # limit on Windows, so pass the name of the .gypi file and
72 # bake_in_configs.py will read the filenames out of it manually.
74 '<(bake_in_configs_script)',
76 'domain_reliability/baked_in_configs.gypi',
77 '<(baked_in_configs_cc)'],
78 'process_outputs_as_sources': 1,
79 'message': 'Baking in Domain Reliability configs',