runtests.sh: fix conv_apex_manifest path
Test: ./runtests.sh
Bug: 158654333
Change-Id: Ica9f406105c3cc31d192c2e5eb4900ca1eb24eda
diff --git a/apexer/runtests.sh b/apexer/runtests.sh
index 7a499c7..bc634c0 100755
--- a/apexer/runtests.sh
+++ b/apexer/runtests.sh
@@ -55,7 +55,7 @@
manifest_dir=$(mktemp -d)
manifest_file=${manifest_dir}/apex_manifest.pb
echo '{"name": "com.android.example.apex", "version": 1}' > ${manifest_dir}/apex_manifest.json
-${ANDROID_HOST_OUT}/bin/conv_apex_manifest proto ${manifest_dir}/apex_manifest.json -o ${manifest_file}
+${ANDROID_BUILD_TOP}/out/soong/host/linux-x86/bin/conv_apex_manifest proto ${manifest_dir}/apex_manifest.json -o ${manifest_file}
# Create the file_contexts file
file_contexts_file=$(mktemp)
@@ -83,6 +83,7 @@
--file_contexts ${file_contexts_file} \
--canned_fs_config ${canned_fs_config_file} \
--key ${ANDROID_BUILD_TOP}/system/apex/apexer/testdata/com.android.example.apex.pem \
+ --android_jar_path ${ANDROID_BUILD_TOP}/prebuilts/sdk/current/public/android.jar \
${input_dir} ${output_file}
#############################################