Show clearer error when insecure URL is blocked during SAML enrollment
[chromium-blink-merge.git] / components / precache.gypi
blobec536238d889f6257d91e8fb84a34b2cc6e211fc
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   'targets': [
7     {
8       'target_name': 'precache_content',
9       'type': 'static_library',
10       'dependencies': [
11         'precache_core',
12         '../base/base.gyp:base',
13         '../content/content.gyp:content_browser',
14         '../url/url.gyp:url_lib',
15       ],
16       'include_dirs': [
17         '..',
18       ],
19       'sources': [
20         'precache/content/precache_manager.cc',
21         'precache/content/precache_manager.h',
22         'precache/content/precache_manager_factory.cc',
23         'precache/content/precache_manager_factory.h',
24       ],
25     },
26     {
27       'target_name': 'precache_core',
28       'type': 'static_library',
29       'dependencies': [
30         'precache_core_proto',
31         '../base/base.gyp:base',
32         '../third_party/protobuf/protobuf.gyp:protobuf_lite',
33         '../url/url.gyp:url_lib',
34       ],
35       'include_dirs': [
36         '..',
37       ],
38       'sources': [
39         'precache/core/precache_database.cc',
40         'precache/core/precache_database.h',
41         'precache/core/precache_fetcher.cc',
42         'precache/core/precache_fetcher.h',
43         'precache/core/precache_switches.cc',
44         'precache/core/precache_switches.h',
45         'precache/core/precache_url_table.cc',
46         'precache/core/precache_url_table.h',
47         'precache/core/url_list_provider.h',
48       ],
49       'includes': [ 'precache/precache_defines.gypi', ],
50       'direct_dependent_settings': {
51         # Make direct dependents also include the precache defines. This allows
52         # the unit tests to use these defines.
53         'includes': [ 'precache/precache_defines.gypi', ],
54       },
55     },
56     {
57       'target_name': 'precache_core_proto',
58       'type': 'static_library',
59       'sources': [
60         'precache/core/proto/precache.proto',
61       ],
62       'variables': {
63         'proto_in_dir': 'precache/core/proto',
64         'proto_out_dir': 'components/precache/core/proto',
65       },
66       'includes': [ '../build/protoc.gypi', ],
67     },
68   ],