| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'test_support_content', | 8 'target_name': 'test_support_content', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'defines!': ['CONTENT_IMPLEMENTATION'], | 10 'defines!': ['CONTENT_IMPLEMENTATION'], |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 }], | 464 }], |
| 465 ['OS == "win" or (toolkit_uses_gtk == 1 and selinux == 0)', { | 465 ['OS == "win" or (toolkit_uses_gtk == 1 and selinux == 0)', { |
| 466 'dependencies': [ | 466 'dependencies': [ |
| 467 '../sandbox/sandbox.gyp:sandbox', | 467 '../sandbox/sandbox.gyp:sandbox', |
| 468 ], | 468 ], |
| 469 }], | 469 }], |
| 470 ], | 470 ], |
| 471 }, | 471 }, |
| 472 ], | 472 ], |
| 473 'conditions': [ | 473 'conditions': [ |
| 474 ['target_arch=="arm" or OS=="win"', { | 474 ['target_arch=="arm" or OS=="win" or OS=="mac"', { |
| 475 'targets': [ | 475 'targets': [ |
| 476 { | 476 { |
| 477 'conditions': [ | 477 'conditions': [ |
| 478 ['target_arch=="arm"', { | 478 ['target_arch=="arm"', { |
| 479 'target_name': 'omx_video_decode_accelerator_unittest', | 479 'target_name': 'omx_video_decode_accelerator_unittest', |
| 480 'include_dirs': [ | 480 'include_dirs': [ |
| 481 '<(DEPTH)/third_party/openmax/il', | 481 '<(DEPTH)/third_party/openmax/il', |
| 482 ], | 482 ], |
| 483 }], | 483 }], |
| 484 ['OS=="mac"', { |
| 485 'target_name': 'video_decode_accelerator_unittest', |
| 486 'dependencies': [ |
| 487 '../ui/gl/gl.gyp:gl', |
| 488 '../ui/ui.gyp:ui', |
| 489 ], |
| 490 'sources!': [ |
| 491 'common/gpu/media/rendering_helper_egl.cc', |
| 492 ], |
| 493 }], |
| 484 ['OS=="win"', { | 494 ['OS=="win"', { |
| 485 'target_name': 'dxva_video_decode_accelerator_unittest', | 495 'target_name': 'dxva_video_decode_accelerator_unittest', |
| 486 'dependencies': [ | 496 'dependencies': [ |
| 487 '../third_party/angle/src/build_angle.gyp:libEGL', | 497 '../third_party/angle/src/build_angle.gyp:libEGL', |
| 488 '../third_party/angle/src/build_angle.gyp:libGLESv2', | 498 '../third_party/angle/src/build_angle.gyp:libGLESv2', |
| 489 '../media/media.gyp:media', | 499 '../media/media.gyp:media', |
| 490 '../ui/gl/gl.gyp:gl', | 500 '../ui/gl/gl.gyp:gl', |
| 491 '../ui/ui.gyp:ui', | 501 '../ui/ui.gyp:ui', |
| 492 ], | 502 ], |
| 493 'conditions': [ | 503 'conditions': [ |
| 494 ['win_use_allocator_shim==1', { | 504 ['win_use_allocator_shim==1', { |
| 495 'dependencies': [ | 505 'dependencies': [ |
| 496 '../base/allocator/allocator.gyp:allocator', | 506 '../base/allocator/allocator.gyp:allocator', |
| 497 ], | 507 ], |
| 498 }], | 508 }], |
| 499 ], | 509 ], |
| 500 }], | 510 }], |
| 501 ], | 511 ], |
| 502 'defines!': ['CONTENT_IMPLEMENTATION'], | 512 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 503 'type': 'executable', | 513 'type': 'executable', |
| 504 'dependencies': [ | 514 'dependencies': [ |
| 505 '../base/base.gyp:base', | 515 '../base/base.gyp:base', |
| 506 'content', | 516 'content', |
| 507 '../testing/gtest.gyp:gtest', | 517 '../testing/gtest.gyp:gtest', |
| 508 ], | 518 ], |
| 509 'include_dirs': [ | 519 'include_dirs': [ |
| 510 '<(DEPTH)/third_party/angle/include', | 520 '<(DEPTH)/third_party/angle/include', |
| 511 ], | 521 ], |
| 512 'sources': [ | 522 'sources': [ |
| 523 'common/gpu/media/rendering_helper.h', |
| 524 'common/gpu/media/rendering_helper_mac.mm', |
| 525 'common/gpu/media/rendering_helper_egl.cc', |
| 513 'common/gpu/media/video_decode_accelerator_unittest.cc', | 526 'common/gpu/media/video_decode_accelerator_unittest.cc', |
| 514 ], | 527 ], |
| 515 } | 528 } |
| 516 ], | 529 ], |
| 517 }], | 530 }], |
| 518 ['chromeos == 1', { | 531 ['chromeos == 1', { |
| 519 'targets': [ | 532 'targets': [ |
| 520 { | 533 { |
| 521 'target_name': 'h264_parser_unittest', | 534 'target_name': 'h264_parser_unittest', |
| 522 'type': 'executable', | 535 'type': 'executable', |
| 523 'dependencies': [ | 536 'dependencies': [ |
| 524 'content_common', | 537 'content_common', |
| 525 '../testing/gtest.gyp:gtest', | 538 '../testing/gtest.gyp:gtest', |
| 526 ], | 539 ], |
| 527 'sources': [ | 540 'sources': [ |
| 528 'common/gpu/media/h264_parser_unittest.cc', | 541 'common/gpu/media/h264_parser_unittest.cc', |
| 529 ], | 542 ], |
| 530 } | 543 } |
| 531 ], | 544 ], |
| 532 }], | 545 }], |
| 533 ], | 546 ], |
| 534 } | 547 } |
| OLD | NEW |