[email protected] | dd25504 | 2012-03-05 20:14:17 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 6 | 'variables': { |
| 7 | 'chromium_code': 1, |
| 8 | # These are defined here because we need to build this library twice. Once |
| 9 | # with extra parameter checking. Once with no parameter checking to be 100% |
| 10 | # OpenGL ES 2.0 compliant for the conformance tests. |
| 11 | 'gles2_c_lib_source_files': [ |
| 12 | 'command_buffer/client/gles2_c_lib.cc', |
| 13 | 'command_buffer/client/gles2_c_lib_autogen.h', |
| 14 | 'command_buffer/client/gles2_c_lib_export.h', |
| 15 | 'command_buffer/client/gles2_lib.h', |
| 16 | 'command_buffer/client/gles2_lib.cc', |
| 17 | ], |
| 18 | # These are defined here because we need to build this library twice. Once |
| 19 | # with without support for client side arrays and once with for pepper and |
| 20 | # the OpenGL ES 2.0 compliant for the conformance tests. |
| 21 | 'gles2_implementation_source_files': [ |
[email protected] | e0d6b1f | 2012-11-21 07:30:30 | [diff] [blame] | 22 | 'command_buffer/client/buffer_tracker.cc', |
| 23 | 'command_buffer/client/buffer_tracker.h', |
[email protected] | d058bca | 2012-11-26 10:27:26 | [diff] [blame^] | 24 | 'command_buffer/client/client_context_state.h', |
| 25 | 'command_buffer/client/client_context_state.cc', |
| 26 | 'command_buffer/client/client_context_state_autogen.h', |
| 27 | 'command_buffer/client/client_context_state_impl_autogen.h', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 28 | 'command_buffer/client/gles2_impl_export.h', |
| 29 | 'command_buffer/client/gles2_implementation_autogen.h', |
| 30 | 'command_buffer/client/gles2_implementation.cc', |
| 31 | 'command_buffer/client/gles2_implementation.h', |
[email protected] | a9fb79d | 2012-10-16 19:46:06 | [diff] [blame] | 32 | 'command_buffer/client/gles2_implementation_impl_autogen.h', |
| 33 | 'command_buffer/client/gles2_interface.h', |
| 34 | 'command_buffer/client/gles2_interface.cc', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 35 | 'command_buffer/client/program_info_manager.cc', |
| 36 | 'command_buffer/client/program_info_manager.h', |
| 37 | 'command_buffer/client/query_tracker.cc', |
| 38 | 'command_buffer/client/query_tracker.h', |
| 39 | 'command_buffer/client/share_group.cc', |
| 40 | 'command_buffer/client/share_group.h', |
| 41 | ] |
| 42 | }, |
[email protected] | 97c747b | 2012-05-30 07:54:35 | [diff] [blame] | 43 | 'conditions': [ |
| 44 | # Special target to wrap a gtest_target_type==shared_library |
| 45 | # gpu_unittests into an android apk for execution. |
| 46 | ['OS == "android" and gtest_target_type == "shared_library"', { |
| 47 | 'targets': [ |
| 48 | { |
| 49 | 'target_name': 'gpu_unittests_apk', |
| 50 | 'type': 'none', |
| 51 | 'dependencies': [ |
[email protected] | 97c747b | 2012-05-30 07:54:35 | [diff] [blame] | 52 | 'gpu_unittests', |
| 53 | ], |
| 54 | 'variables': { |
| 55 | 'test_suite_name': 'gpu_unittests', |
| 56 | 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)gpu_unittests<(SHARED_LIB_SUFFIX)', |
[email protected] | 97c747b | 2012-05-30 07:54:35 | [diff] [blame] | 57 | }, |
| 58 | 'includes': [ '../build/apk_test.gypi' ], |
| 59 | }, |
| 60 | ], |
| 61 | }], |
| 62 | ], |
[email protected] | dd25504 | 2012-03-05 20:14:17 | [diff] [blame] | 63 | } |