From ea0366589ae69e5e9be07c644bd496237c79cb1c Mon Sep 17 00:00:00 2001 From: Xin Li Date: Mon, 30 Jul 2018 16:33:46 -0700 Subject: [PATCH] Don't build STS when it does not exist. Change-Id: I7d5f6e11c7369fa473108605183581ad00e83887 --- core/tasks/sts.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/tasks/sts.mk b/core/tasks/sts.mk index b3c3baa46..0c33e1c77 100644 --- a/core/tasks/sts.mk +++ b/core/tasks/sts.mk @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +ifneq ($(wildcard test/sts/README.md),) test_suite_name := sts test_suite_tradefed := sts-tradefed test_suite_readme := test/sts/README.md @@ -21,3 +22,4 @@ include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk .PHONY: sts sts: $(compatibility_zip) $(call dist-for-goals, sts, $(compatibility_zip)) +endif