Add unit-test target stubs.
This commit is contained in:
@@ -23,12 +23,15 @@ executable("impeller_unittests") {
|
||||
testonly = true
|
||||
|
||||
deps = [
|
||||
"base:base_unittests",
|
||||
"compiler:compiler_unittests",
|
||||
"compositor:compositor_unittests",
|
||||
"entity:entity_unittests",
|
||||
"fixtures",
|
||||
"geometry:geometry_unittests",
|
||||
"image:image_unittests",
|
||||
"playground",
|
||||
"primitives:primitives_unittests",
|
||||
"shader_glue:shader_glue_unittests",
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,9 +5,6 @@
|
||||
import("../tools/impeller.gni")
|
||||
|
||||
impeller_component("base") {
|
||||
# Only the umbrella header may be imported.
|
||||
public = [ "base.h" ]
|
||||
|
||||
sources = [
|
||||
"base.h",
|
||||
"config.h",
|
||||
@@ -15,3 +12,12 @@ impeller_component("base") {
|
||||
"strings.h",
|
||||
]
|
||||
}
|
||||
|
||||
impeller_component("base_unittests") {
|
||||
testonly = true
|
||||
sources = []
|
||||
deps = [
|
||||
":base",
|
||||
"//flutter/testing",
|
||||
]
|
||||
}
|
||||
|
||||
@@ -16,3 +16,12 @@ impeller_component("image") {
|
||||
|
||||
public_deps = [ "../geometry" ]
|
||||
}
|
||||
|
||||
impeller_component("image_unittests") {
|
||||
testonly = true
|
||||
sources = []
|
||||
deps = [
|
||||
":image",
|
||||
"//flutter/testing",
|
||||
]
|
||||
}
|
||||
|
||||
@@ -20,3 +20,12 @@ impeller_component("shader_glue") {
|
||||
|
||||
deps = [ "../geometry" ]
|
||||
}
|
||||
|
||||
impeller_component("shader_glue_unittests") {
|
||||
testonly = true
|
||||
sources = []
|
||||
deps = [
|
||||
":shader_glue",
|
||||
"//flutter/testing",
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user