Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Unified Diff: components/printing/renderer/BUILD.gn

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/pdf/renderer/BUILD.gn ('k') | components/signin/core/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/printing/renderer/BUILD.gn
diff --git a/components/printing/renderer/BUILD.gn b/components/printing/renderer/BUILD.gn
index 768c95bf78cf6106fcc89a05406649255a98fe2e..c31bb8e980ef33bf2f4291ebf9f67de06667a42f 100644
--- a/components/printing/renderer/BUILD.gn
+++ b/components/printing/renderer/BUILD.gn
@@ -12,6 +12,9 @@ static_library("printing_renderer") {
"print_web_view_helper_pdf_win.cc",
]
+ # TODO(dgn): crbug.com/167187 fix size_t to int truncations.
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
deps = [
"//base",
"//components/printing/common:printing_common",
@@ -23,9 +26,4 @@ static_library("printing_renderer") {
"//third_party/WebKit/public:blink",
"//ui/base",
]
-
- if (is_win) {
- # TODO(dgn): crbug.com/167187 fix size_t to int truncations.
- cflags = [ "/wd4267" ]
- }
}
« no previous file with comments | « components/pdf/renderer/BUILD.gn ('k') | components/signin/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698