| # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| # |
| # Use of this source code is governed by a BSD-style license |
| # that can be found in the LICENSE file in the root of the source |
| # tree. An additional intellectual property rights grant can be found |
| # in the file PATENTS. All contributing project authors may |
| # be found in the AUTHORS file in the root of the source tree. |
| |
| { |
| 'targets': [ |
| { |
| 'target_name': 'vie_auto_test', |
| 'type': 'executable', |
| 'dependencies': [ |
| '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
| '<(webrtc_root)/modules/modules.gyp:video_render_module', |
| '<(webrtc_root)/modules/modules.gyp:video_capture_module', |
| '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine_core', |
| '<(webrtc_root)/../testing/gtest.gyp:gtest', |
| '<(webrtc_root)/../third_party/google-gflags/google-gflags.gyp:google-gflags', |
| '<(webrtc_root)/../test/metrics.gyp:metrics', |
| '<(webrtc_root)/../test/test.gyp:test_support', |
| 'video_engine_core', |
| ], |
| 'include_dirs': [ |
| 'interface/', |
| 'helpers/', |
| 'primitives', |
| '../../include', |
| '../..', |
| '../../../modules/video_coding/codecs/interface', |
| '../../../common_video/interface', |
| ], |
| 'sources': [ |
| 'interface/tb_capture_device.h', |
| 'interface/tb_external_transport.h', |
| 'interface/tb_I420_codec.h', |
| 'interface/tb_interfaces.h', |
| 'interface/tb_video_channel.h', |
| 'interface/vie_autotest.h', |
| 'interface/vie_autotest_defines.h', |
| 'interface/vie_autotest_linux.h', |
| 'interface/vie_autotest_mac_carbon.h', |
| 'interface/vie_autotest_mac_cocoa.h', |
| 'interface/vie_autotest_main.h', |
| 'interface/vie_autotest_window_manager_interface.h', |
| 'interface/vie_autotest_windows.h', |
| 'interface/vie_file_based_comparison_tests.h', |
| 'interface/vie_window_manager_factory.h', |
| |
| # Helper classes |
| 'helpers/vie_fake_camera.cc', |
| 'helpers/vie_fake_camera.h', |
| 'helpers/vie_file_capture_device.cc', |
| 'helpers/vie_file_capture_device.h', |
| 'helpers/vie_to_file_renderer.cc', |
| 'helpers/vie_to_file_renderer.h', |
| 'helpers/vie_window_creator.cc', |
| 'helpers/vie_window_creator.h', |
| |
| # New, fully automated tests |
| 'automated/vie_api_integration_test.cc', |
| 'automated/vie_extended_integration_test.cc', |
| 'automated/vie_integration_test_base.cc', |
| 'automated/vie_integration_test_base.h', |
| 'automated/vie_standard_integration_test.cc', |
| 'automated/vie_video_verification_test.cc', |
| |
| # Test primitives |
| 'primitives/base_primitives.cc', |
| 'primitives/base_primitives.h', |
| 'primitives/codec_primitives.cc', |
| 'primitives/codec_primitives.h', |
| 'primitives/framedrop_primitives.h', |
| 'primitives/framedrop_primitives.cc', |
| 'primitives/general_primitives.cc', |
| 'primitives/general_primitives.h', |
| |
| # Platform independent |
| 'source/tb_capture_device.cc', |
| 'source/tb_external_transport.cc', |
| 'source/tb_I420_codec.cc', |
| 'source/tb_interfaces.cc', |
| 'source/tb_video_channel.cc', |
| 'source/vie_autotest.cc', |
| 'source/vie_autotest_base.cc', |
| 'source/vie_autotest_capture.cc', |
| 'source/vie_autotest_codec.cc', |
| 'source/vie_autotest_encryption.cc', |
| 'source/vie_autotest_file.cc', |
| 'source/vie_autotest_image_process.cc', |
| 'source/vie_autotest_loopback.cc', |
| 'source/vie_autotest_main.cc', |
| 'source/vie_autotest_network.cc', |
| 'source/vie_autotest_render.cc', |
| 'source/vie_autotest_rtp_rtcp.cc', |
| 'source/vie_autotest_custom_call.cc', |
| 'source/vie_autotest_simulcast.cc', |
| 'source/vie_file_based_comparison_tests.cc', |
| |
| # Platform dependent |
| # Linux |
| 'source/vie_autotest_linux.cc', |
| 'source/vie_window_manager_factory_linux.cc', |
| # Mac |
| 'source/vie_autotest_mac_cocoa.mm', |
| 'source/vie_autotest_mac_carbon.cc', |
| 'source/vie_window_manager_factory_mac.mm', |
| # Windows |
| 'source/vie_autotest_windows.cc', |
| 'source/vie_window_manager_factory_win.cc', |
| ], |
| 'copies': [{ |
| 'destination': '/tmp', |
| 'files': [ |
| 'media/captureDeviceImage.bmp', |
| 'media/captureDeviceImage.jpg', |
| 'media/renderStartImage.bmp', |
| 'media/renderStartImage.jpg', |
| 'media/renderTimeoutImage.bmp', |
| 'media/renderTimeoutImage.jpg', |
| ], |
| }], |
| 'conditions': [ |
| # TODO(andrew): rename these to be suffixed with _mac and _win. They |
| # will then be automatically excluded. |
| ['OS!="mac"', { |
| 'sources!': [ |
| 'source/vie_autotest_mac_cocoa.cc', |
| 'source/vie_autotest_mac_carbon.cc', |
| 'source/vie_window_manager_factory_mac.mm', |
| ], |
| }], |
| ['OS!="win"', { |
| 'sources!': [ |
| 'source/vie_autotest_windows.cc', |
| ], |
| }], |
| ['OS!="linux"', { |
| 'sources!': [ |
| 'source/vie_window_manager_factory_linux.cc', |
| ], |
| }], |
| |
| # TODO(andrew): this likely isn't an actual dependency. It should be |
| # included in webrtc.gyp or video_engine.gyp instead. |
| ['OS=="win"', { |
| 'dependencies': [ |
| 'vie_win_test', |
| ], |
| }], |
| ['OS=="linux"', { |
| # TODO(andrew): these should be provided directly by the projects |
| # which require them instead. |
| 'libraries': [ |
| '-lXext', |
| '-lX11', |
| ], |
| }], |
| ['OS=="mac"', { |
| 'include_dirs': [ |
| '../../../modules/video_render/main/source/mac', |
| ], |
| 'xcode_settings': { |
| 'OTHER_LDFLAGS': [ |
| '-framework Foundation -framework AppKit -framework Cocoa -framework OpenGL -framework CoreVideo -framework CoreAudio -framework AudioToolbox', |
| ], |
| }, |
| }], |
| ], # conditions |
| }, |
| ], |
| } |
| |
| # Local Variables: |
| # tab-width:2 |
| # indent-tabs-mode:nil |
| # End: |
| # vim: set expandtab tabstop=2 shiftwidth=2: |