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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 ] | 123 ] |
124 | 124 |
125 libs = [] | 125 libs = [] |
126 | 126 |
127 if (is_android) { | 127 if (is_android) { |
128 deps += [ "//testing/android/native_test:native_test_native_code" ] | 128 deps += [ "//testing/android/native_test:native_test_native_code" ] |
129 libs += [ "android" ] | 129 libs += [ "android" ] |
130 } | 130 } |
131 } | 131 } |
132 | 132 |
| 133 # TODO(GYP): Delete this after we've converted everything to GN. |
| 134 # The _run targets exist only for compatibility w/ GYP. |
| 135 group("gpu_unittests_run") { |
| 136 testonly = true |
| 137 deps = [ |
| 138 ":gpu_unittests", |
| 139 ] |
| 140 } |
| 141 |
133 test("gpu_unittests") { | 142 test("gpu_unittests") { |
134 sources = [ | 143 sources = [ |
135 "command_buffer/client/buffer_tracker_unittest.cc", | 144 "command_buffer/client/buffer_tracker_unittest.cc", |
136 "command_buffer/client/client_test_helper.cc", | 145 "command_buffer/client/client_test_helper.cc", |
137 "command_buffer/client/client_test_helper.h", | 146 "command_buffer/client/client_test_helper.h", |
138 "command_buffer/client/cmd_buffer_helper_test.cc", | 147 "command_buffer/client/cmd_buffer_helper_test.cc", |
139 "command_buffer/client/fenced_allocator_test.cc", | 148 "command_buffer/client/fenced_allocator_test.cc", |
140 "command_buffer/client/gles2_implementation_unittest.cc", | 149 "command_buffer/client/gles2_implementation_unittest.cc", |
141 "command_buffer/client/mapped_memory_unittest.cc", | 150 "command_buffer/client/mapped_memory_unittest.cc", |
142 "command_buffer/client/program_info_manager_unittest.cc", | 151 "command_buffer/client/program_info_manager_unittest.cc", |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 | 303 |
295 deps = [ | 304 deps = [ |
296 "//base", | 305 "//base", |
297 "//base/test:test_support", | 306 "//base/test:test_support", |
298 "//base/third_party/dynamic_annotations", | 307 "//base/third_party/dynamic_annotations", |
299 "//testing/gmock", | 308 "//testing/gmock", |
300 "//testing/gtest", | 309 "//testing/gtest", |
301 "//third_party/angle:translator_static", | 310 "//third_party/angle:translator_static", |
302 ] | 311 ] |
303 } | 312 } |
OLD | NEW |