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

Side by Side Diff: chrome/browser/resources/touch_ntp/tools/check

Issue 6661024: Use a specialized new tab page in TOUCH_UI builds (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Copyright (c) 2008 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # This script checks the touch_ntp code for common errors and style
8 # problems using the closure compiler (jscompiler) and closure linter
9 # (gjslint) - both of which must be on the path.
10 # See http://code.google.com/closure/compiler/ and
11 # http://code.google.com/closure/utilities/ for details on these tools.
12
13 # Note that we throw away the output from jscompiler since it's use
14 # is not yet common in Chromium and for now we want it to be an optional
15 # tool for helping to find bugs, not something that actually changes
16 # the embedded JavaScript (making it harder to debug, for example).
17
18 SOURCES="eventtracker.js touchhandler.js slider.js newtab.js grabber.js "
19 SOURCES+="standalone/standalone_hack.js"
20
21 ARGS="--warning_level VERBOSE"
22 ARGS+=" --js_output_file /dev/null"
23 for S in $SOURCES tools/externs.js; do
24 ARGS+=" --js $S"
25 done
26
27 cd `dirname $0`/..
28
29 echo jscompiler $ARGS
30 jscompiler $ARGS || exit 1
31
32 echo gjslint $SOURCES
33 gjslint $SOURCES || exit 1
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698