| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 315 |
| 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) { | 316 if (is_win || is_linux || is_mac) { |
| 342 # TODO(GYP): Delete this after we've converted everything to GN. | 317 # TODO(GYP): Delete this after we've converted everything to GN. |
| 343 # The _run targets exist only for compatibility w/ GYP. | 318 # The _run targets exist only for compatibility w/ GYP. |
| 344 group("angle_end2end_tests_run") { | 319 group("angle_end2end_tests_run") { |
| 345 testonly = true | 320 testonly = true |
| 346 deps = [ | 321 deps = [ |
| 347 "//third_party/angle/src/tests:angle_end2end_tests", | 322 "//third_party/angle/src/tests:angle_end2end_tests", |
| 348 ] | 323 ] |
| 349 } | 324 } |
| 350 } | 325 } |
| OLD | NEW |