[GCM] Remove GCMDriver::Purge and GCMClient::CheckOut
[chromium-blink-merge.git] / gpu / gpu.gyp
blob77878847cb851dd13ea03c8513c017ae0fda62f5
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.
6   'variables': {
7     'nacl_win64_target': 0,
8   },
9   'includes': [
10     'gpu_common.gypi',
11   ],
12   'targets': [
13     {
14       # Library emulates GLES2 using command_buffers.
15       # GN version: //gpu/command_buffer/client:gles2_implementation
16       'target_name': 'gles2_implementation',
17       'type': '<(component)',
18       'dependencies': [
19         '../base/base.gyp:base',
20         '../third_party/khronos/khronos.gyp:khronos_headers',
21         '../ui/gfx/gfx.gyp:gfx_geometry',
22         '../ui/gl/gl.gyp:gl',
23         'command_buffer/command_buffer.gyp:gles2_utils',
24         'gles2_cmd_helper',
25       ],
26       'defines': [
27         'GLES2_IMPL_IMPLEMENTATION',
28       ],
29       'sources': [
30         '<@(gles2_implementation_source_files)',
31       ],
32       'includes': [
33         # Disable LTO due to ELF section name out of range
34         # crbug.com/422251
35         '../build/android/disable_lto.gypi',
36       ],
37       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
38       'msvs_disabled_warnings': [4267, ],
39     },
40     {
41       # GN version: //gpu/command_buffer/client:gl_in_process_context
42       'target_name': 'gl_in_process_context',
43       'type': '<(component)',
44       'dependencies': [
45         'command_buffer/command_buffer.gyp:gles2_utils',
46         'gles2_implementation',
47         'gpu',
48         '../base/base.gyp:base',
49         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
50         '../ui/gfx/gfx.gyp:gfx_geometry',
51         '../ui/gl/gl.gyp:gl',
52       ],
53       'defines': [
54         'GL_IN_PROCESS_CONTEXT_IMPLEMENTATION',
55       ],
56       'sources': [
57         'command_buffer/client/gl_in_process_context.h',
58         'command_buffer/client/gl_in_process_context.cc',
59         'command_buffer/client/gl_in_process_context_export.h',
60       ],
61     },
62     {
63       # Library emulates GLES2 using command_buffers.
64       'target_name': 'gles2_implementation_no_check',
65       'type': '<(component)',
66       'defines': [
67         'GLES2_IMPL_IMPLEMENTATION',
68         'GLES2_CONFORMANCE_TESTS=1',
69       ],
70       'dependencies': [
71         '../base/base.gyp:base',
72         '../third_party/khronos/khronos.gyp:khronos_headers',
73         '../ui/gfx/gfx.gyp:gfx',
74         '../ui/gfx/gfx.gyp:gfx_geometry',
75         'command_buffer/command_buffer.gyp:gles2_utils',
76         'gles2_cmd_helper',
77       ],
78       'sources': [
79         '<@(gles2_implementation_source_files)',
80       ],
81       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
82       'msvs_disabled_warnings': [ 4267, ],
83     },
84     {
85       # Stub to expose gles2_implemenation in C instead of C++.
86       # so GLES2 C programs can work with no changes.
87       # GN version: //gpu/command_buffer/client:gles2_c_lib
88       'target_name': 'gles2_c_lib',
89       'type': '<(component)',
90       'dependencies': [
91         '../base/base.gyp:base',
92         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
93         'command_buffer/command_buffer.gyp:gles2_utils',
94         'command_buffer_client',
95       ],
96       'defines': [
97         'GLES2_C_LIB_IMPLEMENTATION',
98       ],
99       'sources': [
100         '<@(gles2_c_lib_source_files)',
101       ],
102       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
103       'msvs_disabled_warnings': [4267, ],
104     },
105     {
106       # Same as gles2_c_lib except with no parameter checking. Required for
107       # OpenGL ES 2.0 conformance tests.
108       'target_name': 'gles2_c_lib_nocheck',
109       'type': '<(component)',
110       'defines': [
111         'GLES2_C_LIB_IMPLEMENTATION',
112         'GLES2_CONFORMANCE_TESTS=1',
113       ],
114       'dependencies': [
115         '../base/base.gyp:base',
116         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
117         'command_buffer/command_buffer.gyp:gles2_utils',
118         'command_buffer_client',
119         'gles2_implementation_no_check',
120       ],
121       'sources': [
122         '<@(gles2_c_lib_source_files)',
123       ],
124     },
125     {
126       # GN version: //gpu:angle_unittests
127       # TODO(kbr): port this refactoring to the GN build.
128       'target_name': 'angle_unittests',
129       'type': '<(gtest_target_type)',
130       'includes': [
131         '../third_party/angle/build/common_defines.gypi',
132         '../third_party/angle/tests/angle_unittests.gypi',
133       ],
134       'dependencies': [
135         '../base/base.gyp:base',
136         '../base/base.gyp:test_support_base',
137       ],
138       'include_dirs': [
139         '..',
140         '../third_party/angle/include',
141       ],
142       'sources':
143       [
144         'angle_unittest_main.cc',
145       ],
146     },
147     {
148       # GN version: //gpu:gpu_unittests
149       'target_name': 'gpu_unittests',
150       'type': '<(gtest_target_type)',
151       'dependencies': [
152         '../base/base.gyp:base',
153         '../base/base.gyp:test_support_base',
154         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
155         '../testing/gmock.gyp:gmock',
156         '../testing/gtest.gyp:gtest',
157         '<(angle_path)/src/angle.gyp:translator',
158         '../ui/gl/gl.gyp:gl',
159         '../ui/gfx/gfx.gyp:gfx',
160         '../ui/gfx/gfx.gyp:gfx_geometry',
161         '../ui/gfx/gfx.gyp:gfx_test_support',
162         'command_buffer/command_buffer.gyp:gles2_utils',
163         'command_buffer_client',
164         'command_buffer_common',
165         'command_buffer_service',
166         'gpu',
167         'gpu_unittest_utils',
168         'gles2_implementation',
169         'gles2_cmd_helper',
170         'gles2_c_lib',
171       ],
172       'sources': [
173         # Note: sources list duplicated in GN build.
174         'command_buffer/client/buffer_tracker_unittest.cc',
175         'command_buffer/client/client_test_helper.cc',
176         'command_buffer/client/client_test_helper.h',
177         'command_buffer/client/cmd_buffer_helper_test.cc',
178         'command_buffer/client/fenced_allocator_test.cc',
179         'command_buffer/client/gles2_implementation_unittest.cc',
180         'command_buffer/client/mapped_memory_unittest.cc',
181         'command_buffer/client/query_tracker_unittest.cc',
182         'command_buffer/client/program_info_manager_unittest.cc',
183         'command_buffer/client/ring_buffer_test.cc',
184         'command_buffer/client/transfer_buffer_unittest.cc',
185         'command_buffer/client/vertex_array_object_manager_unittest.cc',
186         'command_buffer/common/bitfield_helpers_test.cc',
187         'command_buffer/common/command_buffer_mock.cc',
188         'command_buffer/common/command_buffer_mock.h',
189         'command_buffer/common/command_buffer_shared_test.cc',
190         'command_buffer/common/debug_marker_manager_unittest.cc',
191         'command_buffer/common/gles2_cmd_format_test.cc',
192         'command_buffer/common/gles2_cmd_format_test_autogen.h',
193         'command_buffer/common/gles2_cmd_utils_unittest.cc',
194         'command_buffer/common/id_allocator_test.cc',
195         'command_buffer/common/trace_event.h',
196         'command_buffer/common/unittest_main.cc',
197         'command_buffer/service/async_pixel_transfer_delegate_mock.h',
198         'command_buffer/service/async_pixel_transfer_delegate_mock.cc',
199         'command_buffer/service/async_pixel_transfer_manager_mock.h',
200         'command_buffer/service/async_pixel_transfer_manager_mock.cc',
201         'command_buffer/service/buffer_manager_unittest.cc',
202         'command_buffer/service/cmd_parser_test.cc',
203         'command_buffer/service/command_buffer_service_unittest.cc',
204         'command_buffer/service/common_decoder_unittest.cc',
205         'command_buffer/service/context_group_unittest.cc',
206         'command_buffer/service/feature_info_unittest.cc',
207         'command_buffer/service/framebuffer_manager_unittest.cc',
208         'command_buffer/service/gles2_cmd_decoder_unittest.cc',
209         'command_buffer/service/gles2_cmd_decoder_unittest.h',
210         'command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h',
211         'command_buffer/service/gles2_cmd_decoder_unittest_1.cc',
212         'command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h',
213         'command_buffer/service/gles2_cmd_decoder_unittest_2.cc',
214         'command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h',
215         'command_buffer/service/gles2_cmd_decoder_unittest_3.cc',
216         'command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h',
217         'command_buffer/service/gles2_cmd_decoder_unittest_async_pixel.cc',
218         'command_buffer/service/gles2_cmd_decoder_unittest_base.cc',
219         'command_buffer/service/gles2_cmd_decoder_unittest_base.h',
220         'command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc',
221         'command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc',
222         'command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc',
223         'command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h',
224         'command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc',
225         'command_buffer/service/gles2_cmd_decoder_unittest_programs.cc',
226         'command_buffer/service/gles2_cmd_decoder_unittest_textures.cc',
227         'command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc',
228         'command_buffer/service/gles2_cmd_decoder_unittest_valuebuffer.cc',
229         'command_buffer/service/gl_surface_mock.cc',
230         'command_buffer/service/gl_surface_mock.h',
231         'command_buffer/service/gpu_scheduler_unittest.cc',
232         'command_buffer/service/gpu_service_test.cc',
233         'command_buffer/service/gpu_service_test.h',
234         'command_buffer/service/id_manager_unittest.cc',
235         'command_buffer/service/mailbox_manager_unittest.cc',
236         'command_buffer/service/memory_program_cache_unittest.cc',
237         'command_buffer/service/mocks.cc',
238         'command_buffer/service/mocks.h',
239         'command_buffer/service/program_manager_unittest.cc',
240         'command_buffer/service/query_manager_unittest.cc',
241         'command_buffer/service/renderbuffer_manager_unittest.cc',
242         'command_buffer/service/program_cache_unittest.cc',
243         'command_buffer/service/shader_manager_unittest.cc',
244         'command_buffer/service/shader_translator_unittest.cc',
245         'command_buffer/service/shader_translator_cache_unittest.cc',
246         'command_buffer/service/test_helper.cc',
247         'command_buffer/service/test_helper.h',
248         'command_buffer/service/texture_manager_unittest.cc',
249         'command_buffer/service/transfer_buffer_manager_unittest.cc',
250         'command_buffer/service/valuebuffer_manager_unittest.cc',
251         'command_buffer/service/vertex_attrib_manager_unittest.cc',
252         'command_buffer/service/vertex_array_manager_unittest.cc',
253         'command_buffer/service/gpu_tracer_unittest.cc',
254         'config/gpu_blacklist_unittest.cc',
255         'config/gpu_control_list_entry_unittest.cc',
256         'config/gpu_control_list_number_info_unittest.cc',
257         'config/gpu_control_list_os_info_unittest.cc',
258         'config/gpu_control_list_unittest.cc',
259         'config/gpu_control_list_version_info_unittest.cc',
260         'config/gpu_driver_bug_list_unittest.cc',
261         'config/gpu_info_collector_unittest.cc',
262         'config/gpu_info_unittest.cc',
263         'config/gpu_test_config_unittest.cc',
264         'config/gpu_test_expectations_parser_unittest.cc',
265         'config/gpu_util_unittest.cc',
266       ],
267       'conditions': [
268         ['OS == "android"', {
269           'dependencies': [
270             '../testing/android/native_test.gyp:native_test_native_code',
271           ],
272         }],
273         # See http://crbug.com/162998#c4 for why this is needed.
274         ['OS=="linux" and use_allocator!="none"', {
275           'dependencies': [
276             '../base/allocator/allocator.gyp:allocator',
277           ],
278         }],
279       ],
280       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
281       'msvs_disabled_warnings': [ 4267, ],
282     },
283     {
284       # GN version: //gpu:gl_tests
285       'target_name': 'gl_tests',
286       'type': '<(gtest_target_type)',
287       'dependencies': [
288         '../base/base.gyp:base',
289         '../base/base.gyp:test_support_base',
290         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
291         '../testing/gmock.gyp:gmock',
292         '../testing/gtest.gyp:gtest',
293         '<(angle_path)/src/angle.gyp:translator',
294         '../ui/gfx/gfx.gyp:gfx',
295         '../ui/gfx/gfx.gyp:gfx_test_support',
296         '../ui/gfx/gfx.gyp:gfx_geometry',
297         '../ui/gl/gl.gyp:gl',
298         'command_buffer/command_buffer.gyp:gles2_utils',
299         'command_buffer_client',
300         'command_buffer_common',
301         'command_buffer_service',
302         'gpu',
303         'gpu_unittest_utils',
304         'gles2_implementation',
305         'gles2_cmd_helper',
306         'gles2_c_lib',
307         #'gl_unittests',
308       ],
309       'defines': [
310         'GL_GLEXT_PROTOTYPES',
311       ],
312       'sources': [
313         # Note: sources list duplicated in GN build.
314         'command_buffer/tests/compressed_texture_test.cc',
315         'command_buffer/tests/gl_bind_uniform_location_unittest.cc',
316         'command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc',
317         'command_buffer/tests/gl_chromium_path_rendering_unittest.cc',
318         'command_buffer/tests/gl_clear_framebuffer_unittest.cc',
319         'command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc',
320         'command_buffer/tests/gl_depth_texture_unittest.cc',
321         'command_buffer/tests/gl_gpu_memory_buffer_unittest.cc',
322         'command_buffer/tests/gl_lose_context_chromium_unittest.cc',
323         'command_buffer/tests/gl_manager.cc',
324         'command_buffer/tests/gl_manager.h',
325         'command_buffer/tests/gl_pointcoord_unittest.cc',
326         'command_buffer/tests/gl_program_unittest.cc',
327         'command_buffer/tests/gl_query_unittest.cc',
328         'command_buffer/tests/gl_readback_unittest.cc',
329         'command_buffer/tests/gl_shared_resources_unittest.cc',
330         'command_buffer/tests/gl_stream_draw_unittest.cc',
331         'command_buffer/tests/gl_test_utils.cc',
332         'command_buffer/tests/gl_test_utils.h',
333         'command_buffer/tests/gl_tests_main.cc',
334         'command_buffer/tests/gl_texture_mailbox_unittest.cc',
335         'command_buffer/tests/gl_texture_storage_unittest.cc',
336         'command_buffer/tests/gl_unittest.cc',
337         'command_buffer/tests/gl_unittests_android.cc',
338         'command_buffer/tests/gl_virtual_contexts_unittest.cc',
339         'command_buffer/tests/occlusion_query_unittest.cc',
340       ],
341       'conditions': [
342         ['OS == "android"', {
343           'dependencies': [
344             '../testing/android/native_test.gyp:native_test_native_code',
345           ],
346         }],
347         ['OS == "win"', {
348           'dependencies': [
349             '../third_party/angle/src/angle.gyp:libEGL',
350             '../third_party/angle/src/angle.gyp:libGLESv2',
351           ],
352         }],
353       ],
354       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
355       'msvs_disabled_warnings': [ 4267, ],
356     },
357     {
358       # GN version: //gpu:test_support
359       'target_name': 'gpu_unittest_utils',
360       'type': 'static_library',
361       'dependencies': [
362         '../testing/gmock.gyp:gmock',
363         '../testing/gtest.gyp:gtest',
364         '../third_party/khronos/khronos.gyp:khronos_headers',
365         '../ui/gl/gl.gyp:gl_unittest_utils',
366         'gpu',
367       ],
368       'include_dirs': [
369         '..',
370       ],
371       'sources': [
372         'command_buffer/service/gles2_cmd_decoder_mock.cc',
373         'command_buffer/service/error_state_mock.cc',
374         'command_buffer/client/gles2_interface_stub.cc',
375         'command_buffer/client/gles2_interface_stub.h',
376       ],
377     },
378   ],
379   'conditions': [
380     ['component=="static_library"', {
381       'targets': [
382          {
383           # GN version: //gpu/command_buffer/service:disk_cache_proto
384           'target_name': 'disk_cache_proto',
385           'type': 'static_library',
386           'sources': [ 'command_buffer/service/disk_cache_proto.proto' ],
387           'variables': {
388             'proto_in_dir': 'command_buffer/service',
389             'proto_out_dir': 'gpu/command_buffer/service',
390           },
391           'includes': [ '../build/protoc.gypi' ],
392         },
393         {
394           # GN version: //gpu
395           'target_name': 'gpu',
396           'type': 'none',
397           'dependencies': [
398             'command_buffer_client',
399             'command_buffer_common',
400             'command_buffer_service',
401             'gles2_cmd_helper',
402             'gpu_config',
403             'gpu_ipc',
404           ],
405           'sources': [
406             'gpu_export.h',
407           ],
408           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
409           'msvs_disabled_warnings': [4267, ],
410         },
411         {
412           # GN version: //gpu/command_buffer/common
413           'target_name': 'command_buffer_common',
414           'type': 'static_library',
415           'includes': [
416             'command_buffer_common.gypi',
417           ],
418           'dependencies': [
419             '../base/base.gyp:base',
420             'command_buffer/command_buffer.gyp:gles2_utils',
421           ],
422           'export_dependent_settings': [
423             '../base/base.gyp:base',
424           ],
425         },
426         {
427           # Library helps make GLES2 command buffers.
428           # GN version: //gpu/command_buffer/client:gles2_cmd_helper
429           'target_name': 'gles2_cmd_helper',
430           'type': 'static_library',
431           'includes': [
432             'gles2_cmd_helper.gypi',
433           ],
434           'dependencies': [
435             'command_buffer_client',
436           ],
437           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
438           'msvs_disabled_warnings': [4267, ],
439         },
440         {
441           # GN version: //gpu/command_buffer/client
442           'target_name': 'command_buffer_client',
443           'type': 'static_library',
444           'includes': [
445             'command_buffer_client.gypi',
446           ],
447           'dependencies': [
448             'command_buffer_common',
449           ],
450           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
451           'msvs_disabled_warnings': [4267, ],
452         },
453         {
454           # GN version: //gpu/command_buffer/service
455           'target_name': 'command_buffer_service',
456           'type': 'static_library',
457           'includes': [
458             'command_buffer_service.gypi',
459             '../build/android/increase_size_for_speed.gypi',
460             # Disable LTO due to ELF section name out of range
461             # crbug.com/422251
462             '../build/android/disable_lto.gypi',
463           ],
464           'dependencies': [
465             'command_buffer_common',
466             'disk_cache_proto',
467           ],
468           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
469           'msvs_disabled_warnings': [4267, ],
470         },
471         {
472           # GN version: //gpu/ipc
473           'target_name': 'gpu_ipc',
474           'type': 'static_library',
475           'includes': [
476             'gpu_ipc.gypi',
477           ],
478           'dependencies': [
479             'command_buffer_common',
480           ],
481         },
482         {
483           'target_name': 'gpu_config',
484           'type': 'static_library',
485           'includes': [
486             'gpu_config.gypi',
487           ],
488         },
489       ],
490     },
491     { # component != static_library
492       'targets': [
493          {
494           # GN version: //gpu/command_buffer/service:disk_cache_proto
495           'target_name': 'disk_cache_proto',
496           'type': 'static_library',
497           'sources': [ 'command_buffer/service/disk_cache_proto.proto' ],
498           'variables': {
499             'proto_in_dir': 'command_buffer/service',
500             'proto_out_dir': 'gpu/command_buffer/service',
501           },
502           'includes': [ '../build/protoc.gypi' ],
503         },
504         {
505           # GN version: //gpu
506           'target_name': 'gpu',
507           'type': 'shared_library',
508           'includes': [
509             'command_buffer_client.gypi',
510             'command_buffer_common.gypi',
511             'command_buffer_service.gypi',
512             'gles2_cmd_helper.gypi',
513             'gpu_config.gypi',
514             'gpu_ipc.gypi',
515             '../build/android/increase_size_for_speed.gypi',
516           ],
517           'defines': [
518             'GPU_IMPLEMENTATION',
519           ],
520           'sources': [
521             'gpu_export.h',
522           ],
523           'dependencies': [
524             '../base/base.gyp:base',
525             'command_buffer/command_buffer.gyp:gles2_utils',
526             'disk_cache_proto',
527           ],
528           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
529           'msvs_disabled_warnings': [4267, ],
530         },
531         {
532           # GN version: //gpu/command_buffer/common
533           'target_name': 'command_buffer_common',
534           'type': 'none',
535           'dependencies': [
536             'gpu',
537           ],
538         },
539         {
540           # Library helps make GLES2 command buffers.
541           # GN version: //gpu/command_buffer/client:gles2_cmd_helper
542           'target_name': 'gles2_cmd_helper',
543           'type': 'none',
544           'dependencies': [
545             'gpu',
546           ],
547           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
548           'msvs_disabled_warnings': [4267, ],
549         },
550         {
551           # GN version: //gpu/command_buffer/client
552           'target_name': 'command_buffer_client',
553           'type': 'none',
554           'dependencies': [
555             'gpu',
556           ],
557         },
558         {
559           # GN version: //gpu/command_buffer/service
560           'target_name': 'command_buffer_service',
561           'type': 'none',
562           'dependencies': [
563             'gpu',
564           ],
565         },
566         {
567           # GN version: //gpu/ipc
568           'target_name': 'gpu_ipc',
569           'type': 'none',
570           'dependencies': [
571             'gpu',
572           ],
573         },
574       ],
575     }],
576     ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', {
577       'targets': [
578         {
579           'target_name': 'command_buffer_common_win64',
580           'type': 'static_library',
581           'variables': {
582             'nacl_win64_target': 1,
583           },
584           'includes': [
585             'command_buffer_common.gypi',
586           ],
587           'dependencies': [
588             '../base/base.gyp:base_win64',
589           ],
590           'defines': [
591             '<@(nacl_win64_defines)',
592             'GPU_IMPLEMENTATION',
593           ],
594           'configurations': {
595             'Common_Base': {
596               'msvs_target_platform': 'x64',
597             },
598           },
599         },
600         {
601           'target_name': 'gpu_ipc_win64',
602           'type': 'static_library',
603           'variables': {
604             'nacl_win64_target': 1,
605           },
606           'includes': [
607             'gpu_ipc.gypi',
608           ],
609           'dependencies': [
610             '../base/base.gyp:base_win64',
611             '../ipc/ipc.gyp:ipc_win64',
612             'command_buffer_common_win64',
613           ],
614           'defines': [
615             '<@(nacl_win64_defines)',
616             'GPU_IMPLEMENTATION',
617           ],
618           'configurations': {
619             'Common_Base': {
620               'msvs_target_platform': 'x64',
621             },
622           },
623         },
624       ],
625     }],
626     ['OS == "android"', {
627       'targets': [
628         {
629           'target_name': 'gl_tests_apk',
630           'type': 'none',
631           'dependencies': [
632             'gl_tests',
633           ],
634           'variables': {
635             'test_suite_name': 'gl_tests',
636           },
637           'includes': [
638             '../build/apk_test.gypi',
639           ],
640         },
641         {
642           'target_name': 'gpu_unittests_apk',
643           'type': 'none',
644           'dependencies': [
645             'gpu_unittests',
646           ],
647           'variables': {
648             'test_suite_name': 'gpu_unittests',
649           },
650           'includes': [ '../build/apk_test.gypi' ],
651         },
652       ],
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     }],
676   ],