Don't build STS when it does not exist.

am: ea0366589a

Change-Id: Ie0db06f7f010a96887591b599304861e3cd6273e
This commit is contained in:
Xin Li 2018-07-30 18:14:10 -07:00 committed by android-build-merger
commit 195c9c9d42
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