summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-12-02 16:34:20 -0800
committerBo Xu <bo_xu@foxitsoftware.com>2014-12-02 16:34:20 -0800
commit91dd8c77ae849c22a8e4c9275e3f728b474b5be5 (patch)
tree79c1805c6a18ab234053f79fc4e10edabad5eef1 /BUILD.gn
parent44047c3300d07192a67b1714084cc2d43b1e9bd9 (diff)
downloadpdfium-91dd8c77ae849c22a8e4c9275e3f728b474b5be5.tar.xz
Modify big integer library
This patch follows https://pdfium.googlesource.com/pdfium/+/44047c3300d07192a67b1714084cc2d43b1e9bd9 Modify the library to resolve compile error, add copyright notice and change pdfium.gyp and BUILD.gn R=tsepez@chromium.org Review URL: https://codereview.chromium.org/754743003
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn16
1 files changed, 16 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 5d0210ff34..2e471637d4 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -90,6 +90,7 @@ static_library("pdfium") {
deps = [
":safemath",
+ ":bigint",
":fdrm",
":formfiller",
":fpdfapi",
@@ -128,6 +129,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",