Don't build STS when it does not exist.

Change-Id: I7d5f6e11c7369fa473108605183581ad00e83887
This commit is contained in:
Xin Li 2018-07-30 16:33:46 -07:00
parent 8883a739b3
commit ea0366589a
1 changed files with 2 additions and 0 deletions

View File

@ -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