OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'nacl_win64_target': 0, | 7 'nacl_win64_target': 0, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'gpu_common.gypi', | 10 'gpu_common.gypi', |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 }, | 119 }, |
120 { | 120 { |
121 'target_name': 'gpu_unittests', | 121 'target_name': 'gpu_unittests', |
122 'type': '<(gtest_target_type)', | 122 'type': '<(gtest_target_type)', |
123 'dependencies': [ | 123 'dependencies': [ |
124 '../base/base.gyp:base', | 124 '../base/base.gyp:base', |
125 '../base/base.gyp:test_support_base', | 125 '../base/base.gyp:test_support_base', |
126 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 126 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
127 '../testing/gmock.gyp:gmock', | 127 '../testing/gmock.gyp:gmock', |
128 '../testing/gtest.gyp:gtest', | 128 '../testing/gtest.gyp:gtest', |
129 '../third_party/angle_dx11/src/build_angle.gyp:translator_glsl', | |
130 '../ui/gl/gl.gyp:gl', | 129 '../ui/gl/gl.gyp:gl', |
131 '../ui/gfx/gfx.gyp:gfx', | 130 '../ui/gfx/gfx.gyp:gfx', |
132 'command_buffer/command_buffer.gyp:gles2_utils', | 131 'command_buffer/command_buffer.gyp:gles2_utils', |
133 'command_buffer_client', | 132 'command_buffer_client', |
134 'command_buffer_common', | 133 'command_buffer_common', |
135 'command_buffer_service', | 134 'command_buffer_service', |
136 'gpu', | 135 'gpu', |
137 'gpu_unittest_utils', | 136 'gpu_unittest_utils', |
138 'gles2_implementation_client_side_arrays', | 137 'gles2_implementation_client_side_arrays', |
139 'gles2_cmd_helper', | 138 'gles2_cmd_helper', |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 'dependencies': [ | 233 'dependencies': [ |
235 '../testing/android/native_test.gyp:native_test_native_code', | 234 '../testing/android/native_test.gyp:native_test_native_code', |
236 ], | 235 ], |
237 }], | 236 }], |
238 # See http://crbug.com/162998#c4 for why this is needed. | 237 # See http://crbug.com/162998#c4 for why this is needed. |
239 ['OS=="linux" and linux_use_tcmalloc==1', { | 238 ['OS=="linux" and linux_use_tcmalloc==1', { |
240 'dependencies': [ | 239 'dependencies': [ |
241 '../base/allocator/allocator.gyp:allocator', | 240 '../base/allocator/allocator.gyp:allocator', |
242 ], | 241 ], |
243 }], | 242 }], |
| 243 ['use_angle_translator==1', { |
| 244 'dependencies': [ |
| 245 '../third_party/angle_dx11/src/build_angle.gyp:translator', |
| 246 ], |
| 247 }, { |
| 248 'dependencies': [ |
| 249 '../third_party/angle_dx11/src/build_angle.gyp:translator_glsl', |
| 250 ], |
| 251 }], |
244 ], | 252 ], |
245 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 253 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
246 'msvs_disabled_warnings': [ 4267, ], | 254 'msvs_disabled_warnings': [ 4267, ], |
247 }, | 255 }, |
248 { | 256 { |
249 'target_name': 'gl_tests', | 257 'target_name': 'gl_tests', |
250 'type': '<(gtest_target_type)', | 258 'type': '<(gtest_target_type)', |
251 'dependencies': [ | 259 'dependencies': [ |
252 '../base/base.gyp:base', | 260 '../base/base.gyp:base', |
253 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 261 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
254 '../testing/gmock.gyp:gmock', | 262 '../testing/gmock.gyp:gmock', |
255 '../testing/gtest.gyp:gtest', | 263 '../testing/gtest.gyp:gtest', |
256 '../third_party/angle_dx11/src/build_angle.gyp:translator_glsl', | |
257 '../ui/gfx/gfx.gyp:gfx', | 264 '../ui/gfx/gfx.gyp:gfx', |
258 'command_buffer/command_buffer.gyp:gles2_utils', | 265 'command_buffer/command_buffer.gyp:gles2_utils', |
259 'command_buffer_client', | 266 'command_buffer_client', |
260 'command_buffer_common', | 267 'command_buffer_common', |
261 'command_buffer_service', | 268 'command_buffer_service', |
262 'gpu', | 269 'gpu', |
263 'gpu_unittest_utils', | 270 'gpu_unittest_utils', |
264 'gles2_implementation_client_side_arrays', | 271 'gles2_implementation_client_side_arrays', |
265 'gles2_cmd_helper', | 272 'gles2_cmd_helper', |
266 #'gl_unittests', | 273 #'gl_unittests', |
(...skipping 28 matching lines...) Expand all Loading... |
295 'command_buffer/tests/gl_unittests_android.cc', | 302 'command_buffer/tests/gl_unittests_android.cc', |
296 'command_buffer/tests/gl_virtual_contexts_unittests.cc', | 303 'command_buffer/tests/gl_virtual_contexts_unittests.cc', |
297 'command_buffer/tests/occlusion_query_unittests.cc', | 304 'command_buffer/tests/occlusion_query_unittests.cc', |
298 ], | 305 ], |
299 'conditions': [ | 306 'conditions': [ |
300 ['OS == "android" and gtest_target_type == "shared_library"', { | 307 ['OS == "android" and gtest_target_type == "shared_library"', { |
301 'dependencies': [ | 308 'dependencies': [ |
302 '../testing/android/native_test.gyp:native_test_native_code', | 309 '../testing/android/native_test.gyp:native_test_native_code', |
303 ], | 310 ], |
304 }], | 311 }], |
| 312 ['use_angle_translator==1', { |
| 313 'dependencies': [ |
| 314 '../third_party/angle_dx11/src/build_angle.gyp:translator', |
| 315 ], |
| 316 }, { |
| 317 'dependencies': [ |
| 318 '../third_party/angle_dx11/src/build_angle.gyp:translator_glsl', |
| 319 ], |
| 320 }], |
305 ], | 321 ], |
306 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 322 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
307 'msvs_disabled_warnings': [ 4267, ], | 323 'msvs_disabled_warnings': [ 4267, ], |
308 }, | 324 }, |
309 { | 325 { |
310 'target_name': 'gpu_unittest_utils', | 326 'target_name': 'gpu_unittest_utils', |
311 'type': 'static_library', | 327 'type': 'static_library', |
312 'dependencies': [ | 328 'dependencies': [ |
313 '../testing/gmock.gyp:gmock', | 329 '../testing/gmock.gyp:gmock', |
314 '../testing/gtest.gyp:gtest', | 330 '../testing/gtest.gyp:gtest', |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)gl_tests<
(SHARED_LIB_SUFFIX)', | 559 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)gl_tests<
(SHARED_LIB_SUFFIX)', |
544 }, | 560 }, |
545 'includes': [ | 561 'includes': [ |
546 '../build/apk_test.gypi', | 562 '../build/apk_test.gypi', |
547 ], | 563 ], |
548 }, | 564 }, |
549 ], | 565 ], |
550 }], | 566 }], |
551 ], | 567 ], |
552 } | 568 } |
OLD | NEW |