| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 { | |
| 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 '../components/components.gyp:data_use_measurement_core', | |
| 17 '../components/components.gyp:keyed_service_core', | |
| 18 '../components/prefs/prefs.gyp:prefs', | |
| 19 '../content/content.gyp:content_browser', | |
| 20 '../content/content.gyp:content_common', | |
| 21 '../net/net.gyp:net', | |
| 22 '../url/url.gyp:url_lib', | |
| 23 ], | |
| 24 'include_dirs': [ | |
| 25 '..', | |
| 26 ], | |
| 27 'defines': [ | |
| 28 'DOMAIN_RELIABILITY_IMPLEMENTATION', | |
| 29 ], | |
| 30 'sources': [ | |
| 31 # Note: sources list duplicated in GN build. | |
| 32 'domain_reliability/baked_in_configs.h', | |
| 33 'domain_reliability/beacon.cc', | |
| 34 'domain_reliability/beacon.h', | |
| 35 'domain_reliability/clear_mode.h', | |
| 36 'domain_reliability/config.cc', | |
| 37 'domain_reliability/config.h', | |
| 38 'domain_reliability/context.cc', | |
| 39 'domain_reliability/context.h', | |
| 40 'domain_reliability/context_manager.cc', | |
| 41 'domain_reliability/context_manager.h', | |
| 42 'domain_reliability/dispatcher.cc', | |
| 43 'domain_reliability/dispatcher.h', | |
| 44 'domain_reliability/domain_reliability_export.h', | |
| 45 'domain_reliability/google_configs.cc', | |
| 46 'domain_reliability/google_configs.h', | |
| 47 'domain_reliability/header.cc', | |
| 48 'domain_reliability/header.h', | |
| 49 'domain_reliability/monitor.cc', | |
| 50 'domain_reliability/monitor.h', | |
| 51 'domain_reliability/quic_error_mapping.cc', | |
| 52 'domain_reliability/quic_error_mapping.h', | |
| 53 'domain_reliability/scheduler.cc', | |
| 54 'domain_reliability/scheduler.h', | |
| 55 'domain_reliability/service.cc', | |
| 56 'domain_reliability/service.h', | |
| 57 'domain_reliability/uploader.cc', | |
| 58 'domain_reliability/uploader.h', | |
| 59 'domain_reliability/util.cc', | |
| 60 'domain_reliability/util.h', | |
| 61 ], | |
| 62 'actions': [ | |
| 63 { | |
| 64 'action_name': 'bake_in_configs', | |
| 65 'variables': { | |
| 66 'bake_in_configs_script': 'domain_reliability/bake_in_configs.py', | |
| 67 'baked_in_configs_cc': | |
| 68 '<(INTERMEDIATE_DIR)/domain_reliability/baked_in_configs.cc', | |
| 69 }, | |
| 70 'inputs': [ | |
| 71 '<(bake_in_configs_script)', | |
| 72 '<@(baked_in_configs)', | |
| 73 'domain_reliability/baked_in_configs.gypi', | |
| 74 ], | |
| 75 'outputs': [ | |
| 76 '<(baked_in_configs_cc)' | |
| 77 ], | |
| 78 # The actual list of JSON files will overflow the command line length | |
| 79 # limit on Windows, so pass the name of the .gypi file and | |
| 80 # bake_in_configs.py will read the filenames out of it manually. | |
| 81 'action': ['python', | |
| 82 '<(bake_in_configs_script)', | |
| 83 '--gypi-relative-to=.', | |
| 84 '--gypi-file=domain_reliability/baked_in_configs.gypi', | |
| 85 '--output=<(baked_in_configs_cc)'], | |
| 86 'process_outputs_as_sources': 1, | |
| 87 'message': 'Baking in Domain Reliability configs', | |
| 88 }, | |
| 89 ], | |
| 90 }, | |
| 91 ], | |
| 92 } | |
| OLD | NEW |