[fuchsia] Migrate web_engine_unittests to component framework v2.
Bug: 1256503 Change-Id: Id0d2b8ee6bbe9920cbc00fdd184897a2b09415c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3804720 Reviewed-by: Jordan Bayles <jophba@chromium.org> Commit-Queue: Greg Thompson <grt@chromium.org> Reviewed-by: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/main@{#1032650}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
169c59eea4
commit
f7c7a1a088
build/config/fuchsia/test
fuchsia_web/webengine
media
@ -4,7 +4,7 @@
|
||||
{
|
||||
use: [
|
||||
{
|
||||
protocol: "fuchsia.sysmem.Allocator",
|
||||
protocol: "fuchsia.sys.Launcher",
|
||||
},
|
||||
],
|
||||
}
|
@ -642,13 +642,12 @@ test("web_engine_unittests") {
|
||||
"//ui/events:test_support",
|
||||
"//ui/ozone",
|
||||
]
|
||||
use_cfv2 = false
|
||||
additional_manifest_fragments = [
|
||||
# TODO(crbug.com/1185811): Figure out why jit_capabilities is needed.
|
||||
"//build/config/fuchsia/test/jit_capabilities.test-cmx",
|
||||
use_cfv1 = false
|
||||
|
||||
"//build/config/fuchsia/test/network_capabilities.test-cmx",
|
||||
"//build/config/fuchsia/test/vulkan_capabilities.test-cmx",
|
||||
additional_manifest_fragments = [
|
||||
"//build/config/fuchsia/test/cfv1_launcher.shard.test-cml",
|
||||
"//build/config/fuchsia/test/network.shard.test-cml",
|
||||
"//media/fuchsia/test_support.shard.test-cml",
|
||||
]
|
||||
additional_manifests = [
|
||||
# Required by ContextProvider unit-tests to launch the FakeContext process.
|
||||
|
@ -479,7 +479,7 @@ test("capture_unittests") {
|
||||
]
|
||||
use_cfv1 = false
|
||||
additional_manifest_fragments =
|
||||
[ "//media/fuchsia/camera/test_support.shard.test-cml" ]
|
||||
[ "//media/fuchsia/test_support.shard.test-cml" ]
|
||||
}
|
||||
|
||||
if (is_mac) {
|
||||
|
@ -2,9 +2,9 @@
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# Tests may include the accompanying test_support.shard.test-cml in this
|
||||
# directory in their additional_manifest_fragments to satisfy capability
|
||||
# requirements for this target.
|
||||
# Tests may include //media/fuchsia/test_support.shard.test-cml in their
|
||||
# additional_manifest_fragments to satisfy capability requirements for this
|
||||
# target.
|
||||
source_set("test_support") {
|
||||
testonly = true
|
||||
public_deps = [
|
||||
|
14
media/fuchsia/test_support.shard.test-cml
Normal file
14
media/fuchsia/test_support.shard.test-cml
Normal file
@ -0,0 +1,14 @@
|
||||
// Copyright 2022 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// This shard routes the protocols needed by tests that use parts of //media
|
||||
// such as //media/fuchsia/camera:test_support, //media/capture:test_support,
|
||||
// //media/fuchsia/cdm, //media/fuchsia/video, etc.
|
||||
{
|
||||
use: [
|
||||
{
|
||||
protocol: "fuchsia.sysmem.Allocator",
|
||||
},
|
||||
],
|
||||
}
|
Reference in New Issue
Block a user