base: Add CHECK_IMPLIES and DCHECK_IMPLIES.
[chromium-blink-merge.git] / components / web_cache.gypi
bloba42e34422cff090fd4785720dfa616f8f2356546
1 # Copyright (c) 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': 'web_cache_common',
9       'type': 'static_library',
10       'dependencies': [
11         '<(DEPTH)/ipc/ipc.gyp:ipc',
12       ],
13       'sources': [
14         'web_cache/common/web_cache_message_generator.cc',
15         'web_cache/common/web_cache_message_generator.h',
16         'web_cache/common/web_cache_messages.h',
17       ],
18     },
19     {
20       'target_name': 'web_cache_browser',
21       'type': 'static_library',
22       'dependencies': [
23         '<(DEPTH)/base/base.gyp:base',
24         '<(DEPTH)/content/content.gyp:content_browser',
25         '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
26         'web_cache_common',
27       ],
28       'sources': [
29         'web_cache/browser/web_cache_manager.cc',
30         'web_cache/browser/web_cache_manager.h',
31       ],
32       # Disable c4267 warnings until we fix size_t to int truncations.
33       'msvs_disabled_warnings': [ 4267, ],
34       'conditions': [
35         ['OS=="win" and win_use_allocator_shim==1', {
36           'dependencies': [
37             '../base/allocator/allocator.gyp:allocator',
38           ],
39         }],
40       ],
41     },
42     {
43       'target_name': 'web_cache_renderer',
44       'type': 'static_library',
45       'dependencies': [
46         '<(DEPTH)/base/base.gyp:base',
47         '<(DEPTH)/content/content.gyp:content_renderer',
48         '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
49         'web_cache_common',
50       ],
51       'sources': [
52         'web_cache/renderer/web_cache_render_process_observer.cc',
53         'web_cache/renderer/web_cache_render_process_observer.h',
54       ],
55     },
56   ],