diff options
author | Cole Faust <colefaust@google.com> | 2023-11-21 08:27:02 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-11-21 08:27:02 +0000 |
commit | 6255f2646215f90fdebc9dfd2cc454586c0204c6 (patch) | |
tree | 9cbe581ae1806697600b9766c6a0b5b82577df02 | |
parent | 3014a156b84a468e606d45479c584e622b4f1009 (diff) | |
parent | 33e676fe0f78e6b5da4e7e3997c01c8841156242 (diff) | |
download | multidex-6255f2646215f90fdebc9dfd2cc454586c0204c6.tar.gz |
Remove multidex version genrules am: 33e676fe0f
Original change: https://android-review.googlesource.com/c/platform/frameworks/multidex/+/2839047
Change-Id: I23556dc4570e1598a13cbdcc26228d83a8c60e83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | instrumentation/Android.bp | 17 | ||||
-rw-r--r-- | library/Android.bp | 20 |
2 files changed, 0 insertions, 37 deletions
diff --git a/instrumentation/Android.bp b/instrumentation/Android.bp index 7dda1cd..5a0cfb5 100644 --- a/instrumentation/Android.bp +++ b/instrumentation/Android.bp @@ -21,29 +21,12 @@ package { default_applicable_licenses: ["frameworks_multidex_license"], } -genrule { - name: "android-support-multidex-instrumentation-version", - // use srcs as dependencies, otherwise, this module won't be re-run - // during incremental build. - srcs: [ - "src/**/*.java", - ], - cmd: "echo \"git.version=`cd frameworks/multidex/instrumentation; git log --format=\"%H\" -n 1 || " + - "(echo git hash not available; exit 0)`\" > $(genDir)/android-support-multidex-instrumentation.version.txt", - out: [ - "android-support-multidex-instrumentation.version.txt", - ], -} - java_library_static { name: "android-support-multidex-instrumentation", sdk_version: "4", srcs: [ "src/**/*.java", ], - java_resources: [ - ":android-support-multidex-instrumentation-version", - ], static_libs: [ "android-support-multidex", ], diff --git a/library/Android.bp b/library/Android.bp index 44813a5..467761a 100644 --- a/library/Android.bp +++ b/library/Android.bp @@ -21,23 +21,6 @@ package { default_applicable_licenses: ["frameworks_multidex_license"], } -genrule { - name: "android-support-multidex-version", - tools: [ - "soong_zip", - ], - // use srcs as dependencies, otherwise, this module won't be re-run - // during incremental build. - srcs: [ - "src/**/*.java", - ], - cmd: "echo \"git.version=`cd frameworks/multidex/library; git log --format=\"%H\" -n 1 || " + - "(echo git hash not available; exit 0)`\" > $(genDir)/android-support-multidex.version.txt", - out: [ - "android-support-multidex.version.txt", - ], -} - java_library_static { name: "android-support-multidex", sdk_version: "15", @@ -45,9 +28,6 @@ java_library_static { srcs: [ "src/**/*.java", ], - java_resources: [ - ":android-support-multidex-version", - ], product_variables: { unbundled_build: { // Don't build the library in unbundled branches. |