diff options
author | Chris Palmer <palmer@google.com> | 2014-06-26 16:01:46 -0700 |
---|---|---|
committer | Chris Palmer <palmer@google.com> | 2014-06-26 16:01:46 -0700 |
commit | 9108ad211bf00d6e512af0919b743c1bf8b0eeb8 (patch) | |
tree | e4034b18bdb0e24d9f92100b6dbca1c6d497a656 /pdfium.gyp | |
parent | a548d30f8126d167210fdc26783454b0b3752004 (diff) | |
download | pdfium-9108ad211bf00d6e512af0919b743c1bf8b0eeb8.tar.xz |
Import Chromium base/numerics to resolve integer overflow.
We'll use this for integer overflows going forward.
BUG=382606
R=jam@chromium.org
Review URL: https://codereview.chromium.org/349363005
Diffstat (limited to 'pdfium.gyp')
-rw-r--r-- | pdfium.gyp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pdfium.gyp b/pdfium.gyp index 7d62b1d164..34d6959430 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -55,6 +55,7 @@ 'target_name': 'pdfium', 'type': 'static_library', 'dependencies': [ + 'safemath', 'fdrm', 'fpdfdoc', 'fpdfapi', @@ -143,6 +144,19 @@ }, }, { + 'target_name': 'safemath', + 'type': 'none', + 'sources': [ + 'third_party/logging.h', + 'third_party/macros.h', + 'third_party/template_util.h', + 'third_party/numerics/safe_conversions.h', + 'third_party/numerics/safe_conversions_impl.h', + 'third_party/numerics/safe_math.h', + 'third_party/numerics/safe_math_impl.h', + ], + }, + { 'target_name': 'fdrm', 'type': 'static_library', 'ldflags': [ '-L<(PRODUCT_DIR)',], |