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