aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/c
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-10-28 09:45:44 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-28 09:45:44 -0700
commit24a592c2ef586eaffefab068fdf94c284ae80e57 (patch)
tree9abea77b51129f41d8080d1ac34b663f835f5a02 /bin/c
parent27a58348b2a38bf8cca16dfd8f332d8cd5773270 (diff)
Make bin/c and bin/compare work on Windows.
- Call python explicitly. - Drop numpy dependency (on numpy.mean.... come on.) - Make scipy dependency optional. Depends on https://codereview.chromium.org/1419073003 to really work. BUG=skia: Doesn't change code. NOTRY=true Review URL: https://codereview.chromium.org/1416833004
Diffstat (limited to 'bin/c')
-rwxr-xr-xbin/c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/c b/bin/c
index 6e3bd6e185..fca46d40f6 100755
--- a/bin/c
+++ b/bin/c
@@ -13,14 +13,14 @@ fi
if [ ! -f $CLEAN.log ]; then
git checkout $CLEAN
- ./gyp_skia >/dev/null
+ python gyp_skia >/dev/null
ninja -C out/Release nanobench
out/Release/nanobench $@ --samples $SAMPLES -v 2> $CLEAN.log
fi
git checkout $BRANCH
-./gyp_skia >/dev/null
+python gyp_skia >/dev/null
ninja -C out/Release nanobench
out/Release/nanobench $@ --samples $SAMPLES -v 2> $BRANCH.log
-./bin/compare $CLEAN.log $BRANCH.log
+python bin/compare $CLEAN.log $BRANCH.log