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

Side by Side Diff: BUILD.gn

Issue 1767263002: Suppress C4201 for Windows build. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: disable for GYP as well to keep things consistent Created 4 years, 9 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
« no previous file with comments | « no previous file | xfa.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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_overrides/v8.gni") 5 import("//build_overrides/v8.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("pdfium.gni") 7 import("pdfium.gni")
8 8
9 config("pdfium_config") { 9 config("pdfium_config") {
10 cflags = [] 10 cflags = []
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 if (is_win) { 45 if (is_win) {
46 cflags += [ 46 cflags += [
47 "/wd4005", 47 "/wd4005",
48 "/wd4018", 48 "/wd4018",
49 "/wd4146", 49 "/wd4146",
50 "/wd4333", 50 "/wd4333",
51 "/wd4345", 51 "/wd4345",
52 "/wd4267", 52 "/wd4267",
53 53
54 # TODO(ochang): Investigate if this can be fixed properly.
55 "/wd4201",
56
54 # TODO(thestig): Fix all instances, remove this, pdfium:29 57 # TODO(thestig): Fix all instances, remove this, pdfium:29
55 "/wd4245", 58 "/wd4245",
56 "/wd4310", 59 "/wd4310",
57 "/wd4389", 60 "/wd4389",
58 "/wd4701", 61 "/wd4701",
59 "/wd4702", 62 "/wd4702",
60 "/wd4706", 63 "/wd4706",
61 "/wd4800", 64 "/wd4800",
62 ] 65 ]
63 } 66 }
(...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 "//v8:v8_libplatform", 1493 "//v8:v8_libplatform",
1491 ] 1494 ]
1492 include_dirs += [ 1495 include_dirs += [
1493 "//v8", 1496 "//v8",
1494 "//v8/include", 1497 "//v8/include",
1495 ] 1498 ]
1496 configs += [ "//v8:external_startup_data" ] 1499 configs += [ "//v8:external_startup_data" ]
1497 } 1500 }
1498 configs += [ ":pdfium_config" ] 1501 configs += [ ":pdfium_config" ]
1499 } 1502 }
OLDNEW
« no previous file with comments | « no previous file | xfa.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698