diff --git a/src/core/BUILD b/src/core/BUILD index 93d6d09d28e..e54a5903235 100644 --- a/src/core/BUILD +++ b/src/core/BUILD @@ -1390,6 +1390,7 @@ grpc_cc_library( external_deps = [ "absl/functional:any_invocable", "absl/status", + "absl/status:statusor", ], deps = [ "//:event_engine_base_hdrs", diff --git a/src/core/lib/event_engine/posix.h b/src/core/lib/event_engine/posix.h index 37d971c0514..e2b9ed8f087 100644 --- a/src/core/lib/event_engine/posix.h +++ b/src/core/lib/event_engine/posix.h @@ -16,16 +16,15 @@ #include -#include -#include +#include #include "absl/functional/any_invocable.h" #include "absl/status/status.h" +#include "absl/status/statusor.h" #include #include #include -#include #include namespace grpc_event_engine { diff --git a/test/core/client_channel/lb_policy/round_robin_test.cc b/test/core/client_channel/lb_policy/round_robin_test.cc index ca9ded1a80a..72d720722be 100644 --- a/test/core/client_channel/lb_policy/round_robin_test.cc +++ b/test/core/client_channel/lb_policy/round_robin_test.cc @@ -16,13 +16,15 @@ #include +#include + #include "absl/status/status.h" #include "absl/strings/string_view.h" +#include "absl/types/span.h" #include "gtest/gtest.h" #include -#include "src/core/lib/channel/channel_args.h" #include "src/core/lib/gprpp/orphanable.h" #include "src/core/lib/gprpp/ref_counted_ptr.h" #include "src/core/lib/load_balancing/lb_policy.h" diff --git a/tools/dockerfile/grpc_iwyu/iwyu.sh b/tools/dockerfile/grpc_iwyu/iwyu.sh index e6dd8ad9a24..ac2d69971fb 100755 --- a/tools/dockerfile/grpc_iwyu/iwyu.sh +++ b/tools/dockerfile/grpc_iwyu/iwyu.sh @@ -42,10 +42,22 @@ git clone https://github.com/include-what-you-use/include-what-you-use.git iwyu # latest commit on the clang 15 branch cd ${IWYU_ROOT}/iwyu git checkout 7f0b6c304acf69c42bb7f6e03c63f836924cb7e0 +if [ $? -ne 0 ]; then + echo "Failed to checkout iwyu commit" + exit 1 +fi mkdir -p ${IWYU_ROOT}/iwyu_build cd ${IWYU_ROOT}/iwyu_build cmake -G "Unix Makefiles" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_ROOT_DIR=/usr/lib/llvm-15 ${IWYU_ROOT}/iwyu +if [ $? -ne 0 ]; then + echo "Failed to cmake iwyu" + exit 1 +fi make -j $CPU_COUNT +if [ $? -ne 0 ]; then + echo "Failed to make iwyu" + exit 1 +fi cd ${IWYU_ROOT} # patch python shebang for our environment (we need python3, not python) @@ -53,7 +65,7 @@ sed -i 's,^#!/usr/bin/env python,#!/usr/bin/env python3,g' ${IWYU_ROOT}/iwyu/iwy sed -i 's,^#!/usr/bin/env python,#!/usr/bin/env python3,g' ${IWYU_ROOT}/iwyu/fix_includes.py cat compile_commands.json \ - | sed "s/ -DNDEBUG//g" \ + | sed "s/ -DNDEBUG//g" \ | sed "s,\"file\": \",\"file\": \"${IWYU_ROOT}/,g" \ > compile_commands_for_iwyu.json