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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 'command_buffer/command_buffer.gyp:gles2_utils', | 117 'command_buffer/command_buffer.gyp:gles2_utils', |
118 'command_buffer_client', | 118 'command_buffer_client', |
119 'gles2_implementation_no_check', | 119 'gles2_implementation_no_check', |
120 ], | 120 ], |
121 'sources': [ | 121 'sources': [ |
122 '<@(gles2_c_lib_source_files)', | 122 '<@(gles2_c_lib_source_files)', |
123 ], | 123 ], |
124 }, | 124 }, |
125 { | 125 { |
126 # GN version: //gpu:angle_unittests | 126 # GN version: //gpu:angle_unittests |
| 127 # TODO(kbr): port this refactoring to the GN build. |
127 'target_name': 'angle_unittests', | 128 'target_name': 'angle_unittests', |
128 'type': '<(gtest_target_type)', | 129 'type': '<(gtest_target_type)', |
| 130 'includes': [ |
| 131 '../third_party/angle/build/common_defines.gypi', |
| 132 '../third_party/angle/tests/angle_unittests.gypi', |
| 133 ], |
129 'dependencies': [ | 134 'dependencies': [ |
130 '../base/base.gyp:base', | 135 '../base/base.gyp:base', |
131 '../base/base.gyp:test_support_base', | 136 '../base/base.gyp:test_support_base', |
132 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
133 '../testing/gmock.gyp:gmock', | |
134 '../testing/gtest.gyp:gtest', | |
135 '<(angle_path)/src/angle.gyp:translator_static', | |
136 ], | |
137 'variables': { | |
138 'ANGLE_DIR': '<(angle_path)', | |
139 }, | |
140 'includes': [ | |
141 '../third_party/angle/tests/preprocessor_tests/preprocessor_tests.gypi', | |
142 '../third_party/angle/tests/compiler_tests/compiler_tests.gypi', | |
143 ], | 137 ], |
144 'include_dirs': [ | 138 'include_dirs': [ |
145 '..', | 139 '..', |
146 '<(angle_path)/include', | 140 '../third_party/angle/include', |
147 '<(angle_path)/src', | |
148 '<(angle_path)/src/compiler/preprocessor', | |
149 '<(angle_path)/tests', | |
150 ], | 141 ], |
151 'sources': [ | 142 'sources': |
| 143 [ |
152 'angle_unittest_main.cc', | 144 'angle_unittest_main.cc', |
153 ], | 145 ], |
154 }, | 146 }, |
155 { | 147 { |
156 # GN version: //gpu:gpu_unittests | 148 # GN version: //gpu:gpu_unittests |
157 'target_name': 'gpu_unittests', | 149 'target_name': 'gpu_unittests', |
158 'type': '<(gtest_target_type)', | 150 'type': '<(gtest_target_type)', |
159 'dependencies': [ | 151 'dependencies': [ |
160 '../base/base.gyp:base', | 152 '../base/base.gyp:base', |
161 '../base/base.gyp:test_support_base', | 153 '../base/base.gyp:test_support_base', |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 'dependencies': [ | 644 'dependencies': [ |
653 'gpu_unittests', | 645 'gpu_unittests', |
654 ], | 646 ], |
655 'variables': { | 647 'variables': { |
656 'test_suite_name': 'gpu_unittests', | 648 'test_suite_name': 'gpu_unittests', |
657 }, | 649 }, |
658 'includes': [ '../build/apk_test.gypi' ], | 650 'includes': [ '../build/apk_test.gypi' ], |
659 }, | 651 }, |
660 ], | 652 ], |
661 }], | 653 }], |
| 654 ['OS == "win"', { |
| 655 'targets': [ |
| 656 { |
| 657 # TODO(kbr): port this target to the GN build. |
| 658 'target_name': 'angle_end2end_tests', |
| 659 'type': '<(gtest_target_type)', |
| 660 'dependencies': [ |
| 661 '../base/base.gyp:base', |
| 662 '../base/base.gyp:test_support_base', |
| 663 ], |
| 664 'includes': |
| 665 [ |
| 666 '../third_party/angle/build/common_defines.gypi', |
| 667 '../third_party/angle/tests/angle_end2end_tests.gypi', |
| 668 ], |
| 669 'sources': |
| 670 [ |
| 671 'angle_end2end_tests_main.cc', |
| 672 ], |
| 673 }, |
| 674 ], |
| 675 }], |
662 ], | 676 ], |
663 } | 677 } |
OLD | NEW |