diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-10-07 04:13:54 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-10-07 04:13:54 +0000 |
commit | de5454f8812b62ed2d8dcfba2823cf1f69bfd409 (patch) | |
tree | 343e0a164ea5fec1be934577c31ae4d95bd04b3a | |
parent | 864e41ff4502e6885639da9d625a13a5117ddf4c (diff) | |
parent | 7f967593d248d6b9e87efe62aea50b440c042cf6 (diff) | |
download | misc-de5454f8812b62ed2d8dcfba2823cf1f69bfd409.tar.gz |
Merge "Clean up obsolete aliases for Truth." into main am: 7206fc24a3 am: 1bf3ce5ab4 am: e51ddf6fb8 am: 7f967593d2
Original change: https://android-review.googlesource.com/c/platform/prebuilts/misc/+/2770039
Change-Id: I84d6c90432861c47553bd45c3871a683a6f7561b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | common/androidx-test/Android.bp | 6 | ||||
-rwxr-xr-x | common/androidx-test/update-from-gmaven.py | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/common/androidx-test/Android.bp b/common/androidx-test/Android.bp index 1205d15c..c86fba19 100644 --- a/common/androidx-test/Android.bp +++ b/common/androidx-test/Android.bp @@ -1,6 +1,6 @@ // This is a generated file. Do not modify directly. // Automatically generated with: -// pom2bp -rewrite 'androidx.test:=androidx.test.' -rewrite 'androidx.test.annotation:annotation=androidx.test.annotation' -rewrite 'androidx.test.ext:=androidx.test.ext.' -rewrite 'androidx.test.espresso:espresso-=androidx.test.espresso.' -rewrite 'androidx.test.janktesthelper:janktesthelper=androidx.test.janktesthelper' -rewrite 'androidx.test.services:storage=androidx.test.services.storage' -rewrite 'androidx.test.services:test-services=androidx.test.services.test-services' -rewrite 'androidx.tracing:tracing=androidx.tracing_tracing' -rewrite 'androidx.concurrent:concurrent-futures=androidx.concurrent_concurrent-futures' -rewrite 'com.google.guava:listenablefuture=guava-listenablefuture-prebuilt-jar' -extra-libs androidx.test.rules=android.test.base -rewrite 'com.google.truth:truth=truth-prebuilt' -rewrite 'net.sf.kxml:kxml2=kxml2-android' -rewrite 'androidx.lifecycle:lifecycle-common=androidx.lifecycle_lifecycle-common' -rewrite 'androidx.annotation:annotation=androidx.annotation_annotation' -rewrite 'org.hamcrest:hamcrest-integration=hamcrest' -rewrite 'javax.inject:javax.inject=jsr330' -rewrite 'com.google.android.material:material=com.google.android.material_material' -rewrite 'androidx.drawerlayout:drawerlayout=androidx.drawerlayout_drawerlayout' -rewrite 'androidx.viewpager:viewpager=androidx.viewpager_viewpager' -rewrite 'androidx.recyclerview:recyclerview=androidx.recyclerview_recyclerview' -rewrite 'androidx.core:core=androidx.core_core' -rewrite 'androidx.legacy:legacy-support-core-utils=androidx.legacy_legacy-support-core-utils' -sdk-version current -static-deps -prepend prepend-license.txt . +// pom2bp -rewrite 'androidx.test:=androidx.test.' -rewrite 'androidx.test.annotation:annotation=androidx.test.annotation' -rewrite 'androidx.test.ext:=androidx.test.ext.' -rewrite 'androidx.test.espresso:espresso-=androidx.test.espresso.' -rewrite 'androidx.test.janktesthelper:janktesthelper=androidx.test.janktesthelper' -rewrite 'androidx.test.services:storage=androidx.test.services.storage' -rewrite 'androidx.test.services:test-services=androidx.test.services.test-services' -rewrite 'androidx.tracing:tracing=androidx.tracing_tracing' -rewrite 'androidx.concurrent:concurrent-futures=androidx.concurrent_concurrent-futures' -rewrite 'com.google.guava:listenablefuture=guava-listenablefuture-prebuilt-jar' -extra-libs androidx.test.rules=android.test.base -rewrite 'com.google.truth:truth=truth' -rewrite 'net.sf.kxml:kxml2=kxml2-android' -rewrite 'androidx.lifecycle:lifecycle-common=androidx.lifecycle_lifecycle-common' -rewrite 'androidx.annotation:annotation=androidx.annotation_annotation' -rewrite 'org.hamcrest:hamcrest-integration=hamcrest' -rewrite 'javax.inject:javax.inject=jsr330' -rewrite 'com.google.android.material:material=com.google.android.material_material' -rewrite 'androidx.drawerlayout:drawerlayout=androidx.drawerlayout_drawerlayout' -rewrite 'androidx.viewpager:viewpager=androidx.viewpager_viewpager' -rewrite 'androidx.recyclerview:recyclerview=androidx.recyclerview_recyclerview' -rewrite 'androidx.core:core=androidx.core_core' -rewrite 'androidx.legacy:legacy-support-core-utils=androidx.legacy_legacy-support-core-utils' -sdk-version current -static-deps -prepend prepend-license.txt . package { default_applicable_licenses: ["Android-Apache-2.0"], } @@ -365,7 +365,7 @@ android_library_import { min_sdk_version: "14", static_libs: [ "guava", - "truth-prebuilt", + "truth", "androidx.annotation_annotation", "androidx.test.core", "androidx.test.annotation", @@ -384,7 +384,7 @@ android_library { static_libs: [ "androidx.test.ext.truth-nodeps", "guava", - "truth-prebuilt", + "truth", "androidx.annotation_annotation", "androidx.test.core", "androidx.test.annotation", diff --git a/common/androidx-test/update-from-gmaven.py b/common/androidx-test/update-from-gmaven.py index 5e029db1..650b4b66 100755 --- a/common/androidx-test/update-from-gmaven.py +++ b/common/androidx-test/update-from-gmaven.py @@ -85,7 +85,7 @@ def downloadArtifact(groupId, artifactId, version): # download pom cmd("wget -O %s.pom https://dl.google.com/dl/android/maven2/%s.pom" % (artifactPath, artifactPath)) - + # download sources.jar cmd("wget -O %s-sources.jar https://dl.google.com/dl/android/maven2/%s-sources.jar" % (artifactPath, artifactPath)) @@ -140,7 +140,7 @@ for name in extraLibs: cmd("pom2bp " + atxRewriteStr + # map external maven dependencies to Android module names - "-rewrite com.google.truth:truth=truth-prebuilt " + + "-rewrite com.google.truth:truth=truth " + "-rewrite net.sf.kxml:kxml2=kxml2-android " + "-rewrite androidx.lifecycle:lifecycle-common=androidx.lifecycle_lifecycle-common " + "-rewrite androidx.annotation:annotation=androidx.annotation_annotation " + |