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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # These are defined here because we need to build this library twice. Once | 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% | 9 # with extra parameter checking. Once with no parameter checking to be 100% |
10 # OpenGL ES 2.0 compliant for the conformance tests. | 10 # OpenGL ES 2.0 compliant for the conformance tests. |
11 'gles2_c_lib_source_files': [ | 11 'gles2_c_lib_source_files': [ |
12 'command_buffer/client/gles2_c_lib.cc', | 12 'command_buffer/client/gles2_c_lib.cc', |
13 'command_buffer/client/gles2_c_lib_autogen.h', | 13 'command_buffer/client/gles2_c_lib_autogen.h', |
14 'command_buffer/client/gles2_c_lib_export.h', | 14 'command_buffer/client/gles2_c_lib_export.h', |
15 'command_buffer/client/gles2_lib.h', | 15 'command_buffer/client/gles2_lib.h', |
16 'command_buffer/client/gles2_lib.cc', | 16 'command_buffer/client/gles2_lib.cc', |
17 ], | 17 ], |
18 # These are defined here because we need to build this library twice. Once | 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 | 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. | 20 # the OpenGL ES 2.0 compliant for the conformance tests. |
21 'gles2_implementation_source_files': [ | 21 'gles2_implementation_source_files': [ |
22 'command_buffer/client/gles2_impl_export.h', | 22 'command_buffer/client/gles2_impl_export.h', |
23 'command_buffer/client/gles2_implementation_autogen.h', | 23 'command_buffer/client/gles2_implementation_autogen.h', |
24 'command_buffer/client/gles2_implementation.cc', | 24 'command_buffer/client/gles2_implementation.cc', |
25 'command_buffer/client/gles2_implementation.h', | 25 'command_buffer/client/gles2_implementation.h', |
| 26 'command_buffer/client/gles2_implementation_impl_autogen.h', |
| 27 'command_buffer/client/gles2_interface.h', |
| 28 'command_buffer/client/gles2_interface.cc', |
26 'command_buffer/client/program_info_manager.cc', | 29 'command_buffer/client/program_info_manager.cc', |
27 'command_buffer/client/program_info_manager.h', | 30 'command_buffer/client/program_info_manager.h', |
28 'command_buffer/client/query_tracker.cc', | 31 'command_buffer/client/query_tracker.cc', |
29 'command_buffer/client/query_tracker.h', | 32 'command_buffer/client/query_tracker.h', |
30 'command_buffer/client/share_group.cc', | 33 'command_buffer/client/share_group.cc', |
31 'command_buffer/client/share_group.h', | 34 'command_buffer/client/share_group.h', |
32 ] | 35 ] |
33 }, | 36 }, |
34 'conditions': [ | 37 'conditions': [ |
35 # Special target to wrap a gtest_target_type==shared_library | 38 # Special target to wrap a gtest_target_type==shared_library |
36 # gpu_unittests into an android apk for execution. | 39 # gpu_unittests into an android apk for execution. |
37 ['OS == "android" and gtest_target_type == "shared_library"', { | 40 ['OS == "android" and gtest_target_type == "shared_library"', { |
38 'targets': [ | 41 'targets': [ |
39 { | 42 { |
40 'target_name': 'gpu_unittests_apk', | 43 'target_name': 'gpu_unittests_apk', |
41 'type': 'none', | 44 'type': 'none', |
42 'dependencies': [ | 45 'dependencies': [ |
43 'gpu_unittests', | 46 'gpu_unittests', |
44 ], | 47 ], |
45 'variables': { | 48 'variables': { |
46 'test_suite_name': 'gpu_unittests', | 49 'test_suite_name': 'gpu_unittests', |
47 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)gpu_unitt
ests<(SHARED_LIB_SUFFIX)', | 50 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)gpu_unitt
ests<(SHARED_LIB_SUFFIX)', |
48 }, | 51 }, |
49 'includes': [ '../build/apk_test.gypi' ], | 52 'includes': [ '../build/apk_test.gypi' ], |
50 }, | 53 }, |
51 ], | 54 ], |
52 }], | 55 }], |
53 ], | 56 ], |
54 } | 57 } |
OLD | NEW |