Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Side by Side Diff: build/android/buildbot/buildbot_functions.sh

Issue 11016002: Kill adb server each buildbot run (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 # Bash functions used by buildbot annotator scripts for the android 6 # Bash functions used by buildbot annotator scripts for the android
7 # build of chromium. Executing this script should not perform actions 7 # build of chromium. Executing this script should not perform actions
8 # other than setting variables and defining of functions. 8 # other than setting variables and defining of functions.
9 9
10 # Number of jobs on the compile line; e.g. make -j"${JOBS}" 10 # Number of jobs on the compile line; e.g. make -j"${JOBS}"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 echo "@@@BUILD_STEP Environment setup@@@" 66 echo "@@@BUILD_STEP Environment setup@@@"
67 bb_parse_args "$@" 67 bb_parse_args "$@"
68 68
69 local BUILDTOOL=$(bb_get_json_prop "$FACTORY_PROPERTIES" buildtool) 69 local BUILDTOOL=$(bb_get_json_prop "$FACTORY_PROPERTIES" buildtool)
70 if [[ $BUILDTOOL = ninja ]]; then 70 if [[ $BUILDTOOL = ninja ]]; then
71 export GYP_GENERATORS=ninja 71 export GYP_GENERATORS=ninja
72 fi 72 fi
73 bb_setup_goma_internal 73 bb_setup_goma_internal
74 . build/android/envsetup.sh 74 . build/android/envsetup.sh
75 <<<<<<< Updated upstream
76 ||||||| merged common ancestors
Yaron 2012/09/29 00:54:12 I think you want to resolve this.. :)
Isaac (away) 2012/09/29 01:09:03 ummm.....
77 }
78
79 function bb_compile_setup {
80 =======
81 adb kill-server
82 }
83
84 function bb_compile_setup {
85 >>>>>>> Stashed changes
75 local extra_gyp_defines="$(bb_get_json_prop "$FACTORY_PROPERTIES" \ 86 local extra_gyp_defines="$(bb_get_json_prop "$FACTORY_PROPERTIES" \
76 extra_gyp_defines)" 87 extra_gyp_defines)"
77 export GYP_DEFINES+=" fastbuild=1 $extra_gyp_defines" 88 export GYP_DEFINES+=" fastbuild=1 $extra_gyp_defines"
78 if echo $extra_gyp_defines | grep -q clang; then 89 if echo $extra_gyp_defines | grep -q clang; then
79 unset CXX_target 90 unset CXX_target
80 fi 91 fi
81 # Should be called only after envsetup is done. 92 # Should be called only after envsetup is done.
82 bb_run_gclient_hooks 93 bb_run_gclient_hooks
83 } 94 }
84 95
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 ) 310 )
300 } 311 }
301 312
302 # Retrieve a packed json property using python 313 # Retrieve a packed json property using python
303 function bb_get_json_prop { 314 function bb_get_json_prop {
304 local JSON="$1" 315 local JSON="$1"
305 local PROP="$2" 316 local PROP="$2"
306 317
307 python -c "import json; print json.loads('$JSON').get('$PROP', '')" 318 python -c "import json; print json.loads('$JSON').get('$PROP', '')"
308 } 319 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698