Fix widevine unit test builds on 64-bit devices

bug: 17080975
Change-Id: Ic54d484e18fe0416855264ca073474f3d597e1a3
This commit is contained in:
Jeff Tinker
2014-08-16 12:11:05 -07:00
parent 157afc627a
commit fbe0994902
11 changed files with 27 additions and 1 deletions

View File

@@ -59,7 +59,11 @@ adb push $OUT/system/bin/file_store_unittest /system/bin
adb push $OUT/system/bin/device_files_unittest /system/bin
adb push $OUT/system/bin/timer_unittest /system/bin
adb push $OUT/system/bin/libwvdrmengine_test /system/bin
adb install -r $OUT/system/app/MediaDrmAPITest.apk
if [ -r $OUT/system/app/MediaDrmAPITest.apk ]; then
install -r $OUT/system/app/MediaDrmAPITest.apk
else
install -r $OUT/system/app/MediaDrmAPITest/MediaDrmAPITest.apk
fi
cd $ANDROID_BUILD_TOP/vendor/widevine/libwvdrmengine
./run_all_unit_tests.sh