@@ -67,21 +67,42 @@ impeller_component("aiks_playground") {
67
67
]
68
68
}
69
69
70
- impeller_component ( " aiks_unittests " ) {
70
+ source_set ( " aiks_unittests_source " ) {
71
71
testonly = true
72
-
73
72
sources = [
73
+ " aiks_gradient_unittests.cc" ,
74
74
" aiks_unittests.cc" ,
75
- " canvas_recorder_unittests.cc" ,
76
- " canvas_unittests.cc" ,
75
+ " aiks_unittests.h" ,
77
76
" testing/context_mock.h" ,
78
77
" testing/context_spy.cc" ,
79
78
" testing/context_spy.h" ,
79
+ ]
80
+ deps = [
81
+ " :aiks" ,
82
+ " :aiks_playground" ,
83
+ " //flutter/impeller/geometry:geometry_asserts" ,
84
+ " //flutter/impeller/golden_tests:golden_playground_test" ,
85
+ " //flutter/impeller/playground:playground_test" ,
86
+ " //flutter/impeller/scene" ,
87
+ " //flutter/impeller/typographer/backends/stb:typographer_stb_backend" ,
88
+ " //flutter/testing:testing_lib" ,
89
+ " //flutter/third_party/imgui" ,
90
+ " //flutter/third_party/txt" ,
91
+ ]
92
+ }
93
+
94
+ impeller_component (" aiks_unittests" ) {
95
+ testonly = true
96
+
97
+ sources = [
98
+ " canvas_recorder_unittests.cc" ,
99
+ " canvas_unittests.cc" ,
80
100
" trace_serializer_unittests.cc" ,
81
101
]
82
102
deps = [
83
103
" :aiks" ,
84
104
" :aiks_playground" ,
105
+ " :aiks_unittests_source" ,
85
106
" //flutter/impeller/geometry:geometry_asserts" ,
86
107
" //flutter/impeller/golden_tests:golden_playground_test" ,
87
108
" //flutter/impeller/playground:playground_test" ,
@@ -106,14 +127,14 @@ impeller_component("aiks_unittests_golden") {
106
127
]
107
128
108
129
sources = [
109
- " aiks_unittests.cc" ,
110
130
" testing/context_mock.h" ,
111
131
" testing/context_spy.cc" ,
112
132
" testing/context_spy.h" ,
113
133
]
114
134
deps = [
115
135
" :aiks" ,
116
136
" :aiks_playground" ,
137
+ " :aiks_unittests_source" ,
117
138
" //flutter/impeller/geometry:geometry_asserts" ,
118
139
" //flutter/impeller/golden_tests:golden_playground_test" ,
119
140
" //flutter/impeller/playground:playground_test" ,
0 commit comments