123e3b893f
Implement a VideoAsset wrapper, used for Skottie video layers. This requires a non-testlib build target for SkVideoDecoder, hence a dedicated BUILD.gn. Add software conversion fallback for SkVideoDecoder, using libswscale. Change-Id: I80dd555a1241081e50ee4834b64ad3518948a0f1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/285378 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
23 lines
515 B
Plaintext
23 lines
515 B
Plaintext
# Copyright 2019 Google LLC
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("../../gn/skia.gni")
|
|
|
|
config("public_config") {
|
|
include_dirs = [ "include" ]
|
|
}
|
|
|
|
static_library("skresources") {
|
|
import("skresources.gni")
|
|
public_configs = [ ":public_config" ]
|
|
public = skia_skresources_public
|
|
sources = skia_skresources_sources
|
|
configs += [ "../../:skia_private" ]
|
|
deps = [
|
|
"../..:skia",
|
|
"../../experimental/ffmpeg:video_decoder",
|
|
]
|
|
}
|