Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: gpu/BUILD.gn

Issue 1662053002: Move gn _run target generation into test(). (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +kbr changes Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « google_apis/gcm/BUILD.gn ('k') | gpu/gles2_conform_support/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # GYP-to-GN project mappings: 5 # GYP-to-GN project mappings:
6 # 6 #
7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client
8 # 8 #
9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common
10 # 10 #
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 ":gpu", 94 ":gpu",
95 "//gpu/command_buffer/client:gles2_interface", 95 "//gpu/command_buffer/client:gles2_interface",
96 ] 96 ]
97 deps = [ 97 deps = [
98 "//testing/gmock", 98 "//testing/gmock",
99 "//testing/gtest", 99 "//testing/gtest",
100 "//ui/gl:gl_unittest_utils", 100 "//ui/gl:gl_unittest_utils",
101 ] 101 ]
102 } 102 }
103 103
104 group("gl_tests_run") {
105 testonly = true
106 deps = [
107 ":gl_tests",
108 ]
109 }
110
111 test("gl_tests") { 104 test("gl_tests") {
112 sources = [ 105 sources = [
113 "command_buffer/tests/compressed_texture_test.cc", 106 "command_buffer/tests/compressed_texture_test.cc",
114 "command_buffer/tests/es3_misc_functions_unittest.cc", 107 "command_buffer/tests/es3_misc_functions_unittest.cc",
115 "command_buffer/tests/gl_bind_uniform_location_unittest.cc", 108 "command_buffer/tests/gl_bind_uniform_location_unittest.cc",
116 "command_buffer/tests/gl_chromium_framebuffer_mixed_samples_unittest.cc", 109 "command_buffer/tests/gl_chromium_framebuffer_mixed_samples_unittest.cc",
117 "command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc", 110 "command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc",
118 "command_buffer/tests/gl_chromium_path_rendering_unittest.cc", 111 "command_buffer/tests/gl_chromium_path_rendering_unittest.cc",
119 "command_buffer/tests/gl_clear_framebuffer_unittest.cc", 112 "command_buffer/tests/gl_clear_framebuffer_unittest.cc",
120 "command_buffer/tests/gl_compressed_copy_texture_CHROMIUM_unittest.cc", 113 "command_buffer/tests/gl_compressed_copy_texture_CHROMIUM_unittest.cc",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 ] 163 ]
171 164
172 libs = [] 165 libs = []
173 166
174 if (is_android) { 167 if (is_android) {
175 libs += [ "android" ] 168 libs += [ "android" ]
176 deps += [ "//ui/android:ui_java" ] 169 deps += [ "//ui/android:ui_java" ]
177 } 170 }
178 } 171 }
179 172
180 # TODO(GYP): Delete this after we've converted everything to GN.
181 # The _run targets exist only for compatibility w/ GYP.
182 group("gpu_unittests_run") {
183 testonly = true
184 deps = [
185 ":gpu_unittests",
186 ]
187 }
188
189 test("gpu_unittests") { 173 test("gpu_unittests") {
190 sources = [ 174 sources = [
191 "command_buffer/client/buffer_tracker_unittest.cc", 175 "command_buffer/client/buffer_tracker_unittest.cc",
192 "command_buffer/client/client_test_helper.cc", 176 "command_buffer/client/client_test_helper.cc",
193 "command_buffer/client/client_test_helper.h", 177 "command_buffer/client/client_test_helper.h",
194 "command_buffer/client/cmd_buffer_helper_test.cc", 178 "command_buffer/client/cmd_buffer_helper_test.cc",
195 "command_buffer/client/fenced_allocator_test.cc", 179 "command_buffer/client/fenced_allocator_test.cc",
196 "command_buffer/client/gles2_implementation_unittest.cc", 180 "command_buffer/client/gles2_implementation_unittest.cc",
197 "command_buffer/client/mapped_memory_unittest.cc", 181 "command_buffer/client/mapped_memory_unittest.cc",
198 "command_buffer/client/program_info_manager_unittest.cc", 182 "command_buffer/client/program_info_manager_unittest.cc",
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 "//base", 305 "//base",
322 "//base/test:test_support", 306 "//base/test:test_support",
323 "//gpu/command_buffer/service", 307 "//gpu/command_buffer/service",
324 "//testing/gmock", 308 "//testing/gmock",
325 "//testing/gtest", 309 "//testing/gtest",
326 "//testing/perf", 310 "//testing/perf",
327 "//ui/gfx/geometry", 311 "//ui/gfx/geometry",
328 "//ui/gl", 312 "//ui/gl",
329 ] 313 ]
330 } 314 }
331
332 # TODO(GYP): Delete this after we've converted everything to GN.
333 # The _run targets exist only for compatibility w/ GYP.
334 group("angle_unittests_run") {
335 testonly = true
336 deps = [
337 "//third_party/angle/src/tests:angle_unittests",
338 ]
339 }
340
341 if (is_win || is_linux || is_mac) {
342 # TODO(GYP): Delete this after we've converted everything to GN.
343 # The _run targets exist only for compatibility w/ GYP.
344 group("angle_end2end_tests_run") {
345 testonly = true
346 deps = [
347 "//third_party/angle/src/tests:angle_end2end_tests",
348 ]
349 }
350 }
OLDNEW
« no previous file with comments | « google_apis/gcm/BUILD.gn ('k') | gpu/gles2_conform_support/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698