Roll pigweed
Test: Build, unit tests
Change-Id: I82217188623156e50618ea81a945a825f0b27425
Reviewed-on: https://pigweed-review.googlesource.com/c/open-dice/+/75360
Reviewed-by: Andrew Scull <ascull@google.com>
Commit-Queue: Darren Krahn <dkrahn@google.com>
diff --git a/BUILDCONFIG.gn b/BUILDCONFIG.gn
index 5a2ac67..a393863 100644
--- a/BUILDCONFIG.gn
+++ b/BUILDCONFIG.gn
@@ -16,5 +16,7 @@
import("//build_overrides/pigweed.gni")
}
-# The default toolchain is not used in Pigweed builds.
-set_default_toolchain("${_pigweed_directory.dir_pw_toolchain}/dummy")
+# The default toolchain is not used in Pigweed builds, so it is set to a
+# toolchain that cannot compile C/C++ code. The top-level BUILD.gn should stamp
+# a group with all of the build targets and their toolchains.
+set_default_toolchain("${_pigweed_directory.dir_pw_toolchain}/default")
diff --git a/third_party/pigweed/src b/third_party/pigweed/src
index 9e1262f..05d860d 160000
--- a/third_party/pigweed/src
+++ b/third_party/pigweed/src
@@ -1 +1 @@
-Subproject commit 9e1262f18942487458a75a369681b8e8144db642
+Subproject commit 05d860d647f5d0c70d2cc9627f54c1adfa8a825d
diff --git a/toolchains/BUILD.gn b/toolchains/BUILD.gn
index 76de412..16abe57 100644
--- a/toolchains/BUILD.gn
+++ b/toolchains/BUILD.gn
@@ -16,13 +16,6 @@
import("$dir_pigweed/targets/host/target_toolchains.gni")
import("$dir_pw_toolchain/generate_toolchain.gni")
-declare_args() {
- # These aren't used but they are set by the Pigweed toolchain. Declaring them
- # here silences gn warnings.
- pw_trace_BACKEND = ""
- pw_trace_tokenizer_time = ""
-}
-
config("common_config") {
include_dirs = [ "//include" ]