aboutsummaryrefslogtreecommitdiff
path: root/src/third_party/linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2016-01-25 17:41:53 -0500
committerMike Frysinger <vapier@chromium.org>2016-01-25 17:41:53 -0500
commit83523e066b7accdc58f15461828485cdcd296565 (patch)
tree233bee0c121f82797c0549ea88b11b98651b33ce /src/third_party/linux
parentlinux_client_unittest_shlib: fix cleaning (diff)
downloadbreakpad-83523e066b7accdc58f15461828485cdcd296565.tar.xz
test: stop building tons of copies of gtest/gmock objects
The current makefile ends up building ~17 copies of the gtest/gmock objects -- every test that refers to the cc files directly will have its own copy. This is because the build doesn't know if CFLAGS and such have changed between each target (and in some cases, they are). Create a new libtesting.a target to hold a single copy of these files and update all of the unittests to link that in. This speeds up the build a bit especially when you aren't using ccache. This does mean we can no longer build gtest/gmock with unique flags, but we haven't wanted that so far, so clearly no one wants that. BUG=chromium:579384 TEST=`make check` passes R=thestig@chromium.org Review URL: https://codereview.chromium.org/1633903002 .
Diffstat (limited to 'src/third_party/linux')
0 files changed, 0 insertions, 0 deletions