Chromium Code Reviews| 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_mac_unittest', | |
|
Ami GONE FROM CHROMIUM
2012/05/15 17:55:22
Having a target name per platform was an organic m
sail
2012/05/15 23:53:31
Done.
| |
| 486 'dependencies': [ | |
| 487 '../media/media.gyp:media', | |
|
Ami GONE FROM CHROMIUM
2012/05/15 17:55:22
unnecessary
sail
2012/05/15 23:53:31
Done.
| |
| 488 '../ui/gl/gl.gyp:gl', | |
| 489 '../ui/ui.gyp:ui', | |
| 490 ], | |
| 491 'sources!': [ | |
| 492 'common/gpu/media/rendering_helper_egl.cc', | |
| 493 ], | |
| 494 }], | |
| 484 ['OS=="win"', { | 495 ['OS=="win"', { |
| 485 'target_name': 'dxva_video_decode_accelerator_unittest', | 496 'target_name': 'dxva_video_decode_accelerator_unittest', |
| 486 'dependencies': [ | 497 'dependencies': [ |
| 487 '../third_party/angle/src/build_angle.gyp:libEGL', | 498 '../third_party/angle/src/build_angle.gyp:libEGL', |
| 488 '../third_party/angle/src/build_angle.gyp:libGLESv2', | 499 '../third_party/angle/src/build_angle.gyp:libGLESv2', |
| 489 '../media/media.gyp:media', | 500 '../media/media.gyp:media', |
| 490 '../ui/gl/gl.gyp:gl', | 501 '../ui/gl/gl.gyp:gl', |
| 491 '../ui/ui.gyp:ui', | 502 '../ui/ui.gyp:ui', |
| 492 ], | 503 ], |
| 493 'conditions': [ | 504 'conditions': [ |
| 494 ['win_use_allocator_shim==1', { | 505 ['win_use_allocator_shim==1', { |
| 495 'dependencies': [ | 506 'dependencies': [ |
| 496 '../base/allocator/allocator.gyp:allocator', | 507 '../base/allocator/allocator.gyp:allocator', |
| 497 ], | 508 ], |
| 498 }], | 509 }], |
| 499 ], | 510 ], |
| 500 }], | 511 }], |
| 501 ], | 512 ], |
| 502 'defines!': ['CONTENT_IMPLEMENTATION'], | 513 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 503 'type': 'executable', | 514 'type': 'executable', |
| 504 'dependencies': [ | 515 'dependencies': [ |
| 505 '../base/base.gyp:base', | 516 '../base/base.gyp:base', |
| 506 'content', | 517 'content', |
| 507 '../testing/gtest.gyp:gtest', | 518 '../testing/gtest.gyp:gtest', |
| 508 ], | 519 ], |
| 509 'include_dirs': [ | 520 'include_dirs': [ |
| 510 '<(DEPTH)/third_party/angle/include', | 521 '<(DEPTH)/third_party/angle/include', |
| 511 ], | 522 ], |
| 512 'sources': [ | 523 'sources': [ |
| 524 'common/gpu/media/rendering_helper.h', | |
| 525 'common/gpu/media/rendering_helper_mac.mm', | |
| 526 'common/gpu/media/rendering_helper_egl.cc', | |
| 513 'common/gpu/media/video_decode_accelerator_unittest.cc', | 527 'common/gpu/media/video_decode_accelerator_unittest.cc', |
| 514 ], | 528 ], |
| 515 } | 529 } |
| 516 ], | 530 ], |
| 517 }], | 531 }], |
| 518 ['chromeos == 1', { | 532 ['chromeos == 1', { |
| 519 'targets': [ | 533 'targets': [ |
| 520 { | 534 { |
| 521 'target_name': 'h264_parser_unittest', | 535 'target_name': 'h264_parser_unittest', |
| 522 'type': 'executable', | 536 'type': 'executable', |
| 523 'dependencies': [ | 537 'dependencies': [ |
| 524 'content_common', | 538 'content_common', |
| 525 '../testing/gtest.gyp:gtest', | 539 '../testing/gtest.gyp:gtest', |
| 526 ], | 540 ], |
| 527 'sources': [ | 541 'sources': [ |
| 528 'common/gpu/media/h264_parser_unittest.cc', | 542 'common/gpu/media/h264_parser_unittest.cc', |
| 529 ], | 543 ], |
| 530 } | 544 } |
| 531 ], | 545 ], |
| 532 }], | 546 }], |
| 533 ], | 547 ], |
| 534 } | 548 } |
| OLD | NEW |