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

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

Issue 100573003: [Mojo] Move JS bindings out of public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix header guards 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 | « mojo/public/bindings/sample/sample_service_unittests.js ('k') | 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 do_build() { 43 do_build() {
44 echo "Building in out/$1 ..." 44 echo "Building in out/$1 ..."
45 ninja -C "out/$1" mojo || exit 1 45 ninja -C "out/$1" mojo || exit 1
46 } 46 }
47 47
48 do_unittests() { 48 do_unittests() {
49 echo "Running unit tests in out/$1 ..." 49 echo "Running unit tests in out/$1 ..."
50 "out/$1/mojo_system_unittests" || exit 1 50 "out/$1/mojo_system_unittests" || exit 1
51 "out/$1/mojo_public_unittests" || exit 1 51 "out/$1/mojo_public_unittests" || exit 1
52 "out/$1/mojo_bindings_unittests" || exit 1 52 "out/$1/mojo_bindings_unittests" || exit 1
53 "out/$1/mojo_js_bindings_unittests" || exit 1 53 "out/$1/mojo_js_unittests" || exit 1
54 "out/$1/mojo_common_unittests" || exit 1 54 "out/$1/mojo_common_unittests" || exit 1
55 "out/$1/mojo_shell_unittests" || exit 1 55 "out/$1/mojo_shell_unittests" || exit 1
56 } 56 }
57 57
58 do_perftests() { 58 do_perftests() {
59 echo "Running perf tests in out/$1 ..." 59 echo "Running perf tests in out/$1 ..."
60 "out/$1/mojo_public_perftests" || exit 1 60 "out/$1/mojo_public_perftests" || exit 1
61 } 61 }
62 62
63 do_gyp() { 63 do_gyp() {
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 | « mojo/public/bindings/sample/sample_service_unittests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698