Compute if a layer is clipped outside CalcDrawProps
[chromium-blink-merge.git] / components / printing.gypi
blobd9244f0a1576aea49621215cdf858f801a2be219
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/test:printing_test_support
50       'target_name': 'printing_test_support',
51       'type': 'static_library',
52       'dependencies': [
53         '<(DEPTH)/testing/gtest.gyp:gtest',
54         'printing_renderer',
55       ],
56       'sources': [
57         'printing/test/mock_printer.cc',
58         'printing/test/mock_printer.h',
59         'printing/test/print_mock_render_thread.cc',
60         'printing/test/print_mock_render_thread.h',
61         'printing/test/print_test_content_renderer_client.cc',
62         'printing/test/print_test_content_renderer_client.h',
63       ],
64     },
65   ],