Remove google perftools dependency

This commit is contained in:
Max Brunsfeld 2016-11-30 17:22:27 -08:00
parent b06d2c80de
commit cfef576a9f
3 changed files with 4 additions and 22 deletions

View file

@ -12,5 +12,7 @@ addons:
install:
- export CXX="g++-5"
- script/configure -D USE_LIBPROFILER=false
script: script/ci
- script/configure
script:
- script/ci

12
script/configure vendored
View file

@ -5,15 +5,3 @@ set -e
git submodule update --init --recursive
externals/gyp/gyp project.gyp --depth . --format=make $@
externals/gyp/gyp tests.gyp --depth . --format=make $@
if [ "$1" == "-h" ]; then
cat <<-HELP
Variables:
-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.
HELP
fi

View file

@ -42,14 +42,6 @@
'ldflags': [
'-g',
],
'variables': {
'USE_LIBPROFILER%': 'true',
},
'conditions': [
['USE_LIBPROFILER != "false"', {
'libraries': ['-lprofiler'],
}]
],
'xcode_settings': {
'CLANG_CXX_LANGUAGE_STANDARD': 'c++11',
'OTHER_LDFLAGS': ['-g'],