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 | 6 |
7 pdf_use_skia = false | 7 pdf_use_skia = false |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 # On Android there's no system FreeType. On Windows and Mac, only a few | 10 # On Android there's no system FreeType. On Windows and Mac, only a few |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 "/wd4018", | 43 "/wd4018", |
44 "/wd4146", | 44 "/wd4146", |
45 "/wd4333", | 45 "/wd4333", |
46 "/wd4345", | 46 "/wd4345", |
47 ] | 47 ] |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 static_library("pdfium") { | 51 static_library("pdfium") { |
52 sources = [ | 52 sources = [ |
53 "fpdfsdk/include/fpdfdoc.h", | |
54 "fpdfsdk/include/fpdfedit.h", | |
55 "fpdfsdk/include/fpdfformfill.h", | |
56 "fpdfsdk/include/fpdftext.h", | |
57 "fpdfsdk/include/fpdfview.h", | |
58 "fpdfsdk/include/fpdf_dataavail.h", | |
59 "fpdfsdk/include/fpdf_flatten.h", | |
60 "fpdfsdk/include/fpdf_progressive.h", | |
61 "fpdfsdk/include/fpdf_searchex.h", | |
62 "fpdfsdk/include/fpdf_sysfontinfo.h", | |
63 "fpdfsdk/include/fpdf_ext.h", | |
64 "fpdfsdk/include/fpdf_sysfontinfo.h", | |
65 "fpdfsdk/include/fsdk_actionhandler.h", | 53 "fpdfsdk/include/fsdk_actionhandler.h", |
66 "fpdfsdk/include/fsdk_annothandler.h", | 54 "fpdfsdk/include/fsdk_annothandler.h", |
67 "fpdfsdk/include/fsdk_baseannot.h", | 55 "fpdfsdk/include/fsdk_baseannot.h", |
68 "fpdfsdk/include/fsdk_baseform.h", | 56 "fpdfsdk/include/fsdk_baseform.h", |
69 "fpdfsdk/src/fpdfdoc.cpp", | 57 "fpdfsdk/src/fpdfdoc.cpp", |
70 "fpdfsdk/src/fpdfeditimg.cpp", | 58 "fpdfsdk/src/fpdfeditimg.cpp", |
71 "fpdfsdk/src/fpdfeditpage.cpp", | 59 "fpdfsdk/src/fpdfeditpage.cpp", |
72 "fpdfsdk/src/fpdfformfill.cpp", | 60 "fpdfsdk/src/fpdfformfill.cpp", |
73 "fpdfsdk/src/fpdfppo.cpp", | 61 "fpdfsdk/src/fpdfppo.cpp", |
74 "fpdfsdk/src/fpdfsave.cpp", | 62 "fpdfsdk/src/fpdfsave.cpp", |
75 "fpdfsdk/src/fpdftext.cpp", | 63 "fpdfsdk/src/fpdftext.cpp", |
76 "fpdfsdk/src/fpdfview.cpp", | 64 "fpdfsdk/src/fpdfview.cpp", |
77 "fpdfsdk/src/fpdf_dataavail.cpp", | 65 "fpdfsdk/src/fpdf_dataavail.cpp", |
78 "fpdfsdk/src/fpdf_ext.cpp", | 66 "fpdfsdk/src/fpdf_ext.cpp", |
79 "fpdfsdk/src/fpdf_flatten.cpp", | 67 "fpdfsdk/src/fpdf_flatten.cpp", |
80 "fpdfsdk/src/fpdf_progressive.cpp", | 68 "fpdfsdk/src/fpdf_progressive.cpp", |
81 "fpdfsdk/src/fpdf_searchex.cpp", | 69 "fpdfsdk/src/fpdf_searchex.cpp", |
82 "fpdfsdk/src/fpdf_sysfontinfo.cpp", | 70 "fpdfsdk/src/fpdf_sysfontinfo.cpp", |
83 "fpdfsdk/src/fsdk_actionhandler.cpp", | 71 "fpdfsdk/src/fsdk_actionhandler.cpp", |
84 "fpdfsdk/src/fsdk_annothandler.cpp", | 72 "fpdfsdk/src/fsdk_annothandler.cpp", |
85 "fpdfsdk/src/fsdk_baseannot.cpp", | 73 "fpdfsdk/src/fsdk_baseannot.cpp", |
86 "fpdfsdk/src/fsdk_baseform.cpp", | 74 "fpdfsdk/src/fsdk_baseform.cpp", |
87 "fpdfsdk/src/fsdk_mgr.cpp", | 75 "fpdfsdk/src/fsdk_mgr.cpp", |
88 "fpdfsdk/src/fsdk_rendercontext.cpp", | 76 "fpdfsdk/src/fsdk_rendercontext.cpp", |
89 "fpdfsdk/src/fpdfsdkdll.rc", | 77 "fpdfsdk/src/fpdfsdkdll.rc", |
90 "fpdfsdk/src/resource.h", | 78 "fpdfsdk/src/resource.h", |
91 "fpdfsdk/include/fpdf_transformpage.h", | 79 "public/fpdf_dataavail.h", |
92 "fpdfsdk/src/fpdf_transformpage.cpp", | 80 "public/fpdf_doc.h", |
| 81 "public/fpdf_edit.h", |
| 82 "public/fpdf_ext.h", |
| 83 "public/fpdf_flatten.h", |
| 84 "public/fpdf_formfill.h", |
| 85 "public/fpdf_fwlevent.h", |
| 86 "public/fpdf_ppo.h", |
| 87 "public/fpdf_progressive.h", |
| 88 "public/fpdf_save.h", |
| 89 "public/fpdf_searchex.h", |
| 90 "public/fpdf_sysfontinfo.h", |
| 91 "public/fpdf_text.h", |
| 92 "public/fpdf_transformpage.h", |
| 93 "public/fpdfview.h", |
93 ] | 94 ] |
94 | 95 |
95 libs = [] | 96 libs = [] |
96 configs -= [ "//build/config/compiler:chromium_code" ] | 97 configs -= [ "//build/config/compiler:chromium_code" ] |
97 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 98 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
98 | 99 |
99 deps = [ | 100 deps = [ |
100 "third_party:bigint", | 101 "third_party:bigint", |
101 "third_party:pdfium_base", | 102 "third_party:pdfium_base", |
102 ":fdrm", | 103 ":fdrm", |
(...skipping 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1592 ":pdfium" | 1593 ":pdfium" |
1593 ] | 1594 ] |
1594 include_dirs = [ | 1595 include_dirs = [ |
1595 ".", | 1596 ".", |
1596 "//v8", | 1597 "//v8", |
1597 "//v8/include", | 1598 "//v8/include", |
1598 ] | 1599 ] |
1599 configs -= [ "//build/config/compiler:chromium_code" ] | 1600 configs -= [ "//build/config/compiler:chromium_code" ] |
1600 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1601 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
1601 } | 1602 } |
OLD | NEW |