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