diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-02-05 09:46:23 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-02-05 09:46:23 -0800 |
commit | dabc5d57bf473708295800a7991bc1fafdf76288 (patch) | |
tree | 9dfb8313596dd61e2c600cf02548b191f9753daf /third_party/BUILD.gn | |
parent | 7061d1af45752617fafa85e2242dc5b2844650b5 (diff) | |
download | pdfium-dabc5d57bf473708295800a7991bc1fafdf76288.tar.xz |
Add namespace and-re-arrange PDFium's local copy of chromium /base.
Any projects DEPS'd into chromium and requiring a /base
subset should have a local copy of that subset in a
separate namespace. This will avoid future naming conflicts.
Re-arrange the directory structure to better identify what
came from chromium's base, and to make drop-in replacement
easier for files that contain hard-coded "base/" in their
#include directives.
R=jam@chromium.org
Review URL: https://codereview.chromium.org/900753002
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r-- | third_party/BUILD.gn | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index df02938a93..fcb09c4b47 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -6,7 +6,7 @@ group("third_party") { deps = [ ":bigint", ":freetype", - ":safemath", + ":pdfium_base", ] } @@ -69,20 +69,20 @@ static_library("freetype") { ] } -component("safemath") { +component("pdfium_base") { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//third_party/pdfium:pdfium_config", "//build/config/compiler:no_chromium_code", ] sources = [ - "logging.h", - "macros.h", - "template_util.h", - "numerics/safe_conversions.h", - "numerics/safe_conversions_impl.h", - "numerics/safe_math.h", - "numerics/safe_math_impl.h", + "base/logging.h", + "base/macros.h", + "base/template_util.h", + "base/numerics/safe_conversions.h", + "base/numerics/safe_conversions_impl.h", + "base/numerics/safe_math.h", + "base/numerics/safe_math_impl.h", ] } |