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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 'dependencies': [ | 212 'dependencies': [ |
213 '../testing/android/native_test.gyp:native_test_native_code', | 213 '../testing/android/native_test.gyp:native_test_native_code', |
214 ], | 214 ], |
215 }], | 215 }], |
216 ], | 216 ], |
217 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 217 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
218 'msvs_disabled_warnings': [ 4267, ], | 218 'msvs_disabled_warnings': [ 4267, ], |
219 }, | 219 }, |
220 { | 220 { |
221 'target_name': 'gl_tests', | 221 'target_name': 'gl_tests', |
222 'type': 'executable', | 222 'type': '<(gtest_target_type)', |
223 'dependencies': [ | 223 'dependencies': [ |
224 '../base/base.gyp:base', | 224 '../base/base.gyp:base', |
225 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 225 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
226 '../testing/gmock.gyp:gmock', | 226 '../testing/gmock.gyp:gmock', |
227 '../testing/gtest.gyp:gtest', | 227 '../testing/gtest.gyp:gtest', |
228 '../third_party/angle/src/build_angle.gyp:translator_glsl', | 228 '../third_party/angle/src/build_angle.gyp:translator_glsl', |
229 '../ui/ui.gyp:ui', | 229 '../ui/ui.gyp:ui', |
230 'command_buffer/command_buffer.gyp:gles2_utils', | 230 'command_buffer/command_buffer.gyp:gles2_utils', |
231 'command_buffer_client', | 231 'command_buffer_client', |
232 'command_buffer_common', | 232 'command_buffer_common', |
(...skipping 24 matching lines...) Expand all Loading... |
257 'command_buffer/tests/gl_tests_main.cc', | 257 'command_buffer/tests/gl_tests_main.cc', |
258 'command_buffer/tests/gl_test_utils.cc', | 258 'command_buffer/tests/gl_test_utils.cc', |
259 'command_buffer/tests/gl_test_utils.h', | 259 'command_buffer/tests/gl_test_utils.h', |
260 'command_buffer/tests/gl_texture_mailbox_unittests.cc', | 260 'command_buffer/tests/gl_texture_mailbox_unittests.cc', |
261 'command_buffer/tests/gl_texture_storage_unittests.cc', | 261 'command_buffer/tests/gl_texture_storage_unittests.cc', |
262 'command_buffer/tests/gl_unittests.cc', | 262 'command_buffer/tests/gl_unittests.cc', |
263 'command_buffer/tests/gl_virtual_contexts_unittests.cc', | 263 'command_buffer/tests/gl_virtual_contexts_unittests.cc', |
264 'command_buffer/tests/gl_stream_draw_unittests.cc', | 264 'command_buffer/tests/gl_stream_draw_unittests.cc', |
265 'command_buffer/tests/occlusion_query_unittests.cc', | 265 'command_buffer/tests/occlusion_query_unittests.cc', |
266 ], | 266 ], |
| 267 'conditions': [ |
| 268 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 269 'dependencies': [ |
| 270 '../testing/android/native_test.gyp:native_test_native_code', |
| 271 ], |
| 272 }], |
| 273 ], |
267 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 274 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
268 'msvs_disabled_warnings': [ 4267, ], | 275 'msvs_disabled_warnings': [ 4267, ], |
269 }, | 276 }, |
270 { | 277 { |
271 'target_name': 'gpu_unittest_utils', | 278 'target_name': 'gpu_unittest_utils', |
272 'type': 'static_library', | 279 'type': 'static_library', |
273 'dependencies': [ | 280 'dependencies': [ |
274 '../testing/gmock.gyp:gmock', | 281 '../testing/gmock.gyp:gmock', |
275 '../testing/gtest.gyp:gtest', | 282 '../testing/gtest.gyp:gtest', |
276 '../third_party/khronos/khronos.gyp:khronos_headers', | 283 '../third_party/khronos/khronos.gyp:khronos_headers', |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 'GPU_IMPLEMENTATION', | 481 'GPU_IMPLEMENTATION', |
475 ], | 482 ], |
476 'configurations': { | 483 'configurations': { |
477 'Common_Base': { | 484 'Common_Base': { |
478 'msvs_target_platform': 'x64', | 485 'msvs_target_platform': 'x64', |
479 }, | 486 }, |
480 }, | 487 }, |
481 }, | 488 }, |
482 ], | 489 ], |
483 }], | 490 }], |
| 491 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 492 'targets': [ |
| 493 { |
| 494 'target_name': 'gl_tests_apk', |
| 495 'type': 'none', |
| 496 'dependencies': [ |
| 497 'gl_tests', |
| 498 ], |
| 499 'variables': { |
| 500 'test_suite_name': 'gl_tests', |
| 501 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)gl_tests<
(SHARED_LIB_SUFFIX)', |
| 502 }, |
| 503 'includes': [ |
| 504 '../build/apk_test.gypi', |
| 505 ], |
| 506 }, |
| 507 ], |
| 508 }], |
484 ], | 509 ], |
485 } | 510 } |
OLD | NEW |