platform_build/core/tasks/sts.mk
Xin Li ea0366589a Don't build STS when it does not exist.
Change-Id: I7d5f6e11c7369fa473108605183581ad00e83887
2018-07-30 16:42:46 -07:00

25 lines
889 B
Makefile

# Copyright (C) 2016 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# 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
include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk
.PHONY: sts
sts: $(compatibility_zip)
$(call dist-for-goals, sts, $(compatibility_zip))
endif