[Sync] Add auto-generated ModelType in Java.
[chromium-blink-merge.git] / components / printing.gypi
blob627353d751c4c4272be8aac8eeb9962862b7ceb7
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         "printing/common/printing_param_traits_macros.h",
22       ],
23     },{
24        # GN: //components/printing/common:printing_renderer
25       'target_name': 'printing_renderer',
26       'type': 'static_library',
27       'dependencies': [
28         '<(DEPTH)/base/base.gyp:base',
29         '<(DEPTH)/content/content.gyp:content_common',
30         '<(DEPTH)/content/content.gyp:content_renderer',
31         '<(DEPTH)/net/net.gyp:net',
32         '<(DEPTH)/printing/printing.gyp:printing',
33         '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
34         '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
35         'components_resources.gyp:components_resources',
36         'printing_common',
37       ],
38       'sources': [
39         'printing/renderer/print_web_view_helper.cc',
40         'printing/renderer/print_web_view_helper.h',
41         'printing/renderer/print_web_view_helper_android.cc',
42         'printing/renderer/print_web_view_helper_linux.cc',
43         'printing/renderer/print_web_view_helper_mac.mm',
44         'printing/renderer/print_web_view_helper_pdf_win.cc',
45       ],
46       # TODO(dgn): C4267: http://crbug.com/167187 size_t -> int
47       'msvs_disabled_warnings': [ 4267 ],
48     },{
49       # GN: //components/printing/browser:printing_browser
50       'target_name': 'printing_browser',
51       'type': 'static_library',
52       'dependencies': [
53         '<(DEPTH)/printing/printing.gyp:printing',
54       ],
55       'sources': [
56         'printing/browser/print_manager.cc',
57         'printing/browser/print_manager.h',
58         'printing/browser/print_manager_utils.cc',
59         'printing/browser/print_manager_utils.h',
60       ],
61     },{
62       # GN: //components/printing/test:printing_test_support
63       'target_name': 'printing_test_support',
64       'type': 'static_library',
65       'dependencies': [
66         '<(DEPTH)/testing/gtest.gyp:gtest',
67         'printing_renderer',
68       ],
69       'sources': [
70         'printing/test/mock_printer.cc',
71         'printing/test/mock_printer.h',
72         'printing/test/print_mock_render_thread.cc',
73         'printing/test/print_mock_render_thread.h',
74         'printing/test/print_test_content_renderer_client.cc',
75         'printing/test/print_test_content_renderer_client.h',
76       ],
77     },
78   ],