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

Side by Side Diff: components/pdf/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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 static_library("renderer") { 7 static_library("renderer") {
8 sources = [ 8 sources = [
9 "pdf_resource_util.cc", 9 "pdf_resource_util.cc",
10 "pdf_resource_util.h", 10 "pdf_resource_util.h",
11 "pepper_pdf_host.cc", 11 "pepper_pdf_host.cc",
12 "pepper_pdf_host.h", 12 "pepper_pdf_host.h",
13 "ppb_pdf_impl.cc", 13 "ppb_pdf_impl.cc",
14 "ppb_pdf_impl.h", 14 "ppb_pdf_impl.h",
15 ] 15 ]
16 16
17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
19
17 deps = [ 20 deps = [
18 "//base", 21 "//base",
19 "//components/pdf/common", 22 "//components/pdf/common",
20 "//components/resources:components_resources", 23 "//components/resources:components_resources",
21 "//components/strings", 24 "//components/strings",
22 "//content/public/renderer", 25 "//content/public/renderer",
23 "//gin", 26 "//gin",
24 "//ppapi/shared_impl", 27 "//ppapi/shared_impl",
25 "//third_party/icu", 28 "//third_party/icu",
26 "//v8", 29 "//v8",
27 "//third_party/WebKit/public:blink_minimal", 30 "//third_party/WebKit/public:blink_minimal",
28 ] 31 ]
29
30 if (is_win) {
31 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations.
32 }
33 } 32 }
OLDNEW
« no previous file with comments | « components/password_manager/core/browser/BUILD.gn ('k') | components/printing/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698