From f820ead9015e9cecb87fea62154b3f33da1baf20 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 25 Jan 2016 19:27:56 -0500 Subject: test: allow use of system gmock/gtest libs Some systems provide prebuilt copies of gmock/gtest (such as Chromium OS). Add a configure flag so they can take advantage of that. This allows for a smaller checkout as they don't need to include the full testing/ tree. BUG=chromium:579384 TEST=`make check` passes w/--enable-system-test-libs TEST=`make check` passes w/--disable-system-test-libs R=thestig@chromium.org Review URL: https://codereview.chromium.org/1638653002 . --- src/breakpad_googletest_includes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/breakpad_googletest_includes.h') diff --git a/src/breakpad_googletest_includes.h b/src/breakpad_googletest_includes.h index 1cc324b2..19a3e980 100644 --- a/src/breakpad_googletest_includes.h +++ b/src/breakpad_googletest_includes.h @@ -30,8 +30,8 @@ #ifndef BREAKPAD_GOOGLETEST_INCLUDES_H__ #define BREAKPAD_GOOGLETEST_INCLUDES_H__ -#include "testing/gtest/include/gtest/gtest.h" -#include "testing/include/gmock/gmock.h" +#include "gtest/gtest.h" +#include "gmock/gmock.h" // If AddressSanitizer is used, NULL pointer dereferences generate SIGILL // (illegal instruction) instead of SIGSEGV (segmentation fault). Also, -- cgit v1.2.1