From a569400a663cb2a8a6df2389c271fae5f41d77b8 Mon Sep 17 00:00:00 2001 From: philwo Date: Tue, 28 Sep 2021 03:43:23 -0700 Subject: [PATCH] Make Bazel's IntelliJ project file more accessible for new developers. This disables the parts of the build that require an Android SDK / NDK and also two shell tests that currently cause the build to fail on macOS. This should cause the project file to just work out of the box on most developer machines. Experienced developers can manually modify the project file and enable these tests if they need them. PiperOrigin-RevId: 399402189 --- scripts/ij.bazelproject | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/ij.bazelproject b/scripts/ij.bazelproject index e35d2de84abc4d..88d0050b40faa6 100644 --- a/scripts/ij.bazelproject +++ b/scripts/ij.bazelproject @@ -19,3 +19,11 @@ targets: //src/test/... //src/tools/remote/... //src/tools/starlark/... + # These tests require the Android SDK and enabling it in our WORKSPACE file. + -//src/test/java/com/google/devtools/build/android/... + -//src/test/shell/bazel/android/... + # These tests cause the build to fail on macOS: + # https://github.com/bazelbuild/bazel/issues/13636 + -//src/test/shell/bazel:all_tests + -//src/test/shell/bazel:stardoc_deps + -//src/test/shell/bazel:stardoc_deps_test