Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_43355755
engine
提交
ab2b0111
E
engine
项目概览
weixin_43355755
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
ab2b0111
编写于
9月 28, 2020
作者:
G
George Wright
提交者:
GitHub
9月 28, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Enable embedder_unittests on Fuchsia (#21418)
上级
67b1219d
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
206 addition
and
34 deletion
+206
-34
BUILD.gn
BUILD.gn
+1
-5
shell/common/BUILD.gn
shell/common/BUILD.gn
+0
-7
shell/config.gni
shell/config.gni
+11
-0
shell/gpu/gpu.gni
shell/gpu/gpu.gni
+17
-0
shell/platform/embedder/BUILD.gn
shell/platform/embedder/BUILD.gn
+42
-17
shell/platform/embedder/embedder.cc
shell/platform/embedder/embedder.cc
+20
-0
shell/platform/embedder/tests/embedder_config_builder.cc
shell/platform/embedder/tests/embedder_config_builder.cc
+13
-0
shell/platform/embedder/tests/embedder_config_builder.h
shell/platform/embedder/tests/embedder_config_builder.h
+2
-2
shell/platform/embedder/tests/embedder_test.cc
shell/platform/embedder/tests/embedder_test.cc
+7
-0
shell/platform/embedder/tests/embedder_test.h
shell/platform/embedder/tests/embedder_test.h
+1
-2
shell/platform/embedder/tests/embedder_test_backingstore_producer.cc
...orm/embedder/tests/embedder_test_backingstore_producer.cc
+10
-0
shell/platform/embedder/tests/embedder_test_context.h
shell/platform/embedder/tests/embedder_test_context.h
+0
-1
shell/platform/embedder/tests/embedder_test_context_gl.h
shell/platform/embedder/tests/embedder_test_context_gl.h
+1
-0
shell/platform/embedder/tests/embedder_unittests_gl.cc
shell/platform/embedder/tests/embedder_unittests_gl.cc
+1
-0
shell/platform/fuchsia/flutter/BUILD.gn
shell/platform/fuchsia/flutter/BUILD.gn
+80
-0
未找到文件。
BUILD.gn
浏览文件 @
ab2b0111
...
...
@@ -95,6 +95,7 @@ group("flutter") {
"//flutter/lib/ui:ui_unittests",
"//flutter/runtime:runtime_unittests",
"//flutter/shell/common:shell_unittests",
"//flutter/shell/platform/embedder:embedder_unittests",
"//flutter/testing:testing_unittests",
"//flutter/third_party/txt:txt_unittests",
]
...
...
@@ -116,11 +117,6 @@ group("flutter") {
]
}
# TODO(): Enable embedder_unittests on fucsia.
if (!is_fuchsia) {
public_deps += [ "//flutter/shell/platform/embedder:embedder_unittests" ]
}
# Unit tests for desktop embeddings should only be built if the desktop
# embeddings are being built.
if (enable_desktop_embeddings) {
...
...
shell/common/BUILD.gn
浏览文件 @
ab2b0111
...
...
@@ -141,13 +141,6 @@ template("shell_host_executable") {
}
if (enable_unittests) {
declare_args() {
test_enable_vulkan = is_fuchsia
test_enable_gl = !is_fuchsia
test_enable_software = true
test_enable_metal = false
}
config("test_enable_gl_config") {
defines = [ "SHELL_ENABLE_GL" ]
}
...
...
shell/config.gni
浏览文件 @
ab2b0111
...
...
@@ -5,6 +5,17 @@
declare_args() {
shell_enable_gl = !is_fuchsia
shell_enable_metal = false
# TODO(gw280): Enable once Fuchsia supports Vulkan through the embedder
shell_enable_vulkan = false
shell_enable_software = true
stripped_symbols = true
}
declare_args() {
test_enable_gl = shell_enable_gl
test_enable_metal = shell_enable_metal
test_enable_vulkan = is_fuchsia
test_enable_software = shell_enable_software
}
shell/gpu/gpu.gni
浏览文件 @
ab2b0111
...
...
@@ -33,4 +33,21 @@ template("shell_gpu_configuration") {
public_deps += [ "//flutter/shell/gpu:gpu_surface_metal" ]
}
}
config("${target_name}_config") {
defines = []
if (invoker.enable_software) {
defines += [ "SHELL_ENABLE_SOFTWARE" ]
}
if (invoker.enable_gl) {
defines += [ "SHELL_ENABLE_GL" ]
}
if (invoker.enable_vulkan) {
defines += [ "SHELL_ENABLE_VULKAN" ]
}
if (invoker.enable_metal) {
defines += [ "SHELL_ENABLE_METAL" ]
}
}
}
shell/platform/embedder/BUILD.gn
浏览文件 @
ab2b0111
...
...
@@ -8,11 +8,18 @@ import("//flutter/shell/gpu/gpu.gni")
import("//flutter/shell/platform/embedder/embedder.gni")
import("//flutter/testing/testing.gni")
declare_args() {
embedder_enable_software = shell_enable_software
embedder_enable_vulkan = shell_enable_vulkan
embedder_enable_gl = shell_enable_gl
embedder_enable_metal = shell_enable_metal
}
shell_gpu_configuration("embedder_gpu_configuration") {
enable_software =
tru
e
enable_vulkan =
false
enable_gl =
true
enable_metal =
false
enable_software =
embedder_enable_softwar
e
enable_vulkan =
embedder_enable_vulkan
enable_gl =
embedder_enable_gl
enable_metal =
embedder_enable_metal
}
_framework_binary_subpath = "Versions/A/FlutterEmbedder"
...
...
@@ -27,8 +34,6 @@ template("embedder_source_set") {
"embedder.cc",
"embedder_engine.cc",
"embedder_engine.h",
"embedder_external_texture_gl.cc",
"embedder_external_texture_gl.h",
"embedder_external_view.cc",
"embedder_external_view.h",
"embedder_external_view_embedder.cc",
...
...
@@ -46,8 +51,6 @@ template("embedder_source_set") {
"embedder_safe_access.h",
"embedder_surface.cc",
"embedder_surface.h",
"embedder_surface_gl.cc",
"embedder_surface_gl.h",
"embedder_surface_software.cc",
"embedder_surface_software.h",
"embedder_task_runner.cc",
...
...
@@ -60,6 +63,15 @@ template("embedder_source_set") {
"vsync_waiter_embedder.h",
]
if (embedder_enable_gl) {
sources += [
"embedder_external_texture_gl.cc",
"embedder_external_texture_gl.h",
"embedder_surface_gl.cc",
"embedder_surface_gl.h",
]
}
deps = [
":embedder_gpu_configuration",
"//flutter/assets",
...
...
@@ -77,7 +89,10 @@ template("embedder_source_set") {
public_deps = [ ":embedder_headers" ]
public_configs += [ "//flutter:config" ]
public_configs += [
":embedder_gpu_configuration_config",
"//flutter:config",
]
}
}
...
...
@@ -127,11 +142,14 @@ test_fixtures("fixtures") {
]
}
if (
current_toolchain == host_toolchain
) {
if (
enable_unittests
) {
executable("embedder_unittests") {
testonly = true
configs += [ "//flutter:export_dynamic_symbols" ]
configs += [
":embedder_gpu_configuration_config",
"//flutter:export_dynamic_symbols",
]
include_dirs = [ "." ]
...
...
@@ -145,35 +163,42 @@ if (current_toolchain == host_toolchain) {
"tests/embedder_test_backingstore_producer.h",
"tests/embedder_test_compositor.cc",
"tests/embedder_test_compositor.h",
"tests/embedder_test_compositor_gl.cc",
"tests/embedder_test_compositor_gl.h",
"tests/embedder_test_compositor_software.cc",
"tests/embedder_test_compositor_software.h",
"tests/embedder_test_context.cc",
"tests/embedder_test_context.h",
"tests/embedder_test_context_gl.cc",
"tests/embedder_test_context_gl.h",
"tests/embedder_test_context_software.cc",
"tests/embedder_test_context_software.h",
"tests/embedder_unittests.cc",
"tests/embedder_unittests_gl.cc",
"tests/embedder_unittests_util.cc",
]
deps = [
":embedder",
":embedder_gpu_configuration",
":fixtures",
"//flutter/flow",
"//flutter/lib/ui",
"//flutter/runtime",
"//flutter/testing",
"//flutter/testing:dart",
"//flutter/testing:opengl",
"//flutter/testing:skia",
"//flutter/third_party/tonic",
"//third_party/dart/runtime/bin:elf_loader",
"//third_party/skia",
]
if (test_enable_gl) {
sources += [
"tests/embedder_test_compositor_gl.cc",
"tests/embedder_test_compositor_gl.h",
"tests/embedder_test_context_gl.cc",
"tests/embedder_test_context_gl.h",
"tests/embedder_unittests_gl.cc",
]
deps += [ "//flutter/testing:opengl" ]
}
}
}
...
...
shell/platform/embedder/embedder.cc
浏览文件 @
ab2b0111
...
...
@@ -156,6 +156,7 @@ InferOpenGLPlatformViewCreationCallback(
platform_dispatch_table
,
std
::
unique_ptr
<
flutter
::
EmbedderExternalViewEmbedder
>
external_view_embedder
)
{
#ifdef SHELL_ENABLE_GL
if
(
config
->
type
!=
kOpenGL
)
{
return
nullptr
;
}
...
...
@@ -266,6 +267,9 @@ InferOpenGLPlatformViewCreationCallback(
std
::
move
(
external_view_embedder
)
// external view embedder
);
});
#else
return
nullptr
;
#endif
}
static
flutter
::
Shell
::
CreateCallback
<
flutter
::
PlatformView
>
...
...
@@ -336,6 +340,7 @@ static sk_sp<SkSurface> MakeSkSurfaceFromBackingStore(
GrDirectContext
*
context
,
const
FlutterBackingStoreConfig
&
config
,
const
FlutterOpenGLTexture
*
texture
)
{
#ifdef SHELL_ENABLE_GL
GrGLTextureInfo
texture_info
;
texture_info
.
fTarget
=
texture
->
target
;
texture_info
.
fID
=
texture
->
name
;
...
...
@@ -370,12 +375,16 @@ static sk_sp<SkSurface> MakeSkSurfaceFromBackingStore(
}
return
surface
;
#else
return
nullptr
;
#endif
}
static
sk_sp
<
SkSurface
>
MakeSkSurfaceFromBackingStore
(
GrDirectContext
*
context
,
const
FlutterBackingStoreConfig
&
config
,
const
FlutterOpenGLFramebuffer
*
framebuffer
)
{
#ifdef SHELL_ENABLE_GL
GrGLFramebufferInfo
framebuffer_info
=
{};
framebuffer_info
.
fFormat
=
framebuffer
->
target
;
framebuffer_info
.
fFBOID
=
framebuffer
->
name
;
...
...
@@ -409,6 +418,9 @@ static sk_sp<SkSurface> MakeSkSurfaceFromBackingStore(
return
nullptr
;
}
return
surface
;
#else
return
nullptr
;
#endif
}
static
sk_sp
<
SkSurface
>
MakeSkSurfaceFromBackingStore
(
...
...
@@ -603,6 +615,11 @@ FlutterEngineResult FlutterEngineCreateAOTData(
auto
aot_data
=
std
::
make_unique
<
_FlutterEngineAOTData
>
();
const
char
*
error
=
nullptr
;
#if OS_FUCHSIA
// TODO(gw280): https://github.com/flutter/flutter/issues/50285
// Dart doesn't implement Dart_LoadELF on Fuchsia
Dart_LoadedElf
*
loaded_elf
=
nullptr
;
#else
Dart_LoadedElf
*
loaded_elf
=
Dart_LoadELF
(
source
->
elf_path
,
// file path
0
,
// file offset
...
...
@@ -612,6 +629,7 @@ FlutterEngineResult FlutterEngineCreateAOTData(
&
aot_data
->
vm_isolate_data
,
// vm isolate data (out)
&
aot_data
->
vm_isolate_instrs
// vm isolate instr (out)
);
#endif
if
(
loaded_elf
==
nullptr
)
{
return
LOG_EMBEDDER_ERROR
(
kInvalidArguments
,
error
);
...
...
@@ -1021,6 +1039,7 @@ FlutterEngineResult FlutterEngineInitialize(size_t version,
// platform view jump table.
flutter
::
EmbedderExternalTextureGL
::
ExternalTextureCallback
external_texture_callback
;
#ifdef SHELL_ENABLE_GL
if
(
config
->
type
==
kOpenGL
)
{
const
FlutterOpenGLRendererConfig
*
open_gl_config
=
&
config
->
open_gl
;
if
(
SAFE_ACCESS
(
open_gl_config
,
gl_external_texture_frame_callback
,
...
...
@@ -1075,6 +1094,7 @@ FlutterEngineResult FlutterEngineInitialize(size_t version,
};
}
}
#endif
auto
thread_host
=
flutter
::
EmbedderThreadHost
::
CreateEmbedderOrEngineManagedThreadHost
(
...
...
shell/platform/embedder/tests/embedder_config_builder.cc
浏览文件 @
ab2b0111
...
...
@@ -8,6 +8,11 @@
#include "flutter/shell/platform/embedder/embedder.h"
#include "third_party/skia/include/core/SkBitmap.h"
#ifdef SHELL_ENABLE_GL
#include "flutter/shell/platform/embedder/tests/embedder_test_compositor_gl.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context_gl.h"
#endif
namespace
flutter
{
namespace
testing
{
...
...
@@ -25,6 +30,7 @@ EmbedderConfigBuilder::EmbedderConfigBuilder(
custom_task_runners_
.
struct_size
=
sizeof
(
FlutterCustomTaskRunners
);
#ifdef SHELL_ENABLE_GL
opengl_renderer_config_
.
struct_size
=
sizeof
(
FlutterOpenGLRendererConfig
);
opengl_renderer_config_
.
make_current
=
[](
void
*
context
)
->
bool
{
return
reinterpret_cast
<
EmbedderTestContextGL
*>
(
context
)
->
GLMakeCurrent
();
...
...
@@ -57,6 +63,7 @@ EmbedderConfigBuilder::EmbedderConfigBuilder(
return
reinterpret_cast
<
EmbedderTestContext
*>
(
context
)
->
GetRootSurfaceTransformation
();
};
#endif
software_renderer_config_
.
struct_size
=
sizeof
(
FlutterSoftwareRendererConfig
);
software_renderer_config_
.
surface_present_callback
=
...
...
@@ -111,6 +118,7 @@ void EmbedderConfigBuilder::SetSoftwareRendererConfig(SkISize surface_size) {
}
void
EmbedderConfigBuilder
::
SetOpenGLFBOCallBack
()
{
#ifdef SHELL_ENABLE_GL
// SetOpenGLRendererConfig must be called before this.
FML_CHECK
(
renderer_config_
.
type
==
FlutterRendererType
::
kOpenGL
);
renderer_config_
.
open_gl
.
fbo_callback
=
[](
void
*
context
)
->
uint32_t
{
...
...
@@ -123,21 +131,26 @@ void EmbedderConfigBuilder::SetOpenGLFBOCallBack() {
return
reinterpret_cast
<
EmbedderTestContextGL
*>
(
context
)
->
GLGetFramebuffer
(
frame_info
);
};
#endif
}
void
EmbedderConfigBuilder
::
SetOpenGLPresentCallBack
()
{
#ifdef SHELL_ENABLE_GL
// SetOpenGLRendererConfig must be called before this.
FML_CHECK
(
renderer_config_
.
type
==
FlutterRendererType
::
kOpenGL
);
renderer_config_
.
open_gl
.
present
=
[](
void
*
context
)
->
bool
{
// passing a placeholder fbo_id.
return
reinterpret_cast
<
EmbedderTestContextGL
*>
(
context
)
->
GLPresent
(
0
);
};
#endif
}
void
EmbedderConfigBuilder
::
SetOpenGLRendererConfig
(
SkISize
surface_size
)
{
#ifdef SHELL_ENABLE_GL
renderer_config_
.
type
=
FlutterRendererType
::
kOpenGL
;
renderer_config_
.
open_gl
=
opengl_renderer_config_
;
context_
.
SetupSurface
(
surface_size
);
#endif
}
void
EmbedderConfigBuilder
::
SetAssetsPath
()
{
...
...
shell/platform/embedder/tests/embedder_config_builder.h
浏览文件 @
ab2b0111
...
...
@@ -9,8 +9,6 @@
#include "flutter/fml/unique_object.h"
#include "flutter/shell/platform/embedder/embedder.h"
#include "flutter/shell/platform/embedder/tests/embedder_test.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_compositor_gl.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context_gl.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context_software.h"
namespace
flutter
{
...
...
@@ -101,7 +99,9 @@ class EmbedderConfigBuilder {
FlutterProjectArgs
project_args_
=
{};
FlutterRendererConfig
renderer_config_
=
{};
FlutterSoftwareRendererConfig
software_renderer_config_
=
{};
#ifdef SHELL_ENABLE_GL
FlutterOpenGLRendererConfig
opengl_renderer_config_
=
{};
#endif
std
::
string
dart_entrypoint_
;
FlutterCustomTaskRunners
custom_task_runners_
=
{};
FlutterCompositor
compositor_
=
{};
...
...
shell/platform/embedder/tests/embedder_test.cc
浏览文件 @
ab2b0111
...
...
@@ -3,6 +3,11 @@
// found in the LICENSE file.
#include "flutter/shell/platform/embedder/tests/embedder_test.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context_software.h"
#ifdef SHELL_ENABLE_GL
#include "flutter/shell/platform/embedder/tests/embedder_test_context_gl.h"
#endif
namespace
flutter
{
namespace
testing
{
...
...
@@ -23,10 +28,12 @@ EmbedderTestContext& EmbedderTest::GetEmbedderContext(ContextType type) {
std
::
make_unique
<
EmbedderTestContextSoftware
>
(
GetFixturesDirectory
());
break
;
#ifdef SHELL_ENABLE_GL
case
ContextType
::
kOpenGLContext
:
embedder_contexts_
[
type
]
=
std
::
make_unique
<
EmbedderTestContextGL
>
(
GetFixturesDirectory
());
break
;
#endif
default:
FML_DCHECK
(
false
)
<<
"Invalid context type specified."
;
break
;
...
...
shell/platform/embedder/tests/embedder_test.h
浏览文件 @
ab2b0111
...
...
@@ -9,8 +9,7 @@
#include <memory>
#include "flutter/fml/macros.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context_gl.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context_software.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context.h"
#include "flutter/testing/testing.h"
#include "flutter/testing/thread_test.h"
...
...
shell/platform/embedder/tests/embedder_test_backingstore_producer.cc
浏览文件 @
ab2b0111
...
...
@@ -23,10 +23,12 @@ bool EmbedderTestBackingStoreProducer::Create(
switch
(
type_
)
{
case
RenderTargetType
::
kSoftwareBuffer
:
return
CreateSoftware
(
config
,
renderer_out
);
#ifdef SHELL_ENABLE_GL
case
RenderTargetType
::
kOpenGLTexture
:
return
CreateTexture
(
config
,
renderer_out
);
case
RenderTargetType
::
kOpenGLFramebuffer
:
return
CreateFramebuffer
(
config
,
renderer_out
);
#endif
default:
return
false
;
}
...
...
@@ -35,6 +37,7 @@ bool EmbedderTestBackingStoreProducer::Create(
bool
EmbedderTestBackingStoreProducer
::
CreateFramebuffer
(
const
FlutterBackingStoreConfig
*
config
,
FlutterBackingStore
*
backing_store_out
)
{
#ifdef SHELL_ENABLE_GL
const
auto
image_info
=
SkImageInfo
::
MakeN32Premul
(
config
->
size
.
width
,
config
->
size
.
height
);
...
...
@@ -79,11 +82,15 @@ bool EmbedderTestBackingStoreProducer::CreateFramebuffer(
[](
void
*
user_data
)
{
reinterpret_cast
<
SkSurface
*>
(
user_data
)
->
unref
();
};
return
true
;
#else
return
false
;
#endif
}
bool
EmbedderTestBackingStoreProducer
::
CreateTexture
(
const
FlutterBackingStoreConfig
*
config
,
FlutterBackingStore
*
backing_store_out
)
{
#ifdef SHELL_ENABLE_GL
const
auto
image_info
=
SkImageInfo
::
MakeN32Premul
(
config
->
size
.
width
,
config
->
size
.
height
);
...
...
@@ -129,6 +136,9 @@ bool EmbedderTestBackingStoreProducer::CreateTexture(
[](
void
*
user_data
)
{
reinterpret_cast
<
SkSurface
*>
(
user_data
)
->
unref
();
};
return
true
;
#else
return
false
;
#endif
}
bool
EmbedderTestBackingStoreProducer
::
CreateSoftware
(
...
...
shell/platform/embedder/tests/embedder_test_context.h
浏览文件 @
ab2b0111
...
...
@@ -19,7 +19,6 @@
#include "flutter/shell/platform/embedder/tests/embedder_test_compositor.h"
#include "flutter/testing/elf_loader.h"
#include "flutter/testing/test_dart_native_resolver.h"
#include "flutter/testing/test_gl_surface.h"
#include "third_party/skia/include/core/SkImage.h"
namespace
flutter
{
...
...
shell/platform/embedder/tests/embedder_test_context_gl.h
浏览文件 @
ab2b0111
...
...
@@ -6,6 +6,7 @@
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_CONTEXT_GL_H_
#include "flutter/shell/platform/embedder/tests/embedder_test_context.h"
#include "flutter/testing/test_gl_surface.h"
namespace
flutter
{
namespace
testing
{
...
...
shell/platform/embedder/tests/embedder_unittests_gl.cc
浏览文件 @
ab2b0111
...
...
@@ -23,6 +23,7 @@
#include "flutter/shell/platform/embedder/tests/embedder_assertions.h"
#include "flutter/shell/platform/embedder/tests/embedder_config_builder.h"
#include "flutter/shell/platform/embedder/tests/embedder_test.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context_gl.h"
#include "flutter/shell/platform/embedder/tests/embedder_unittests_util.h"
#include "flutter/testing/assertions_skia.h"
#include "flutter/testing/testing.h"
...
...
shell/platform/fuchsia/flutter/BUILD.gn
浏览文件 @
ab2b0111
...
...
@@ -758,12 +758,92 @@ fuchsia_test_archive("ui_tests") {
resources += vulkan_icds
}
fuchsia_test_archive("embedder_tests") {
deps = [
"//flutter/shell/platform/embedder:embedder_unittests",
"//flutter/shell/platform/embedder:fixtures",
]
binary = "embedder_unittests"
# TODO(gw280): https://github.com/flutter/flutter/issues/50294
# Right now we need to manually specify all the fixtures that are
# declared in the test_fixtures() call above.
resources = [
{
path =
"$root_gen_dir/flutter/shell/platform/embedder/assets/kernel_blob.bin"
dest = "assets/kernel_blob.bin"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/arc_end_caps.png"
dest = "assets/arc_end_caps.png"
},
{
path =
"$root_gen_dir/flutter/shell/platform/embedder/assets/compositor.png"
dest = "assets/compositor.png"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/compositor_root_surface_xformation.png"
dest = "assets/compositor_root_surface_xformation.png"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/compositor_software.png"
dest = "assets/compositor_software.png"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/compositor_with_platform_layer_on_bottom.png"
dest = "assets/compositor_with_platform_layer_on_bottom.png"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/compositor_with_root_layer_only.png"
dest = "assets/compositor_with_root_layer_only.png"
},
{
path =
"$root_gen_dir/flutter/shell/platform/embedder/assets/dpr_noxform.png"
dest = "assets/dpr_noxform.png"
},
{
path =
"$root_gen_dir/flutter/shell/platform/embedder/assets/dpr_xform.png"
dest = "assets/dpr_xform.png"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/gradient.png"
dest = "assets/gradient.png"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/gradient_xform.png"
dest = "assets/gradient_xform.png"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/scene_without_custom_compositor.png"
dest = "assets/scene_without_custom_compositor.png"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/scene_without_custom_compositor_with_xform.png"
dest = "assets/scene_without_custom_compositor_with_xform.png"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/verifyb143464703.png"
dest = "assets/verifyb143464703.png"
},
{
path = "$root_gen_dir/flutter/shell/platform/embedder/assets/verifyb143464703_soft_noxform.png"
dest = "assets/verifyb143464703_soft_noxform.png"
},
]
}
# When adding a new dep here, please also ensure the dep is added to
# testing/fuchsia/run_tests.sh and testing/fuchsia/test_fars
group("tests") {
testonly = true
deps = [
":embedder_tests",
":flow_tests",
":flutter_runner_scenic_tests",
":flutter_runner_tests",
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录