| # Copyright 2021 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| # |
| |
| import("//build/components.gni") |
| |
| fuchsia_test_component("vainfo-component") { |
| deps = [ "..:vainfo-bin" ] |
| manifest = "meta/vainfo.cmx" |
| } |
| |
| fuchsia_test_package("vainfo") { |
| test_components = [ ":vainfo-component" ] |
| } |
| |
| fuchsia_test_component("mpeg2vldemo-component") { |
| deps = [ "..:mpeg2vldemo-bin" ] |
| manifest = "meta/mpeg2vldemo.cmx" |
| } |
| |
| fuchsia_test_package("mpeg2vldemo") { |
| test_components = [ ":mpeg2vldemo-component" ] |
| } |
| |
| resource("blank") { |
| # 32 frames of 320x240 NV12, all zeros. |
| sources = [ "data/blank.nv12" ] |
| outputs = [ "data/blank.nv12" ] |
| } |
| |
| fuchsia_test_component("avcenc-component") { |
| deps = [ |
| ":blank", |
| "..:avcenc-bin", |
| ] |
| manifest = "meta/avcenc.cmx" |
| } |
| |
| fuchsia_test_package("avcenc") { |
| test_components = [ ":avcenc-component" ] |
| deps = [ ":blank" ] |
| } |