aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/fiddle/fiddle_test48
1 files changed, 0 insertions, 48 deletions
diff --git a/tools/fiddle/fiddle_test b/tools/fiddle/fiddle_test
deleted file mode 100755
index 19d97a9fda..0000000000
--- a/tools/fiddle/fiddle_test
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-# Copyright 2015 Google Inc.
-#
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Script for building Fiddle build bots.
-
-set -e
-set -x
-
-cd "$(dirname "$0")"
-fiddle_dir="$PWD"
-cd "../.."
-skia_dir="$PWD"
-
-if ! command -v cmake > /dev/null 2>&1 ; then
- cores=32
- echo "Bootstrapping CMake"
- cmake_dir="${skia_dir}/third_party/externals/cmake"
- (
- cd "$cmake_dir"
- ./bootstrap --parallel=$cores
- make -j $cores cmake
- )
- export PATH="${cmake_dir}/bin:${PATH}"
-fi
-
-echo "Building Skia and Fiddle"
-(
- cd "${skia_dir}/cmake"
- cmake -G Ninja .
- ninja skia
-)
-
-tmp=$(mktemp -d "${TMPDIR:-/tmp}/fiddle_test.XXXXXXXXXX")
-
-cd "$fiddle_dir"
-
-${CXX:-c++} \
- "@../../cmake/skia_compile_arguments.txt" \
- -o "${tmp}/fiddle" \
- "fiddle_main.cpp" \
- "draw.cpp" \
- -lOSMesa \
- "@../../cmake/skia_link_arguments.txt"
-
-"${tmp}/fiddle" | sha1sum