Age | Commit message (Collapse) | Author |
|
Origin:
tools/base: @ 19a21a271acc17107e61624f1a6b732fbde3a006
tools/swt: @ 6cfb288822127acc19304789fb6b6e27bcec04fe
Change-Id: Ia165fd2fb31a0de67c8a37c4c9ec8e8ddc4df326
|
|
Example usage:
$ prebuilts/devtools/update_jars.sh -f -o sdklib sdkuilib sdkmanager
Change-Id: Id694c1af3963f0188495d0fcf274e7dfc6e02da7
|
|
Details:
- run it as $ prebuilts/devtools/update_jars.sh -f -u
- it will make a temp copy of all prebuilts jar
- it then uses unzip's verbose listing with CRCs, and
removes the files timestamps using sed.
- it then builds an md5 of the unzip list.
- and compares before/after building.
- when the signature changes, just checkout the file
using git to restore it.
The "zip signature" should detect when the binary content
of a zip changes, except for its entries timestamps. There
will be false positives as the binary content of JAR files
might vary based on the compiled bytecode. It's clearly not
as perfect as comparing the sources but it's a good first
pass at not updating all binaries.
(cherry-pick from tools_r22 @ 6834340fe20e1b7ca499b0a56138e9035500140b)
Change-Id: I89f0cdd3337630132893e1a2dd1c162cf416e36f
|
|
Change-Id: I732202657120e872ac8fce4ca068e9fe61c35c8f
|
|
Change-Id: I3d985ed0abfb96930372439dee9dc2633d121948
|
|
There's no "readlink -f" option.
Change-Id: If6f885e477188a6e2391f72a52bd1dcc712a72a5
|
|
Origin:
tools/base @ a7371bb93416bfa909f6099b306ebcda504fb550
tools/swt @ ebd5d7dcf1c14082e3e7599926f92e81a6b4ea9e
Change-Id: Id3b9b93da18fa58efce996bc2f6d90136915d8bf
|
|
Built from tools/base.git @ 555be9c36fd5ea977273edc9538547f8642af62b
Change-Id: I913a29e5f40db99871701461aad6fc38483015d2
|
|
Remove usage of newer Bash associative arrays (aka maps) which isn't available on MacOS.
Change-Id: If9a589d13e014bac53208c9869a63723a3dabe4f
|
|
Change-Id: Iacba8d55b2429e942bb4ec45c2916b1d154b55bc
|
|
sdklib: built from tools/base 187dab382bcb657c8fad843672ec76138713eeb3
sdkuilib, swtmenubar: built from tools/swt 15dd833ff93b9d25253b87000ef0fc16027e297a
Also updated the update script, now you can update a single prebuilt
by doing something like this:
$ ./update_jars.sh -f ddmlib
Change-Id: I296aee5dfe8fbb9f9b6b11a281b078b5328d2210
|
|
Built from tools/base.git at 78ecc304c977ca2124ab7785b4bacdb68b27b0e4
Change-Id: I85955e469219439ca8c37753636faae6b0f93f05
|
|
Change-Id: I2d36ddcd8e7caa00dd6ef82dee525f7fafb6c957
|