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

Side by Side Diff: experimental/fiddle/fiddle_test

Issue 1834993003: experimental/fiddle: update to work again (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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
« no previous file with comments | « experimental/fiddle/fiddle_main.cpp ('k') | experimental/fiddle/fiddler.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Copyright 2015 Google Inc. 2 # Copyright 2015 Google Inc.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script for building Fiddle build bots. 7 # Script for building Fiddle build bots.
8 8
9 set -e 9 set -e
10 set -x 10 set -x
11 11
12 cd "$(dirname "$0")/../.." 12 cd "$(dirname "$0")/../.."
13 skia_dir="$PWD" 13 skia_dir="$PWD"
14 cores=32
15 14
16 echo "Bootstrapping CMake" 15 if ! command -v cmake > /dev/null 2>&1 ; then
17 cmake_dir="${skia_dir}/third_party/externals/cmake" 16 cores=32
18 cd "$cmake_dir" 17 echo "Bootstrapping CMake"
19 ./bootstrap --parallel=$cores 18 cmake_dir="${skia_dir}/third_party/externals/cmake"
20 make -j $cores cmake 19 cd "$cmake_dir"
20 ./bootstrap --parallel=$cores
21 make -j $cores cmake
22 export PATH="${cmake_dir}/bin:${PATH}"
23 fi
21 24
22 echo "Building fiddle bootstrapped CMake" 25 echo "Building Skia and Fiddle"
23 cd "${skia_dir}/experimental/fiddle" 26 cd "${skia_dir}/experimental/fiddle"
24 export PATH="${cmake_dir}/bin:${PATH}"
25 go build fiddler.go 27 go build fiddler.go
26 ./fiddler "$skia_dir" 28 ./fiddler "$skia_dir"
27 ./fiddler "$skia_dir" draw.cpp > /dev/null 29 ./fiddler "$skia_dir" draw.cpp > /dev/null
28 30
29 echo "cleaning up" 31 echo "cleaning up"
30 cd "$skia_dir" 32 cd "$skia_dir"
31 git clean -fxd cmake experimental/fiddle 33 git clean -fxd cmake experimental/fiddle
OLDNEW
« no previous file with comments | « experimental/fiddle/fiddle_main.cpp ('k') | experimental/fiddle/fiddler.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698