diff options
author | Chris Palmer <palmer@google.com> | 2014-06-20 16:30:49 -0700 |
---|---|---|
committer | Chris Palmer <palmer@google.com> | 2014-06-20 16:30:49 -0700 |
commit | d9713f05fdcecab8428d39034c6b84cd0bbd2920 (patch) | |
tree | 1bf7cf8f0aff9f917f4e7e0bec1dc51e974c9832 /BUILD.gn | |
parent | 63412bf0ec2f6bab77e60dddfb5fc65d0dd95a74 (diff) | |
download | pdfium-d9713f05fdcecab8428d39034c6b84cd0bbd2920.tar.xz |
Import Chromium base/numerics to resolve integer overflow.
We'll use this for integer overflows going forward.
BUG=382606
R=bo_xu@foxitsoftware.com, jschuh@chromium.org
Review URL: https://codereview.chromium.org/341533007
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -91,6 +91,7 @@ static_library("pdfium") { configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] deps = [ + ":safemath", ":fdrm", ":formfiller", ":fpdfapi", @@ -117,6 +118,18 @@ static_library("pdfium") { # Targets below this are only visible within this file. visibility = ":*" +component("safemath") { + 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", + ], +} + static_library("fdrm") { sources = [ "core/include/fdrm/fx_crypt.h", |