Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / precache / precache_defines.gypi
bloba7868e7756cd067529c752ed65c30f898de5f467
1 # Copyright 2013 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   'variables': {
7     # These values are duplicated in the GN build in:
8     # //components/precache/core:precache_config
9     'precache_config_settings_url%': 'https://www.gstatic.com/chrome/wifiprefetch/precache_config',
10     'precache_manifest_url_prefix%': 'https://www.gstatic.com/chrome/wifiprefetch/hosts/',
11   },
12   'conditions': [
13     ['precache_config_settings_url != ""', {
14       'defines': [
15         'PRECACHE_CONFIG_SETTINGS_URL="<(precache_config_settings_url)"',
16       ],
17     }],
18     ['precache_manifest_url_prefix != ""', {
19       'defines': [
20         'PRECACHE_MANIFEST_URL_PREFIX="<(precache_manifest_url_prefix)"',
21       ],
22     }],
23   ],