summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-12-02 13:06:22 -0800
committerBo Xu <bo_xu@foxitsoftware.com>2014-12-02 16:57:19 -0800
commit8ad0040bbb42d7738965eea99e029145cce0b24e (patch)
tree2ebd20da7529d0f0c58618fbd2883fdb1ae71142 /BUILD.gn
parent610b751e894371a2933d7ba17efeee325381465d (diff)
downloadpdfium-8ad0040bbb42d7738965eea99e029145cce0b24e.tar.xz
Merge "Add big integer library""
This patch merges the 3 commits in master branch into one
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",