From 450fbeaaabf1ab340c1018de2e58f1950657517e Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 6 Sep 2017 17:52:23 -0700 Subject: 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 Reviewed-by: (000 09-08 - 09-18) dsinclair --- DEPS | 2 +- third_party/eu-strip/OWNERS | 1 + third_party/eu-strip/README.pdfium | 24 ++++++++++++++++++++++++ third_party/eu-strip/bin/eu-strip | Bin 0 -> 105120 bytes 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 third_party/eu-strip/OWNERS create mode 100644 third_party/eu-strip/README.pdfium create mode 100755 third_party/eu-strip/bin/eu-strip diff --git a/DEPS b/DEPS index b06166cd04..b5cfeb1f73 100644 --- a/DEPS +++ b/DEPS @@ -5,7 +5,7 @@ vars = { 'pdfium_git': 'https://pdfium.googlesource.com', 'android_ndk_revision': '26d93ec07f3ce2ec2cdfeae1b21ee6f12ff868d8', - 'build_revision': '34f9a2ba2ac2bdc70dbdf11644753d81d7ebfeda', + 'build_revision': 'e659d430e127cc9178f246991a0c5a282e6eba81', 'buildtools_revision': 'f90f6a5af3e8cf843395bfe6243cf606f71b5344', 'catapult_revision': '0cf3924bab2c2f66a412edda35f6e3572bd57623', 'clang_revision': '4db585405687222660050d58eb12784fe0852884', 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 new file mode 100755 index 0000000000..994e2263b9 Binary files /dev/null and b/third_party/eu-strip/bin/eu-strip differ -- cgit v1.2.3