mirror of https://github.com/vitalif/phantomjs
Compile the breakpad client in directly.
This removes the need to build breakpad as a separate step. PhantomJS developers will still need to cd src/breakpad && ./configure && make in order to analyse crash dumps, but it is not longer necessary in order to build PhantomJS itself. https://code.google.com/p/phantomjs/issues/detail?id=5761.6
parent
fb7a5191f9
commit
e781f243dc
4
build.sh
4
build.sh
|
@ -48,10 +48,6 @@ until [ -z "$1" ]; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ $OSTYPE = linux* ]]; then
|
|
||||||
cd src/breakpad && ./configure && make && cd ../..
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd src/qt && ./preconfig.sh --jobs $COMPILE_JOBS --qt-config "$QT_CFG" && cd ../..
|
cd src/qt && ./preconfig.sh --jobs $COMPILE_JOBS --qt-config "$QT_CFG" && cd ../..
|
||||||
src/qt/bin/qmake
|
src/qt/bin/qmake
|
||||||
make -j$COMPILE_JOBS
|
make -j$COMPILE_JOBS
|
||||||
|
|
|
@ -59,8 +59,22 @@ include(mongoose/mongoose.pri)
|
||||||
include(linenoise/linenoise.pri)
|
include(linenoise/linenoise.pri)
|
||||||
|
|
||||||
linux* {
|
linux* {
|
||||||
INCLUDEPATH += $$PWD/breakpad/src
|
INCLUDEPATH += breakpad/src
|
||||||
LIBS += $$PWD/breakpad/src/client/linux/libbreakpad_client.a
|
|
||||||
|
SOURCES += breakpad/src/client/linux/crash_generation/crash_generation_client.cc \
|
||||||
|
breakpad/src/client/linux/handler/exception_handler.cc \
|
||||||
|
breakpad/src/client/linux/log/log.cc \
|
||||||
|
breakpad/src/client/linux/minidump_writer/linux_dumper.cc \
|
||||||
|
breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc \
|
||||||
|
breakpad/src/client/linux/minidump_writer/minidump_writer.cc \
|
||||||
|
breakpad/src/client/minidump_file_writer.cc \
|
||||||
|
breakpad/src/common/convert_UTF.c \
|
||||||
|
breakpad/src/common/md5.cc \
|
||||||
|
breakpad/src/common/string_conversion.cc \
|
||||||
|
breakpad/src/common/linux/file_id.cc \
|
||||||
|
breakpad/src/common/linux/guid_creator.cc \
|
||||||
|
breakpad/src/common/linux/memory_mapped_file.cc \
|
||||||
|
breakpad/src/common/linux/safe_readlink.cc
|
||||||
}
|
}
|
||||||
|
|
||||||
win32: RC_FILE = phantomjs_win.rc
|
win32: RC_FILE = phantomjs_win.rc
|
||||||
|
|
Loading…
Reference in New Issue