Update pigweed submodule

Bug: b/265165949
Change-Id: Ic9337f8737739f959d952b127da9eeb1c76133cb
Reviewed-on: https://pigweed-review.googlesource.com/c/open-dice/+/126686
Reviewed-by: Andrew Scull <ascull@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Darren Krahn <dkrahn@google.com>
diff --git a/.gitignore b/.gitignore
index 073fd5f..a9837dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 .cache
 compile_commands.json
 out
+build_overrides/pigweed_environment.gni
diff --git a/BUILD.gn b/BUILD.gn
index 105b9b6..602a15a 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -356,7 +356,7 @@
   ]
 }
 
-pw_size_report("executable_size_report") {
+pw_size_diff("executable_size_report") {
   title = "Executable sizes (includes thirdparty deps)"
   base = ":empty_main"
   binaries = [
@@ -392,7 +392,7 @@
   ]
 }
 
-pw_size_report("library_size_report") {
+pw_size_diff("library_size_report") {
   title = "Library sizes (excludes thirdparty deps)"
   base = ":empty_lib"
   binaries = [
diff --git a/bootstrap.sh b/bootstrap.sh
index b599594..181daec 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -28,5 +28,11 @@
 # Bootstrap the pigweed environment.
 . third_party/pigweed/src/bootstrap.sh
 
+# Copy the pigweed environment config with a path fixup.
+sed s/environment/third_party\\\/pigweed\\\/src\\\/environment/g \
+  < third_party/pigweed/src/build_overrides/pigweed_environment.gni \
+  > build_overrides/pigweed_environment.gni
+gn format build_overrides/pigweed_environment.gni
+
 # Setup the build.
 gn gen --export-compile-commands out
diff --git a/include/dice/test_framework.h b/include/dice/test_framework.h
index 16e1c90..d85ba2b 100644
--- a/include/dice/test_framework.h
+++ b/include/dice/test_framework.h
@@ -15,10 +15,11 @@
 #ifndef DICE_TEST_FRAMEWORK_H_
 #define DICE_TEST_FRAMEWORK_H_
 
-#ifdef DICE_USE_GTEST
 #include "gtest/gtest.h"
-#else
-#include "pw_unit_test/framework.h"
+
+#ifndef DICE_USE_GTEST
+// Use pigweed's pw_unit_test::light framework instead of upstream gtest.
+#include "pw_unit_test/simple_printing_event_handler.h"
 #endif
 
 #endif  // DICE_TEST_FRAMEWORK_H_
diff --git a/third_party/pigweed/src b/third_party/pigweed/src
index 05d860d..02c2e12 160000
--- a/third_party/pigweed/src
+++ b/third_party/pigweed/src
@@ -1 +1 @@
-Subproject commit 05d860d647f5d0c70d2cc9627f54c1adfa8a825d
+Subproject commit 02c2e12242a68c6a66ad45c7a99c11aad45e3227