Dmitri Plotnikov | ad29fe1 | 2016-07-13 18:25:16 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | # Populates glide maven repository with current snapshot from google3 |
| 4 | |
Dmitri Plotnikov | ad29fe1 | 2016-07-13 18:25:16 -0700 | [diff] [blame] | 5 | |
| 6 | TARGET_DIR=`pwd` |
| 7 | |
| 8 | p4 g4d -f sync_glide_google3_android |
| 9 | pushd /google/src/cloud/$USER/sync_glide_google3_android/google3 >> /dev/null |
| 10 | |
| 11 | SYNCED_CL=`g4 sync | grep @ | sed s/.*@//` |
| 12 | |
| 13 | blaze build \ |
Ta-wei Yen | 6eb5834 | 2018-01-25 18:14:11 -0800 | [diff] [blame] | 14 | third_party/java_src/android_libs/glide/annotation:libannotation.jar \ |
| 15 | third_party/java_src/android_libs/glide/annotation:libannotation-src.jar \ |
| 16 | third_party/java_src/android_libs/glide/annotation/compiler:libcompiler_lib.jar \ |
| 17 | third_party/java_src/android_libs/glide/annotation/compiler:libcompiler_lib-src.jar \ |
Dmitri Plotnikov | ad29fe1 | 2016-07-13 18:25:16 -0700 | [diff] [blame] | 18 | third_party/java_src/android_libs/glide/library/src/main:libglide.jar \ |
| 19 | third_party/java_src/android_libs/glide/library/src/main:libglide-src.jar \ |
| 20 | third_party/java_src/android_libs/glide/third_party/disklrucache:libdisklrucache.jar \ |
| 21 | third_party/java_src/android_libs/glide/third_party/disklrucache:libdisklrucache-src.jar \ |
| 22 | third_party/java_src/android_libs/glide/third_party/gif_decoder:libgif_decoder.jar \ |
| 23 | third_party/java_src/android_libs/glide/third_party/gif_decoder:libgif_decoder-src.jar |
| 24 | |
Ta-wei Yen | 6eb5834 | 2018-01-25 18:14:11 -0800 | [diff] [blame] | 25 | cp -f blaze-bin/third_party/java_src/android_libs/glide/annotation/libannotation.jar \ |
| 26 | $TARGET_DIR/com/github/bumptech/glide/annotation/SNAPSHOT/annotation-SNAPSHOT.jar |
| 27 | cp -f blaze-bin/third_party/java_src/android_libs/glide/annotation/libannotation-src.jar \ |
| 28 | $TARGET_DIR/com/github/bumptech/glide/annotation/SNAPSHOT/annotation-SNAPSHOT-sources.jar |
| 29 | cp -f blaze-bin/third_party/java_src/android_libs/glide/annotation/compiler/libcompiler_lib.jar \ |
| 30 | $TARGET_DIR/com/github/bumptech/glide/compiler/SNAPSHOT/compiler-SNAPSHOT.jar |
| 31 | cp -f blaze-bin/third_party/java_src/android_libs/glide/annotation/compiler/libcompiler_lib-src.jar \ |
| 32 | $TARGET_DIR/com/github/bumptech/glide/compiler/SNAPSHOT/compiler-SNAPSHOT-sources.jar |
Dmitri Plotnikov | ad29fe1 | 2016-07-13 18:25:16 -0700 | [diff] [blame] | 33 | cp -f blaze-bin/third_party/java_src/android_libs/glide/library/src/main/libglide.jar \ |
Lujiang Xue | e9660a2 | 2017-05-17 09:51:42 -0700 | [diff] [blame] | 34 | $TARGET_DIR/com/github/bumptech/glide/glide/SNAPSHOT/glide-SNAPSHOT.jar |
Dmitri Plotnikov | ad29fe1 | 2016-07-13 18:25:16 -0700 | [diff] [blame] | 35 | cp -f blaze-bin/third_party/java_src/android_libs/glide/library/src/main/libglide-src.jar \ |
Lujiang Xue | e9660a2 | 2017-05-17 09:51:42 -0700 | [diff] [blame] | 36 | $TARGET_DIR/com/github/bumptech/glide/glide/SNAPSHOT/glide-SNAPSHOT-sources.jar |
Dmitri Plotnikov | ad29fe1 | 2016-07-13 18:25:16 -0700 | [diff] [blame] | 37 | cp -f blaze-bin/third_party/java_src/android_libs/glide/third_party/disklrucache/libdisklrucache.jar \ |
Lujiang Xue | e9660a2 | 2017-05-17 09:51:42 -0700 | [diff] [blame] | 38 | $TARGET_DIR/com/github/bumptech/glide/disklrucache/SNAPSHOT/disklrucache-SNAPSHOT.jar |
Dmitri Plotnikov | ad29fe1 | 2016-07-13 18:25:16 -0700 | [diff] [blame] | 39 | cp -f blaze-bin/third_party/java_src/android_libs/glide/third_party/disklrucache/libdisklrucache-src.jar \ |
Lujiang Xue | e9660a2 | 2017-05-17 09:51:42 -0700 | [diff] [blame] | 40 | $TARGET_DIR/com/github/bumptech/glide/disklrucache/SNAPSHOT/disklrucache-SNAPSHOT-sources.jar |
Dmitri Plotnikov | ad29fe1 | 2016-07-13 18:25:16 -0700 | [diff] [blame] | 41 | cp -f blaze-bin/third_party/java_src/android_libs/glide/third_party/gif_decoder/libgif_decoder.jar \ |
Lujiang Xue | e9660a2 | 2017-05-17 09:51:42 -0700 | [diff] [blame] | 42 | $TARGET_DIR/com/github/bumptech/glide/gifdecoder/SNAPSHOT/gifdecoder-SNAPSHOT.jar |
Dmitri Plotnikov | ad29fe1 | 2016-07-13 18:25:16 -0700 | [diff] [blame] | 43 | cp -f blaze-bin/third_party/java_src/android_libs/glide/third_party/gif_decoder/libgif_decoder-src.jar \ |
Lujiang Xue | e9660a2 | 2017-05-17 09:51:42 -0700 | [diff] [blame] | 44 | $TARGET_DIR/com/github/bumptech/glide/gifdecoder/SNAPSHOT/gifdecoder-SNAPSHOT-sources.jar |
Dmitri Plotnikov | ad29fe1 | 2016-07-13 18:25:16 -0700 | [diff] [blame] | 45 | |
| 46 | echo "This maven repository was synced to google3 CL $SYNCED_CL" > $TARGET_DIR/README.txt |
| 47 | popd |