diff options
author | Lei Zhang <thestig@chromium.org> | 2017-09-06 17:52:23 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-18 14:07:26 +0000 |
commit | 450fbeaaabf1ab340c1018de2e58f1950657517e (patch) | |
tree | 7a4e22ddb0e0aab91115eca4625db0a89e8dbfcf /third_party | |
parent | 7b1e53c0ef09da360304c6f4397082d09a945a7e (diff) | |
download | pdfium-450fbeaaabf1ab340c1018de2e58f1950657517e.tar.xz |
Roll DEPS for build to e659d43.
Add third_party/eu-strip, which is now required to build on Android.
Since third_party/eu-strip is small and rarely updated, just check in a
copy.
Change-Id: Iba016d8d69c8426f1dacbeeef36b30ca743c46f0
Reviewed-on: https://pdfium-review.googlesource.com/13411
Commit-Queue: (000 09-08 - 09-18) dsinclair <dsinclair@chromium.org>
Reviewed-by: (000 09-08 - 09-18) dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/eu-strip/OWNERS | 1 | ||||
-rw-r--r-- | third_party/eu-strip/README.pdfium | 24 | ||||
-rwxr-xr-x | third_party/eu-strip/bin/eu-strip | bin | 0 -> 105120 bytes |
3 files changed, 25 insertions, 0 deletions
diff --git a/third_party/eu-strip/OWNERS b/third_party/eu-strip/OWNERS new file mode 100644 index 0000000000..1967bf567e --- /dev/null +++ b/third_party/eu-strip/OWNERS @@ -0,0 +1 @@ +thestig@chromium.org diff --git a/third_party/eu-strip/README.pdfium b/third_party/eu-strip/README.pdfium new file mode 100644 index 0000000000..e84974d92b --- /dev/null +++ b/third_party/eu-strip/README.pdfium @@ -0,0 +1,24 @@ +Name: eu-strip +URL: https://sourceware.org/elfutils/ +Version: 0.158 +Security Critical: no +License: LGPL 3 +License File: NOT_SHIPPED + +Description: + +Patched eu-strip from elfutils. + +Build instructions (on Trusty; note that this will build the +Ubuntu-patched version of elfutils): +$ mkdir elfutils +$ cd elfutils +$ apt-get source elfutils +$ cd elfutils-0.158 +[ Edit libelf/elf_end.c and remove the free() on line 164. ] +$ ./configure +$ make +$ gcc -std=gnu99 -Wall -Wshadow -Wunused -Wextra -fgnu89-inline + -Wformat=2 -Werror -g -O2 -Wl,-rpath-link,libelf:libdw -o eu-strip + src/strip.o libebl/libebl.a libelf/libelf.a lib/libeu.a -ldl +$ eu-strip ./eu-strip # Keep the binary small, please. diff --git a/third_party/eu-strip/bin/eu-strip b/third_party/eu-strip/bin/eu-strip Binary files differnew file mode 100755 index 0000000000..994e2263b9 --- /dev/null +++ b/third_party/eu-strip/bin/eu-strip |