From cb90af7d9b020f02cea339f37f79b68d8fef4628 Mon Sep 17 00:00:00 2001 From: Wyatt Hepler Date: Mon, 16 May 2022 17:22:49 -0700 Subject: pw_unit_test: Make pw_unit_test/framework.h private - Move pw_unit_test/framework.h to pw_unit_test/internal/. For GoogleTest compatibility, this header must only be accessed as gtest/gtest.h. - Remove required dependency on pw_unit_test, but set pw_unit_test_PUBLIC_DEPS to include it by default. This removes the pw_unit_test dep when using a different library, like GoogleTest. Change-Id: I1ee9fe69cddc391c4c5ab8291cac82033439d2bc Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/94867 Reviewed-by: Armando Montanez Commit-Queue: Wyatt Hepler Pigweed-Auto-Submit: Wyatt Hepler --- pw_preprocessor/boolean_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pw_preprocessor/boolean_test.cc') diff --git a/pw_preprocessor/boolean_test.cc b/pw_preprocessor/boolean_test.cc index 40a00eb8f..decc85dd6 100644 --- a/pw_preprocessor/boolean_test.cc +++ b/pw_preprocessor/boolean_test.cc @@ -16,7 +16,7 @@ // passed. The TEST functions are used for organization only. #include "pw_preprocessor/boolean.h" -#include "pw_unit_test/framework.h" +#include "gtest/gtest.h" namespace pw { namespace { -- cgit v1.2.3