OLD | NEW |
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 cflags += [ "-Wno-sign-compare" ] | 50 cflags += [ "-Wno-sign-compare" ] |
51 } | 51 } |
52 | 52 |
53 if (is_posix && !is_clang) { # When GCC. | 53 if (is_posix && !is_clang) { # When GCC. |
54 cflags += [ "-Wno-error=strict-overflow" ] | 54 cflags += [ "-Wno-error=strict-overflow" ] |
55 } | 55 } |
56 } | 56 } |
57 | 57 |
58 static_library("pdfium") { | 58 static_library("pdfium") { |
59 sources = [ | 59 sources = [ |
| 60 "fpdfsdk/cfx_systemhandler.cpp", |
| 61 "fpdfsdk/cfx_systemhandler.h", |
60 "fpdfsdk/fpdf_dataavail.cpp", | 62 "fpdfsdk/fpdf_dataavail.cpp", |
61 "fpdfsdk/fpdf_ext.cpp", | 63 "fpdfsdk/fpdf_ext.cpp", |
62 "fpdfsdk/fpdf_flatten.cpp", | 64 "fpdfsdk/fpdf_flatten.cpp", |
63 "fpdfsdk/fpdf_progressive.cpp", | 65 "fpdfsdk/fpdf_progressive.cpp", |
64 "fpdfsdk/fpdf_searchex.cpp", | 66 "fpdfsdk/fpdf_searchex.cpp", |
65 "fpdfsdk/fpdf_sysfontinfo.cpp", | 67 "fpdfsdk/fpdf_sysfontinfo.cpp", |
66 "fpdfsdk/fpdf_transformpage.cpp", | 68 "fpdfsdk/fpdf_transformpage.cpp", |
67 "fpdfsdk/fpdfdoc.cpp", | 69 "fpdfsdk/fpdfdoc.cpp", |
68 "fpdfsdk/fpdfeditimg.cpp", | 70 "fpdfsdk/fpdfeditimg.cpp", |
69 "fpdfsdk/fpdfeditpage.cpp", | 71 "fpdfsdk/fpdfeditpage.cpp", |
(...skipping 1636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1706 } | 1708 } |
1707 | 1709 |
1708 if (pdf_is_standalone) { | 1710 if (pdf_is_standalone) { |
1709 source_set("samples") { | 1711 source_set("samples") { |
1710 testonly = true | 1712 testonly = true |
1711 deps = [ | 1713 deps = [ |
1712 "//samples", | 1714 "//samples", |
1713 ] | 1715 ] |
1714 } | 1716 } |
1715 } | 1717 } |
OLD | NEW |