Don't build STS when it does not exist. am: ea0366589a

am: 195c9c9d42

Change-Id: I5c4c612ece13ba9431b8c5bab9418e73e545b7e3
This commit is contained in:
Xin Li
2018-07-30 18:26:22 -07:00
committed by android-build-merger

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