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 }, |
364 ], | 388 ], |
365 'conditions': [ | 389 'conditions': [ |
366 ['OS == "win"', | 390 ['OS == "win"', |
367 { | 391 { |
368 'targets': [ | 392 'targets': [ |
369 { | 393 { |
370 'target_name': 'gles2_demo', | 394 'target_name': 'gles2_demo', |
371 'type': 'executable', | 395 'type': 'executable', |
372 'dependencies': [ | 396 'dependencies': [ |
373 'command_buffer_service', | 397 'command_buffer_service', |
374 'gles2_demo_lib', | 398 'gles2_demo_lib', |
375 ], | 399 ], |
376 'sources': [ | 400 'sources': [ |
377 'command_buffer/client/gles2_demo.cc', | 401 'command_buffer/client/gles2_demo.cc', |
378 ], | 402 ], |
379 }, | 403 }, |
380 ], | 404 ], |
381 }, | 405 }, |
382 ], | 406 ], |
383 ], | 407 ], |
384 } | 408 } |
385 | 409 |
386 # Local Variables: | 410 # Local Variables: |
387 # tab-width:2 | 411 # tab-width:2 |
388 # indent-tabs-mode:nil | 412 # indent-tabs-mode:nil |
389 # End: | 413 # End: |
390 # vim: set expandtab tabstop=2 shiftwidth=2: | 414 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |