2014-03-03 13:20:44 -08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
2014-06-16 13:27:38 -07:00
|
|
|
git submodule update --init --recursive
|
2014-07-13 21:56:25 -07:00
|
|
|
externals/gyp/gyp project.gyp --depth . --format=make $@
|
2014-07-25 12:55:00 -07:00
|
|
|
externals/gyp/gyp tests.gyp --depth . --format=make $@
|
2014-04-11 18:33:53 -07:00
|
|
|
|
2014-04-16 21:00:27 -07:00
|
|
|
if [ "$1" == "-h" ]; then
|
2014-04-11 18:33:53 -07:00
|
|
|
cat <<-HELP
|
|
|
|
|
|
|
|
|
|
Variables:
|
|
|
|
|
|
2015-02-16 17:57:53 -08:00
|
|
|
-D USE_LIBPROFILER=false
|
|
|
|
|
Don't link libprofiler into the test binaries. This flag is needed on systems
|
|
|
|
|
where libprofiler (from the google-perftools package) is not installed.
|
2014-04-11 18:33:53 -07:00
|
|
|
|
|
|
|
|
HELP
|
|
|
|
|
fi
|