OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/sh | |
2 set -ex | |
3 | |
4 get_depot_tools() { | |
5 cd | |
6 git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
7 PATH="$HOME/depot_tools:$PATH" | |
8 } | |
9 | |
10 gclient_sync() { | |
11 # Rename the source dir to match what gclient expects. | |
12 srcdir=$(basename "$TRAVIS_BUILD_DIR") | |
13 cd "${TRAVIS_BUILD_DIR}"/.. | |
14 mv "${srcdir}" src | |
15 gclient config --unmanaged https://github.com/google/breakpad.git | |
16 gclient sync | |
17 } | |
18 | |
19 main() { | |
20 get_depot_tools | |
21 gclient_sync | |
22 } | |
23 | |
24 main "$@" | |
OLD | NEW |