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

Side by Side Diff: mojo/tools/mojob.sh

Issue 103123004: Mojo: mojob.sh: on sync, run hooks but not gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 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 # This a simple script to make building/testing Mojo components easier (on 6 # This a simple script to make building/testing Mojo components easier (on
7 # Linux). 7 # Linux).
8 8
9 # TODO(vtl): Maybe make the test runner smart and not run unchanged test 9 # TODO(vtl): Maybe make the test runner smart and not run unchanged test
10 # binaries. 10 # binaries.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 should_do_Release && do_unittests Release 126 should_do_Release && do_unittests Release
127 ;; 127 ;;
128 perftest) 128 perftest)
129 should_do_Debug && do_perftests Debug 129 should_do_Debug && do_perftests Debug
130 should_do_Release && do_perftests Release 130 should_do_Release && do_perftests Release
131 ;; 131 ;;
132 gyp) 132 gyp)
133 do_gyp 133 do_gyp
134 ;; 134 ;;
135 sync) 135 sync)
136 # Note: sync only, no gyp-ing. 136 # Note: sync only (with hooks, but no gyp-ing).
137 gclient sync --nohooks 137 GYP_CHROMIUM_NO_ACTION=1 gclient sync
138 ;; 138 ;;
139 show-bash-alias) 139 show-bash-alias)
140 # You want to type something like: 140 # You want to type something like:
141 # alias mojob=\ 141 # alias mojob=\
142 # '"$(pwd | sed '"'"'s/\(.*\/src\).*/\1/'"'"')/mojo/tools/mojob.sh"' 142 # '"$(pwd | sed '"'"'s/\(.*\/src\).*/\1/'"'"')/mojo/tools/mojob.sh"'
143 # This is quoting hell, so we simply escape every non-alphanumeric 143 # This is quoting hell, so we simply escape every non-alphanumeric
144 # character. 144 # character.
145 echo alias\ mojob\=\'\"\$\(pwd\ \|\ sed\ \'\"\'\"\'s\/\\\(\.\*\\\/src\\\)\ 145 echo alias\ mojob\=\'\"\$\(pwd\ \|\ sed\ \'\"\'\"\'s\/\\\(\.\*\\\/src\\\)\
146 \.\*\/\\1\/\'\"\'\"\'\)\/mojo\/tools\/mojob\.sh\"\' 146 \.\*\/\\1\/\'\"\'\"\'\)\/mojo\/tools\/mojob\.sh\"\'
147 ;; 147 ;;
(...skipping 18 matching lines...) Expand all
166 ;; 166 ;;
167 --static) 167 --static)
168 COMPONENT=static 168 COMPONENT=static
169 ;; 169 ;;
170 *) 170 *)
171 echo "Unknown command \"${arg}\". Try \"$(basename "$0") help\"." 171 echo "Unknown command \"${arg}\". Try \"$(basename "$0") help\"."
172 exit 1 172 exit 1
173 ;; 173 ;;
174 esac 174 esac
175 done 175 done
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