summaryrefslogtreecommitdiffstats
path: root/components/web_cache.gypi
blob: a42e34422cff090fd4785720dfa616f8f2356546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Copyright (c) 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'web_cache_common',
      'type': 'static_library',
      'dependencies': [
        '<(DEPTH)/ipc/ipc.gyp:ipc',
      ],
      'sources': [
        'web_cache/common/web_cache_message_generator.cc',
        'web_cache/common/web_cache_message_generator.h',
        'web_cache/common/web_cache_messages.h',
      ],
    },
    {
      'target_name': 'web_cache_browser',
      'type': 'static_library',
      'dependencies': [
        '<(DEPTH)/base/base.gyp:base',
        '<(DEPTH)/content/content.gyp:content_browser',
        '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
        'web_cache_common',
      ],
      'sources': [
        'web_cache/browser/web_cache_manager.cc',
        'web_cache/browser/web_cache_manager.h',
      ],
      # Disable c4267 warnings until we fix size_t to int truncations.
      'msvs_disabled_warnings': [ 4267, ],
      'conditions': [
        ['OS=="win" and win_use_allocator_shim==1', {
          'dependencies': [
            '../base/allocator/allocator.gyp:allocator',
          ],
        }],
      ],
    },
    {
      'target_name': 'web_cache_renderer',
      'type': 'static_library',
      'dependencies': [
        '<(DEPTH)/base/base.gyp:base',
        '<(DEPTH)/content/content.gyp:content_renderer',
        '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
        'web_cache_common',
      ],
      'sources': [
        'web_cache/renderer/web_cache_render_process_observer.cc',
        'web_cache/renderer/web_cache_render_process_observer.h',
      ],
    },
  ],
}