OLD | NEW |
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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("pdfium.gni") | 6 import("pdfium.gni") |
7 | 7 |
8 config("pdfium_config") { | 8 config("pdfium_config") { |
9 cflags = [] | 9 cflags = [] |
10 include_dirs = [ "third_party/freetype/include" ] | 10 include_dirs = [ "third_party/freetype/include" ] |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 if (is_win) { | 34 if (is_win) { |
35 cflags += [ | 35 cflags += [ |
36 "/wd4005", | 36 "/wd4005", |
37 "/wd4018", | 37 "/wd4018", |
38 "/wd4146", | 38 "/wd4146", |
39 "/wd4333", | 39 "/wd4333", |
40 "/wd4345", | 40 "/wd4345", |
41 # TODO(thestig): Fix all instances, remove this, pdfium:29 | 41 # TODO(thestig): Fix all instances, remove this, pdfium:29 |
42 "/wd4245", | 42 "/wd4245", |
| 43 "/wd4310", |
43 "/wd4389", | 44 "/wd4389", |
44 "/wd4701", | 45 "/wd4701", |
| 46 "/wd4702", |
45 "/wd4706", | 47 "/wd4706", |
46 "/wd4800", | 48 "/wd4800", |
47 ] | 49 ] |
48 } | 50 } |
49 | 51 |
50 if (is_clang) { | 52 if (is_clang) { |
51 # TODO(thestig): Fix all instances, remove this, pdfium:29 | 53 # TODO(thestig): Fix all instances, remove this, pdfium:29 |
52 cflags += [ "-Wno-sign-compare" ] | 54 cflags += [ "-Wno-sign-compare" ] |
53 } | 55 } |
54 } | 56 } |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 "//v8", | 765 "//v8", |
764 "//v8:v8_libplatform", | 766 "//v8:v8_libplatform", |
765 ] | 767 ] |
766 include_dirs += [ | 768 include_dirs += [ |
767 "//v8", | 769 "//v8", |
768 "//v8/include", | 770 "//v8/include", |
769 ] | 771 ] |
770 } | 772 } |
771 configs += [ ":pdfium_config" ] | 773 configs += [ ":pdfium_config" ] |
772 } | 774 } |
OLD | NEW |