update_engine: Remove deprecated build and coverage files.

The only supported workflows to build update_engine are emerge and
cros_workon_make, which also allows you to incrementally build and
test update_engine. These files are now deprecated and don't work
since the project moved to use gyp.

BUG=None
TEST=None

Change-Id: Id7f279353fad461819cdaf0b8006f2eab2b6973c
Reviewed-on: https://chromium-review.googlesource.com/227788
Reviewed-by: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
diff --git a/build b/build
deleted file mode 100755
index 7520b1c..0000000
--- a/build
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Invokes an incremental, parallel build of the update engine binaries. For the
-# number of build threads, it uses the number of processing cores plus one.
-
-NUM_CORES=$(cat /proc/cpuinfo | grep '^processor' | wc -l)
-CFLAGS=-O1 scons -j $((NUM_CORES + 1)) "$@"
diff --git a/gen_coverage_html b/gen_coverage_html
deleted file mode 100755
index 93a6f56..0000000
--- a/gen_coverage_html
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Builds, runs unit tests, then collects and processes coverage data for update
-# engine binaries. In the case where lcov/genhtml are missing, it will just
-# build and run the unit tests.
-
-DO_COVERAGE=$(which lcov genhtml > /dev/null 2>&1 && echo 1)
-
-set -ex
-
-./build debug=1
-if [[ $DO_COVERAGE ]]; then
-  lcov --directory . --zerocounters
-fi
-./run_unittests
-if [[ $DO_COVERAGE ]]; then
-  lcov --directory . --capture --output-file app.info
-
-  # We try to use genhtml with --no-function-coverage, if it is supported.  The
-  # problem w/ function coverage is that every template instantiation of a
-  # method counts as a different method, so if we instantiate a method twice,
-  # once for testing and once for prod, the method is tested, but it shows only
-  # 50% function coverage b/c it thinks we didn't test the prod version.
-  GENHTML_NO_FUNC_COV=$(genhtml --help | grep -q function-coverage &&
-                        echo --no-function-coverage)
-  genhtml $GENHTML_NO_FUNC_CONV --output-directory html app.info
-  ./local_coverage_rate
-fi