diff options
author | Bo Xu <bo_xu@foxitsoftware.com> | 2014-12-02 16:34:20 -0800 |
---|---|---|
committer | Bo Xu <bo_xu@foxitsoftware.com> | 2014-12-02 16:34:20 -0800 |
commit | 91dd8c77ae849c22a8e4c9275e3f728b474b5be5 (patch) | |
tree | 79c1805c6a18ab234053f79fc4e10edabad5eef1 /pdfium.gyp | |
parent | 44047c3300d07192a67b1714084cc2d43b1e9bd9 (diff) | |
download | pdfium-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 'pdfium.gyp')
-rw-r--r-- | pdfium.gyp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pdfium.gyp b/pdfium.gyp index 606925c5e2..7e7dba9dfc 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -36,6 +36,7 @@ 'type': 'static_library', 'dependencies': [ 'safemath', + 'bigint', 'fdrm', 'fpdfdoc', 'fpdfapi', @@ -137,6 +138,22 @@ ], }, { + 'target_name': 'bigint', + 'type': 'static_library', + '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', + ], + }, + { 'target_name': 'fdrm', 'type': 'static_library', 'ldflags': [ '-L<(PRODUCT_DIR)',], |