2015-10-22 15:00:28 +02:00
|
|
|
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
if [ ! -d "breakpad" ]; then
|
|
|
|
mkdir breakpad
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd breakpad
|
|
|
|
|
|
|
|
if [ ! -d "depot_tools" ]; then
|
|
|
|
git clone --depth=1 --branch=master https://chromium.googlesource.com/chromium/tools/depot_tools.git depot_tools
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d "src" ]; then
|
2016-01-14 13:43:08 +01:00
|
|
|
./depot_tools/fetch --nohooks --no-history breakpad
|
2015-10-22 15:00:28 +02:00
|
|
|
else
|
2016-01-14 13:43:08 +01:00
|
|
|
./depot_tools/gclient sync --nohooks --no-history
|
2015-10-22 15:00:28 +02:00
|
|
|
fi
|
|
|
|
|
2015-10-22 15:09:10 +02:00
|
|
|
if [ ! -d "build" ]; then
|
|
|
|
mkdir build
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd build
|
2015-10-22 15:00:28 +02:00
|
|
|
|
2015-10-22 15:09:10 +02:00
|
|
|
CXXFLAGS=-m32 CFLAGS=-m32 CPPFLAGS=-m32 ../src/configure
|
2015-10-22 15:00:28 +02:00
|
|
|
|
|
|
|
make src/tools/linux/dump_syms/dump_syms
|