Merge "Sort inputs to compatibility suite zip files"

This commit is contained in:
Treehugger Robot 2017-05-03 02:43:32 +00:00 committed by Gerrit Code Review
commit 328290459d
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
device-tests-zip := $(PRODUCT_OUT)/device-tests.zip
$(device-tests-zip): $(COMPATIBILITY.device-tests.FILES) $(SOONG_ZIP)
echo $(COMPATIBILITY.device-tests.FILES) > $@.list
echo $(sort $(COMPATIBILITY.device-tests.FILES)) > $@.list
sed -i -e 's/\s\+/\n/g' $@.list
grep $(HOST_OUT_TESTCASES) $@.list > $@-host.list || true
grep $(TARGET_OUT_TESTCASES) $@.list > $@-target.list || true

View File

@ -16,7 +16,7 @@
general-tests-zip := $(PRODUCT_OUT)/general-tests.zip
$(general-tests-zip): $(COMPATIBILITY.general-tests.FILES) $(SOONG_ZIP)
echo $(COMPATIBILITY.general-tests.FILES) > $@.list
echo $(sort $(COMPATIBILITY.general-tests.FILES)) > $@.list
sed -i -e 's/\s\+/\n/g' $@.list
grep $(HOST_OUT_TESTCASES) $@.list > $@-host.list || true
grep $(TARGET_OUT_TESTCASES) $@.list > $@-target.list || true