From 8ad0040bbb42d7738965eea99e029145cce0b24e Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Tue, 2 Dec 2014 13:06:22 -0800 Subject: Merge "Add big integer library"" This patch merges the 3 commits in master branch into one --- BUILD.gn | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'BUILD.gn') 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", -- cgit v1.2.3