OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # This is defined here because we need to compile this set of files | 8 # This is defined here because we need to compile this set of files |
9 # twice with different defines. Once so it calls real GL, again so it | 9 # twice with different defines. Once so it calls real GL, again so it |
10 # calls mock GL for the unit tests. | 10 # calls mock GL for the unit tests. |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 'gles2_lib', | 354 'gles2_lib', |
355 'gles2_c_lib', | 355 'gles2_c_lib', |
356 ], | 356 ], |
357 'sources': [ | 357 'sources': [ |
358 'command_buffer/client/gles2_demo_c.h', | 358 'command_buffer/client/gles2_demo_c.h', |
359 'command_buffer/client/gles2_demo_c.c', | 359 'command_buffer/client/gles2_demo_c.c', |
360 'command_buffer/client/gles2_demo_cc.h', | 360 'command_buffer/client/gles2_demo_cc.h', |
361 'command_buffer/client/gles2_demo_cc.cc', | 361 'command_buffer/client/gles2_demo_cc.cc', |
362 ], | 362 ], |
363 }, | 363 }, |
364 { | |
365 'target_name': 'pgl', | |
366 'type': 'static_library', | |
367 'dependencies': [ | |
368 'command_buffer_client', | |
369 'gles2_c_lib', | |
370 '../third_party/npapi/npapi.gyp:npapi', | |
371 ], | |
372 'include_dirs': [ | |
373 '..', | |
374 '../third_party/npapi/bindings', | |
375 ], | |
376 'all_dependent_settings': { | |
377 'include_dirs': [ | |
378 '../third_party/npapi/bindings', | |
379 ], | |
380 }, | |
381 'sources': [ | |
382 'pgl/command_buffer_pepper.cc', | |
383 'pgl/command_buffer_pepper.h', | |
384 'pgl/pgl.cc', | |
385 'pgl/pgl.h', | |
386 ], | |
387 }, | |
388 ], | 364 ], |
389 'conditions': [ | 365 'conditions': [ |
390 ['OS == "win"', | 366 ['OS == "win"', |
391 { | 367 { |
392 'targets': [ | 368 'targets': [ |
393 { | 369 { |
394 'target_name': 'gles2_demo', | 370 'target_name': 'gles2_demo', |
395 'type': 'executable', | 371 'type': 'executable', |
396 'dependencies': [ | 372 'dependencies': [ |
397 'command_buffer_service', | 373 'command_buffer_service', |
398 'gles2_demo_lib', | 374 'gles2_demo_lib', |
399 ], | 375 ], |
400 'sources': [ | 376 'sources': [ |
401 'command_buffer/client/gles2_demo.cc', | 377 'command_buffer/client/gles2_demo.cc', |
402 ], | 378 ], |
403 }, | 379 }, |
404 ], | 380 ], |
405 }, | 381 }, |
406 ], | 382 ], |
407 ], | 383 ], |
408 } | 384 } |
409 | 385 |
410 # Local Variables: | 386 # Local Variables: |
411 # tab-width:2 | 387 # tab-width:2 |
412 # indent-tabs-mode:nil | 388 # indent-tabs-mode:nil |
413 # End: | 389 # End: |
414 # vim: set expandtab tabstop=2 shiftwidth=2: | 390 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |