Roll src/third_party/WebKit 8121bc6:918aba1 (svn 188871:188878)
[chromium-blink-merge.git] / components / printing.gypi
blob442df524bcc0c35e5b18209cc4f548ac4859c8dd
1 # Copyright 2015 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       # GN: //components/printing/common:printing_common
9       'target_name': 'printing_common',
10       'type': 'static_library',
11       'dependencies': [
12         '<(DEPTH)/base/base.gyp:base',
13         '<(DEPTH)/ipc/ipc.gyp:ipc',
14         '<(DEPTH)/printing/printing.gyp:printing',
15         '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
16         '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
17       ],
18       'sources': [
19         "printing/common/print_messages.cc",
20         "printing/common/print_messages.h",
21       ],
22     },{
23        # GN: //components/printing/common:printing_renderer
24       'target_name': 'printing_renderer',
25       'type': 'static_library',
26       'dependencies': [
27         '<(DEPTH)/base/base.gyp:base',
28         '<(DEPTH)/content/content.gyp:content_common',
29         '<(DEPTH)/content/content.gyp:content_renderer',
30         '<(DEPTH)/net/net.gyp:net',
31         '<(DEPTH)/printing/printing.gyp:printing',
32         '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
33         '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
34         'components_resources.gyp:components_resources',
35         'printing_common',
36       ],
37       'sources': [
38         'printing/renderer/print_web_view_helper.cc',
39         'printing/renderer/print_web_view_helper.h',
40         'printing/renderer/print_web_view_helper_android.cc',
41         'printing/renderer/print_web_view_helper_linux.cc',
42         'printing/renderer/print_web_view_helper_mac.mm',
43         'printing/renderer/print_web_view_helper_pdf_win.cc',
44       ],
45       # TODO(dgn): C4267: http://crbug.com/167187 size_t -> int
46       'msvs_disabled_warnings': [ 4267 ],
47     },
48   ],