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