Home | History | Annotate | Download | only in snapshot

Lines Matching refs:vndk

18 # Test script for build/make/core/tasks/vndk.mk.
19 # Makes sure VNDK snapshots include all required prebuilts and config files.
22 # First, generate VNDK snapshots with development/vndk/snapshot/build.sh or
23 # fetch VNDK snapshot build artifacts to $DIST_DIR, then run this script.
28 echo "Usage: \"$0 all\" to test all VNDK snapshot variants at once."
29 echo " \"$0 \$TARGET_PRODUCT\" to test a specific VNDK snapshot."
58 readonly SNAPSHOT_TOP="${TEMP_DIR}"/android-vndk-snapshot
124 # Compares the list of VNDK-core and VNDK-SP
129 # $1: vndk_type: one of [vndk-core, vndk-sp]
146 if [[ "${vndk_type}" == 'vndk-core' ]]; then
147 system_vndk_dir="vndk${vndk_dir_suffix}"
149 system_vndk_dir="vndk-sp${vndk_dir_suffix}"
160 echo "Comparing libs for TARGET_PRODUCT="${TARGET_PRODUCT}", VNDK="${vndk_type}", ARCH="${target_arch}""
163 (diff --old-line-format="Only found in VNDK snapshot: %L" \
188 # Executes tests against VNDK snapshot of
196 local snapshot_zip="${DIST_DIR}"/android-vndk-"${TARGET_PRODUCT}".zip
199 echo "[Setup] Unzipping \"android-vndk-"${TARGET_PRODUCT}".zip\""
202 echo "[Test] Comparing VNDK-core and VNDK-SP libs in snapshot vs /system/lib*"
203 compare_vndk_libs 'vndk-core'
204 compare_vndk_libs 'vndk-sp'