OLD | NEW |
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'web_cache_common', | 8 'target_name': 'web_cache_common', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 13 matching lines...) Expand all Loading... |
24 '<(DEPTH)/content/content.gyp:content_browser', | 24 '<(DEPTH)/content/content.gyp:content_browser', |
25 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', | 25 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', |
26 'web_cache_common', | 26 'web_cache_common', |
27 ], | 27 ], |
28 'sources': [ | 28 'sources': [ |
29 'web_cache/browser/web_cache_manager.cc', | 29 'web_cache/browser/web_cache_manager.cc', |
30 'web_cache/browser/web_cache_manager.h', | 30 'web_cache/browser/web_cache_manager.h', |
31 ], | 31 ], |
32 # Disable c4267 warnings until we fix size_t to int truncations. | 32 # Disable c4267 warnings until we fix size_t to int truncations. |
33 'msvs_disabled_warnings': [ 4267, ], | 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 }, | 34 }, |
42 { | 35 { |
43 'target_name': 'web_cache_renderer', | 36 'target_name': 'web_cache_renderer', |
44 'type': 'static_library', | 37 'type': 'static_library', |
45 'dependencies': [ | 38 'dependencies': [ |
46 '<(DEPTH)/base/base.gyp:base', | 39 '<(DEPTH)/base/base.gyp:base', |
47 '<(DEPTH)/content/content.gyp:content_renderer', | 40 '<(DEPTH)/content/content.gyp:content_renderer', |
48 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', | 41 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', |
49 'web_cache_common', | 42 'web_cache_common', |
50 ], | 43 ], |
51 'sources': [ | 44 'sources': [ |
52 'web_cache/renderer/web_cache_render_process_observer.cc', | 45 'web_cache/renderer/web_cache_render_process_observer.cc', |
53 'web_cache/renderer/web_cache_render_process_observer.h', | 46 'web_cache/renderer/web_cache_render_process_observer.h', |
54 ], | 47 ], |
55 }, | 48 }, |
56 ], | 49 ], |
57 } | 50 } |
OLD | NEW |