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 29 matching lines...) Expand all Loading... |
40 "/wd4018", | 40 "/wd4018", |
41 "/wd4146", | 41 "/wd4146", |
42 "/wd4333", | 42 "/wd4333", |
43 "/wd4345", | 43 "/wd4345", |
44 ] | 44 ] |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 static_library("pdfium") { | 48 static_library("pdfium") { |
49 sources = [ | 49 sources = [ |
50 "fpdfsdk/include/fpdf_dataavail.h", | |
51 "fpdfsdk/include/fpdf_ext.h", | |
52 "fpdfsdk/include/fpdf_flatten.h", | |
53 "fpdfsdk/include/fpdf_progressive.h", | |
54 "fpdfsdk/include/fpdf_searchex.h", | |
55 "fpdfsdk/include/fpdf_sysfontinfo.h", | |
56 "fpdfsdk/include/fpdf_sysfontinfo.h", | |
57 "fpdfsdk/include/fpdf_transformpage.h", | |
58 "fpdfsdk/include/fpdfdoc.h", | |
59 "fpdfsdk/include/fpdfedit.h", | |
60 "fpdfsdk/include/fpdfformfill.h", | |
61 "fpdfsdk/include/fpdftext.h", | |
62 "fpdfsdk/include/fpdfview.h", | |
63 "fpdfsdk/include/fsdk_actionhandler.h", | 50 "fpdfsdk/include/fsdk_actionhandler.h", |
64 "fpdfsdk/include/fsdk_annothandler.h", | 51 "fpdfsdk/include/fsdk_annothandler.h", |
65 "fpdfsdk/include/fsdk_baseannot.h", | 52 "fpdfsdk/include/fsdk_baseannot.h", |
66 "fpdfsdk/include/fsdk_baseform.h", | 53 "fpdfsdk/include/fsdk_baseform.h", |
67 "fpdfsdk/src/fpdf_dataavail.cpp", | 54 "fpdfsdk/src/fpdf_dataavail.cpp", |
68 "fpdfsdk/src/fpdf_ext.cpp", | 55 "fpdfsdk/src/fpdf_ext.cpp", |
69 "fpdfsdk/src/fpdf_flatten.cpp", | 56 "fpdfsdk/src/fpdf_flatten.cpp", |
70 "fpdfsdk/src/fpdf_progressive.cpp", | 57 "fpdfsdk/src/fpdf_progressive.cpp", |
71 "fpdfsdk/src/fpdf_searchex.cpp", | 58 "fpdfsdk/src/fpdf_searchex.cpp", |
72 "fpdfsdk/src/fpdf_sysfontinfo.cpp", | 59 "fpdfsdk/src/fpdf_sysfontinfo.cpp", |
73 "fpdfsdk/src/fpdf_transformpage.cpp", | 60 "fpdfsdk/src/fpdf_transformpage.cpp", |
74 "fpdfsdk/src/fpdfdoc.cpp", | 61 "fpdfsdk/src/fpdfdoc.cpp", |
75 "fpdfsdk/src/fpdfeditimg.cpp", | 62 "fpdfsdk/src/fpdfeditimg.cpp", |
76 "fpdfsdk/src/fpdfeditpage.cpp", | 63 "fpdfsdk/src/fpdfeditpage.cpp", |
77 "fpdfsdk/src/fpdfformfill.cpp", | 64 "fpdfsdk/src/fpdfformfill.cpp", |
78 "fpdfsdk/src/fpdfppo.cpp", | 65 "fpdfsdk/src/fpdfppo.cpp", |
79 "fpdfsdk/src/fpdfsave.cpp", | 66 "fpdfsdk/src/fpdfsave.cpp", |
80 "fpdfsdk/src/fpdfsdkdll.rc", | 67 "fpdfsdk/src/fpdfsdkdll.rc", |
81 "fpdfsdk/src/fpdftext.cpp", | 68 "fpdfsdk/src/fpdftext.cpp", |
82 "fpdfsdk/src/fpdfview.cpp", | 69 "fpdfsdk/src/fpdfview.cpp", |
83 "fpdfsdk/src/fsdk_actionhandler.cpp", | 70 "fpdfsdk/src/fsdk_actionhandler.cpp", |
84 "fpdfsdk/src/fsdk_annothandler.cpp", | 71 "fpdfsdk/src/fsdk_annothandler.cpp", |
85 "fpdfsdk/src/fsdk_baseannot.cpp", | 72 "fpdfsdk/src/fsdk_baseannot.cpp", |
86 "fpdfsdk/src/fsdk_baseform.cpp", | 73 "fpdfsdk/src/fsdk_baseform.cpp", |
87 "fpdfsdk/src/fsdk_mgr.cpp", | 74 "fpdfsdk/src/fsdk_mgr.cpp", |
88 "fpdfsdk/src/fsdk_rendercontext.cpp", | 75 "fpdfsdk/src/fsdk_rendercontext.cpp", |
89 "fpdfsdk/src/resource.h", | 76 "fpdfsdk/src/resource.h", |
| 77 "public/fpdf_dataavail.h", |
| 78 "public/fpdf_doc.h", |
| 79 "public/fpdf_edit.h", |
| 80 "public/fpdf_ext.h", |
| 81 "public/fpdf_flatten.h", |
| 82 "public/fpdf_formfill.h", |
| 83 "public/fpdf_fwlevent.h", |
| 84 "public/fpdf_ppo.h", |
| 85 "public/fpdf_progressive.h", |
| 86 "public/fpdf_save.h", |
| 87 "public/fpdf_searchex.h", |
| 88 "public/fpdf_sysfontinfo.h", |
| 89 "public/fpdf_text.h", |
| 90 "public/fpdf_transformpage.h", |
| 91 "public/fpdfview.h", |
90 ] | 92 ] |
91 | 93 |
92 libs = [] | 94 libs = [] |
93 configs -= [ "//build/config/compiler:chromium_code" ] | 95 configs -= [ "//build/config/compiler:chromium_code" ] |
94 configs += [ | 96 configs += [ |
95 ":pdfium_config", | 97 ":pdfium_config", |
96 "//build/config/compiler:no_chromium_code", | 98 "//build/config/compiler:no_chromium_code", |
97 ] | 99 ] |
98 | 100 |
99 deps = [ | 101 deps = [ |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 "//testing/gtest", | 890 "//testing/gtest", |
889 ":pdfium", | 891 ":pdfium", |
890 ] | 892 ] |
891 include_dirs = [ "." ] | 893 include_dirs = [ "." ] |
892 configs -= [ "//build/config/compiler:chromium_code" ] | 894 configs -= [ "//build/config/compiler:chromium_code" ] |
893 configs += [ | 895 configs += [ |
894 ":pdfium_config", | 896 ":pdfium_config", |
895 "//build/config/compiler:no_chromium_code", | 897 "//build/config/compiler:no_chromium_code", |
896 ] | 898 ] |
897 } | 899 } |
OLD | NEW |