summaryrefslogtreecommitdiff
path: root/sync-local.sh
blob: f9bf7b81f20550555f60829c8aa07318868eda04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
export BASE=$(cd $(dirname $0);pwd)

source ${BASE}/scripts-common/sync-common.sh

export MIRROR="/SATA3/aosp-mirror/platform/manifest.git"
#branch="android-6.0.0_r26"
branch="android-n-preview-2"

LOCAL_MANIFEST="ssh://git@dev-private-git.linaro.org/linaro-art/platform/manifest.git"
LOCAL_MANIFEST_BRANCH="linaro-n-preview"

main "$@"

${BASE}/sync-projects.sh  build \
                          bionic \
                          android-patchsets \
                          device/linaro/hikey \
                          kernel/linaro/hisilicon/ \
                          art \
#                          external/opencv-upstream \

#export http_proxy=192.168.0.102:37586
#export https_proxy=192.168.0.102:37586
./android-patchsets/N-PREVIEW-PATCHSET
if [ $? -ne 0 ]; then
    echo "Failed to run N-PREVIEW-PATCHSET"
    exit 1
fi
./android-patchsets/hikey-n-workarounds
if [ $? -ne 0 ]; then
    echo "Failed to run hikey-n-workarounds"
    exit 1
fi

#./android-patchsets/nexus9-workarounds
[ -f ./android-patchsets/LIUYQ-PATCHSET ] && ./android-patchsets/LIUYQ-PATCHSET
if [ $? -ne 0 ]; then
    echo "Failed to run LIUYQ-PATCHSET"
    exit 1
fi

#./build.sh
exit