pass TIDY_EXTERNAL_VENDOR envvar to Bazel
Bug: 268668248 Test: verify that Bazel tidy actions don't have a large diff from Soong tidy actions: (add -v to Ninja invocation in ui/build/ninja.go [and disable fifo file]) WITH_TIDY=1 DISABLE_ARTIFACT_PATH_REQUIREMENTS=true m com.android.adbd 2>&1 | tee soong_build-tidy.adbd && WITH_TIDY=1 DISABLE_ARTIFACT_PATH_REQUIREMENTS=true m com.android.adbd --bazel-mode-staging 2>&1 | tee mixed_build-tidy.adbd && grep -Po "prebuilts/clang/host/linux-x86/clang-r475365b/bin/clang-tidy.sh \K\S+" soong_build-tidy.adbd | sort -u > soong-clang-tidy.adbd && grep -Po "prebuilts/clang/host/linux-x86/clang-r475365b/bin/clang-tidy.sh \K\S+" mixed_build-tidy.adbd | sort -u > mixed-clang-tidy.adbd && vimdiff soong_build-tidy.adbd mixed_build-tidy.adbd Change-Id: I22804d6d92ed56d9727eaf430318df0b041712a8
Loading
Please register or sign in to comment