Merge "Provide library path to android.test.base for dexpreopt."

This commit is contained in:
Ulyana Trafimovich 2020-06-01 15:05:25 +00:00 committed by Gerrit Code Review
commit 1c294551b4
2 changed files with 5 additions and 0 deletions

View file

@ -67,6 +67,10 @@ if [[ "${target_sdk_version}" -lt "29" ]]; then
add_to_contexts "${conditional_host_libs_29}" "${conditional_target_libs_29}"
fi
if [[ "${target_sdk_version}" -lt "30" ]]; then
add_to_contexts "${conditional_host_libs_30}" "${conditional_target_libs_30}"
fi
add_to_contexts "${dex_preopt_host_libraries}" "${dex_preopt_target_libraries}"
# Generate the actual context string.

View file

@ -195,6 +195,7 @@ ifdef LOCAL_DEX_PREOPT
org.apache.http.legacy \
android.hidl.base-V1.0-java \
android.hidl.manager-V1.0-java \
android.test.base \
my_dexpreopt_libs := $(sort \
$(LOCAL_USES_LIBRARIES) \