OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 static_library("printing_renderer") { | 5 static_library("printing_renderer") { |
6 sources = [ | 6 sources = [ |
7 "print_web_view_helper.cc", | 7 "print_web_view_helper.cc", |
8 "print_web_view_helper.h", | 8 "print_web_view_helper.h", |
9 "print_web_view_helper_android.cc", | 9 "print_web_view_helper_android.cc", |
10 "print_web_view_helper_linux.cc", | 10 "print_web_view_helper_linux.cc", |
11 "print_web_view_helper_mac.mm", | 11 "print_web_view_helper_mac.mm", |
12 "print_web_view_helper_pdf_win.cc", | 12 "print_web_view_helper_pdf_win.cc", |
13 ] | 13 ] |
14 | 14 |
| 15 # TODO(dgn): crbug.com/167187 fix size_t to int truncations. |
| 16 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 17 |
15 deps = [ | 18 deps = [ |
16 "//base", | 19 "//base", |
17 "//components/printing/common:printing_common", | 20 "//components/printing/common:printing_common", |
18 "//components/resources", | 21 "//components/resources", |
19 "//content/public/common", | 22 "//content/public/common", |
20 "//content/public/renderer", | 23 "//content/public/renderer", |
21 "//net", | 24 "//net", |
22 "//printing", | 25 "//printing", |
23 "//third_party/WebKit/public:blink", | 26 "//third_party/WebKit/public:blink", |
24 "//ui/base", | 27 "//ui/base", |
25 ] | 28 ] |
26 | |
27 if (is_win) { | |
28 # TODO(dgn): crbug.com/167187 fix size_t to int truncations. | |
29 cflags = [ "/wd4267" ] | |
30 } | |
31 } | 29 } |
OLD | NEW |