@@ -144,14 +144,6 @@ template("shell_host_executable") {
144
144
}
145
145
146
146
if (enable_unittests ) {
147
- config (" test_enable_gl_config" ) {
148
- defines = [ " SHELL_ENABLE_GL" ]
149
- }
150
-
151
- config (" test_enable_vulkan_config" ) {
152
- defines = [ " SHELL_ENABLE_VULKAN" ]
153
- }
154
-
155
147
shell_gpu_configuration (" shell_unittests_gpu_configuration" ) {
156
148
enable_software = test_enable_software
157
149
enable_vulkan = test_enable_vulkan
@@ -217,7 +209,10 @@ if (enable_unittests) {
217
209
" //third_party/skia" ,
218
210
]
219
211
220
- public_configs = [ " :shell_test_fixture_sources_config" ]
212
+ public_configs = [
213
+ " :shell_test_fixture_sources_config" ,
214
+ " :shell_unittests_gpu_configuration_config" ,
215
+ ]
221
216
222
217
# SwiftShader only supports x86/x64_64
223
218
if (target_cpu == " x86" || target_cpu == " x64" ) {
@@ -227,8 +222,6 @@ if (enable_unittests) {
227
222
" shell_test_platform_view_gl.h" ,
228
223
]
229
224
230
- public_configs += [ " :test_enable_gl_config" ]
231
-
232
225
public_deps += [ " //flutter/testing:opengl" ]
233
226
}
234
227
}
@@ -239,8 +232,6 @@ if (enable_unittests) {
239
232
" shell_test_platform_view_vulkan.h" ,
240
233
]
241
234
242
- public_configs += [ " :test_enable_vulkan_config" ]
243
-
244
235
public_deps += [ " //flutter/vulkan" ]
245
236
}
246
237
}
0 commit comments