skia2/infra
Leon Scroggins III 87caae61cd Move SkBitmapRegionCodec into client_utils/android
Bug: skia:10154

This will make it clear that these files are for Android use and
avoid compiling them for other clients.

Update testing tools to use android::skia::BitmapRegionDecoder, but
only if SK_ENABLE_ANDROID_UTILS is defined.

Take this opportunity to clean up the class:
- The base class, which was originally designed to allow switching
  amongst different implementations, is no longer needed. Rename
  SkBitmapRegionCodec to android::skia::BitmapRegionDecoder
  (following the new convention and matching the Java API name).
  Continue to inherit from SkBitmapRegionDecoder temporarily, to
  allow Android to switch to the new API.
- Use std::unique_ptr instead of passing raw pointers.

Add a test to verify that we only create a BitmapRegionDecoder if
it is one of the supported types.

Change-Id: Ied13fc8acb105fde042553331846d95ae15d6b57
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/287498
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
2020-05-20 20:06:48 +00:00
..
bots Move SkBitmapRegionCodec into client_utils/android 2020-05-20 20:06:48 +00:00
canvaskit [canvaskit] Update build script to support latest Emscripten 2020-01-28 15:41:58 +00:00
cmake [infra] Change CMake build to use a temporary directory 2020-01-14 11:41:55 +00:00
config Roll recipe dependencies (trivial). 2020-03-02 22:51:39 +00:00
cross-compile/docker/cross-linux-arm64 Add dockerfile to cross-compile for arm64 linux 2019-02-20 19:04:11 +00:00
cts [infra] Update infra dep 2020-01-27 19:48:46 +00:00
docker [infra] Add Debian9 docker image. 2020-04-14 12:47:14 +00:00
gcc remove support for mips64el/loongson3a 2020-05-19 19:22:49 +00:00
lottiecap Update gold aggregators to use new struct 2019-09-30 14:30:48 +00:00
pathkit [canvaskit] Update build script to support latest Emscripten 2020-01-28 15:41:58 +00:00
project-config Delete swarm_trigger recipe 2016-12-13 12:53:00 +00:00
skqp Update skqp's Android NDK to r20 2019-07-03 20:45:24 +00:00
wasm-common [infra] Update infra dep 2020-03-25 13:28:56 +00:00
README.md Added CQ config to skia repo 2015-06-08 05:12:56 -07:00

This directory contains infra-specific files. The branch-config/ directory contains configs that are specific to the master branch (e.g. config for the CQ committing to the master branch), while project-config/ directory contains project-wide configuration (e.g. list of buckets for cr-buildbucket service and list of refs known to the infra services).