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

Side by Side Diff: gpu/BUILD.gn

Issue 1664653003: Revert of Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
104 test("gl_tests") { 111 test("gl_tests") {
105 sources = [ 112 sources = [
106 "command_buffer/tests/compressed_texture_test.cc", 113 "command_buffer/tests/compressed_texture_test.cc",
107 "command_buffer/tests/es3_misc_functions_unittest.cc", 114 "command_buffer/tests/es3_misc_functions_unittest.cc",
108 "command_buffer/tests/gl_bind_uniform_location_unittest.cc", 115 "command_buffer/tests/gl_bind_uniform_location_unittest.cc",
109 "command_buffer/tests/gl_chromium_framebuffer_mixed_samples_unittest.cc", 116 "command_buffer/tests/gl_chromium_framebuffer_mixed_samples_unittest.cc",
110 "command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc", 117 "command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc",
111 "command_buffer/tests/gl_chromium_path_rendering_unittest.cc", 118 "command_buffer/tests/gl_chromium_path_rendering_unittest.cc",
112 "command_buffer/tests/gl_clear_framebuffer_unittest.cc", 119 "command_buffer/tests/gl_clear_framebuffer_unittest.cc",
113 "command_buffer/tests/gl_compressed_copy_texture_CHROMIUM_unittest.cc", 120 "command_buffer/tests/gl_compressed_copy_texture_CHROMIUM_unittest.cc",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 ] 170 ]
164 171
165 libs = [] 172 libs = []
166 173
167 if (is_android) { 174 if (is_android) {
168 libs += [ "android" ] 175 libs += [ "android" ]
169 deps += [ "//ui/android:ui_java" ] 176 deps += [ "//ui/android:ui_java" ]
170 } 177 }
171 } 178 }
172 179
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
173 test("gpu_unittests") { 189 test("gpu_unittests") {
174 sources = [ 190 sources = [
175 "command_buffer/client/buffer_tracker_unittest.cc", 191 "command_buffer/client/buffer_tracker_unittest.cc",
176 "command_buffer/client/client_test_helper.cc", 192 "command_buffer/client/client_test_helper.cc",
177 "command_buffer/client/client_test_helper.h", 193 "command_buffer/client/client_test_helper.h",
178 "command_buffer/client/cmd_buffer_helper_test.cc", 194 "command_buffer/client/cmd_buffer_helper_test.cc",
179 "command_buffer/client/fenced_allocator_test.cc", 195 "command_buffer/client/fenced_allocator_test.cc",
180 "command_buffer/client/gles2_implementation_unittest.cc", 196 "command_buffer/client/gles2_implementation_unittest.cc",
181 "command_buffer/client/mapped_memory_unittest.cc", 197 "command_buffer/client/mapped_memory_unittest.cc",
182 "command_buffer/client/program_info_manager_unittest.cc", 198 "command_buffer/client/program_info_manager_unittest.cc",
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 "//base/test:test_support", 322 "//base/test:test_support",
307 "//gpu/command_buffer/service", 323 "//gpu/command_buffer/service",
308 "//testing/gmock", 324 "//testing/gmock",
309 "//testing/gtest", 325 "//testing/gtest",
310 "//testing/perf", 326 "//testing/perf",
311 "//ui/gfx/geometry", 327 "//ui/gfx/geometry",
312 "//ui/gl", 328 "//ui/gl",
313 ] 329 ]
314 } 330 }
315 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
316 if (is_win || is_linux || is_mac) { 341 if (is_win || is_linux || is_mac) {
317 # TODO(GYP): Delete this after we've converted everything to GN. 342 # TODO(GYP): Delete this after we've converted everything to GN.
318 # The _run targets exist only for compatibility w/ GYP. 343 # The _run targets exist only for compatibility w/ GYP.
319 group("angle_end2end_tests_run") { 344 group("angle_end2end_tests_run") {
320 testonly = true 345 testonly = true
321 deps = [ 346 deps = [
322 "//third_party/angle/src/tests:angle_end2end_tests", 347 "//third_party/angle/src/tests:angle_end2end_tests",
323 ] 348 ]
324 } 349 }
325 } 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