Merge "Unzip apk in $(genDir) instead of inside source tree" am: 9e137eaf6d am: e065bfe1c0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1740173 Change-Id: Ie599c89e619994294e89e7fa7203f669043296b4
This commit is contained in:
commit
939e9d3695
@ -23,15 +23,15 @@ package {
|
||||
|
||||
android_test_helper_app {
|
||||
name: "LargeResourcesCompressed",
|
||||
static_libs: [ "androidx.appcompat_appcompat" ],
|
||||
static_libs: ["androidx.appcompat_appcompat"],
|
||||
}
|
||||
|
||||
genrule {
|
||||
name: "LargeResourcesUncompressed",
|
||||
srcs: [ ":LargeResourcesCompressed" ],
|
||||
srcs: [":LargeResourcesCompressed"],
|
||||
out: ["LargeResourcesUncompressed.apk"],
|
||||
cmd: "cp $(in) $(out) && unzip -o $(out) resources.arsc"
|
||||
+ " && zip $(out) resources.arsc"
|
||||
cmd: "cp $(in) $(out) && unzip -o $(out) resources.arsc -d $(genDir)" +
|
||||
" && zip -j $(out) $(genDir)/resources.arsc",
|
||||
}
|
||||
|
||||
java_library {
|
||||
|
Loading…
x
Reference in New Issue
Block a user