build: Relocate android/pylib's result_sink.py to //build/util.

So that result_sink.py can be re-used elsewhere, eg: crrev.com/c/2977971

This moves result_sink.py to //build/util/lib/results, but keeps
base_test_result.py, and makes its previous result class a thin wrapper
around the new //build/util/lib/results/result_types.py. That minimizes
the diff needed to transition all of //build/android's use of ResultType
to the new class.

Bug: 1135718
Change-Id: I813f8bca98bfe82d7f5eaeebebc63e035d249a38
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2983413
Commit-Queue: Ben Pastene <[email protected]>
Reviewed-by: Andrew Grieve <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
Cr-Commit-Position: refs/heads/master@{#895811}
diff --git a/build/android/test_runner.pydeps b/build/android/test_runner.pydeps
index b011417..3ee560c 100644
--- a/build/android/test_runner.pydeps
+++ b/build/android/test_runner.pydeps
@@ -133,8 +133,12 @@
 ../skia_gold_common/skia_gold_properties.py
 ../skia_gold_common/skia_gold_session.py
 ../skia_gold_common/skia_gold_session_manager.py
+../util/lib/__init__.py
 ../util/lib/common/chrome_test_server_spawner.py
 ../util/lib/common/unittest_util.py
+../util/lib/results/__init__.py
+../util/lib/results/result_sink.py
+../util/lib/results/result_types.py
 convert_dex_profile.py
 devil_chromium.py
 gyp/dex.py
@@ -151,7 +155,6 @@
 pylib/base/environment_factory.py
 pylib/base/output_manager.py
 pylib/base/output_manager_factory.py
-pylib/base/result_sink.py
 pylib/base/test_collection.py
 pylib/base/test_exception.py
 pylib/base/test_instance.py