File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ source build/envsetup.sh
4
+
5
+ if [[ $HOSTNAME == raphael ]]; then
6
+ readonly devices=(comet tokay shiba lynx bluejay)
7
+ elif [[ $HOSTNAME = raptor ]]; then
8
+ readonly devices=(komodo akita felix cheetah raven)
9
+ elif [[ $HOSTNAME = vermeer ]]; then
10
+ readonly devices=(caiman husky tangorpro panther oriole)
11
+ else
12
+ echo invalid hostname >&2
13
+ exit 1
14
+ fi
15
+
16
+ for device in ${devices[@]} ; do
17
+ rm -rf out || exit 1
18
+ lunch $device -cur-user || exit 1
19
+ if [[ $device = @ (bluejay| raven| oriole) ]]; then
20
+ m vendorbootimage target-files-package otatools-package || exit 1
21
+ else
22
+ m vendorbootimage vendorkernelbootimage target-files-package otatools-package || exit 1
23
+ fi
24
+ script/finalize.sh || exit 1
25
+ rm -rf out || exit 1
26
+ done
You can’t perform that action at this time.
0 commit comments