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