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

Side by Side Diff: tools/android-sync.sh

Issue 10815050: Android test runner: Do not copy files in *.svn folder (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 5 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 2012 the V8 project authors. All rights reserved. 2 # Copyright 2012 the V8 project authors. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 local HOST_HASH=$(md5sum "$HOST_V8/$FILE") 48 local HOST_HASH=$(md5sum "$HOST_V8/$FILE")
49 if [ "${ANDROID_HASH%% *}" != "${HOST_HASH%% *}" ]; then 49 if [ "${ANDROID_HASH%% *}" != "${HOST_HASH%% *}" ]; then
50 adb push "$HOST_V8/$FILE" "$ANDROID_V8/$FILE" &> /dev/null 50 adb push "$HOST_V8/$FILE" "$ANDROID_V8/$FILE" &> /dev/null
51 fi 51 fi
52 echo -n "." 52 echo -n "."
53 } 53 }
54 54
55 function sync_dir { 55 function sync_dir {
56 local DIR=$1 56 local DIR=$1
57 echo -n "sync to $ANDROID_V8/$DIR" 57 echo -n "sync to $ANDROID_V8/$DIR"
58 for FILE in $(find "$HOST_V8/$DIR" -type f); do 58 for FILE in $(find "$HOST_V8/$DIR" -not -path "*.svn*" -type f); do
59 local RELATIVE_FILE=${FILE:${#HOST_V8}} 59 local RELATIVE_FILE=${FILE:${#HOST_V8}}
60 sync_file "$RELATIVE_FILE" 60 sync_file "$RELATIVE_FILE"
61 done 61 done
62 echo "" 62 echo ""
63 } 63 }
64 64
65 echo -n "sync to $ANDROID_V8/$OUTDIR/$ARCH_MODE" 65 echo -n "sync to $ANDROID_V8/$OUTDIR/$ARCH_MODE"
66 sync_file "$OUTDIR/$ARCH_MODE/cctest" 66 sync_file "$OUTDIR/$ARCH_MODE/cctest"
67 sync_file "$OUTDIR/$ARCH_MODE/d8" 67 sync_file "$OUTDIR/$ARCH_MODE/d8"
68 sync_file "$OUTDIR/$ARCH_MODE/preparser" 68 sync_file "$OUTDIR/$ARCH_MODE/preparser"
69 echo "" 69 echo ""
70 echo -n "sync to $ANDROID_V8/tools" 70 echo -n "sync to $ANDROID_V8/tools"
71 sync_file tools/consarray.js 71 sync_file tools/consarray.js
72 sync_file tools/codemap.js 72 sync_file tools/codemap.js
73 sync_file tools/csvparser.js 73 sync_file tools/csvparser.js
74 sync_file tools/profile.js 74 sync_file tools/profile.js
75 sync_file tools/splaytree.js 75 sync_file tools/splaytree.js
76 sync_file tools/profile_view.js 76 sync_file tools/profile_view.js
77 sync_file tools/logreader.js 77 sync_file tools/logreader.js
78 sync_file tools/tickprocessor.js 78 sync_file tools/tickprocessor.js
79 echo "" 79 echo ""
80 sync_dir test/message 80 sync_dir test/message
81 sync_dir test/mjsunit 81 sync_dir test/mjsunit
82 sync_dir test/preparser 82 sync_dir test/preparser
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