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

Side by Side Diff: tools/dom/scripts/go.sh

Issue 444743002: Use Blink IDL parser for dart libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: cleanup Created 6 years, 3 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
1 #!/bin/bash -x 1 #!/bin/bash -x
2 # 2 #
3 # go.sh [--cached] [systems] 3 # go.sh [--cached] [systems]
4 # 4 #
5 # Convenience script to generate systems. Do not call from build steps or tests 5 # Convenience script to generate systems. Do not call from build steps or tests
6 # - call fremontcutbuilder and dartdomgenerator instead. Do not add 'real' 6 # - call fremontcutbuilder and dartdomgenerator instead. Do not add 'real'
7 # functionality here - change the python code instead. 7 # functionality here - change the python code instead.
8 # 8 #
9 # I find it essential to generate all the systems so I know if I am breaking 9 # I find it essential to generate all the systems so I know if I am breaking
10 # other systems. My habit is to run: 10 # other systems. My habit is to run:
(...skipping 18 matching lines...) Expand all
29 # git checkout work # select client with changes 29 # git checkout work # select client with changes
30 # ./go.sh 30 # ./go.sh
31 # meld ../generated0 ../generated # compare directories with too 31 # meld ../generated0 ../generated # compare directories with too
32 32
33 CACHED= 33 CACHED=
34 if [[ "$1" == "--cached" ]] ; then 34 if [[ "$1" == "--cached" ]] ; then
35 CACHED=1 35 CACHED=1
36 shift 36 shift
37 fi 37 fi
38 38
39
40 BLINK_PARSER=
41 if [[ "$1" == "--blink-parser" ]] ; then
42 BLINK_PARSER="--blink-parser --logging=40"
43 shift
44 fi
45
39 ALLSYSTEMS="htmldart2js,htmldartium" 46 ALLSYSTEMS="htmldart2js,htmldartium"
40 SYSTEMS="$ALLSYSTEMS" 47 SYSTEMS="$ALLSYSTEMS"
41 48
42 if [[ "$1" != "" ]] ; then 49 if [[ "$1" != "" ]] ; then
43 SYSTEMS="$1" 50 SYSTEMS="$1"
44 fi 51 fi
45 52
46 if [[ $CACHED ]] ; then 53 if [[ $CACHED ]] ; then
47 reset && 54 reset &&
48 ./dartdomgenerator.py --use-database-cache --systems="$SYSTEMS" \ 55 ./dartdomgenerator.py --use-database-cache --systems="$SYSTEMS" \
49 --update-dom-metadata --use-blink 56 --update-dom-metadata --use-blink
50 else 57 else
51 reset && 58 reset &&
52 ./dartdomgenerator.py --rebuild --parallel --systems="$SYSTEMS" \ 59 # ./dartdomgenerator.py --rebuild --parallel --systems="$SYSTEMS" \
vsm 2014/09/03 22:23:41 delete?
terry 2014/09/05 20:22:55 Done.
60 ./dartdomgenerator.py --rebuild --systems="$SYSTEMS" $BLINK_PARSER \
53 --update-dom-metadata --use-blink 61 --update-dom-metadata --use-blink
54 fi 62 fi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698