summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn18
1 files changed, 17 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index f18655d413..b1b458c950 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -88,6 +88,8 @@ static_library("pdfium") {
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
deps = [
+ ":safemath",
+ ":bigint",
":fdrm",
":formfiller",
":fpdfapi",
@@ -101,7 +103,6 @@ static_library("pdfium") {
":javascript",
":jsapi",
":pdfwindow",
- ":safemath",
":xfa",
]
@@ -129,6 +130,21 @@ component("safemath") {
]
}
+static_library("bigint") {
+ sources = [
+ "third_party/bigint/BigInteger.hh",
+ "third_party/bigint/BigIntegerLibrary.hh",
+ "third_party/bigint/BigIntegerUtils.hh",
+ "third_party/bigint/BigUnsigned.hh",
+ "third_party/bigint/NumberlikeArray.hh",
+ "third_party/bigint/BigUnsignedInABase.hh",
+ "third_party/bigint/BigInteger.cc",
+ "third_party/bigint/BigIntegerUtils.cc",
+ "third_party/bigint/BigUnsigned.cc",
+ "third_party/bigint/BigUnsignedInABase.cc",
+ ]
+}
+
static_library("fdrm") {
sources = [
"core/include/fdrm/fx_crypt.h",