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
|
# 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': [
{
# GN version: //components/web_cache/public/interfaces
'target_name': 'web_cache_mojo_bindings',
'type': 'static_library',
'sources': [
# NOTE: Sources duplicated in //components/web_cache/public/interfaces/BUILD.gn
'web_cache/public/interfaces/web_cache.mojom',
],
'includes': [ '../mojo/mojom_bindings_generator.gypi'],
},
{
'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_mojo_bindings',
],
'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, ],
},
{
'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_mojo_bindings',
],
'sources': [
'web_cache/renderer/web_cache_render_process_observer.cc',
'web_cache/renderer/web_cache_render_process_observer.h',
],
},
],
}
|