Chromium Code Reviews| Index: third_party/openh264/testing/openh264_testing.gyp |
| diff --git a/third_party/openh264/testing/openh264_testing.gyp b/third_party/openh264/testing/openh264_testing.gyp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b5c7908c6ffb0acd8830f6efd06907f5acf75fed |
| --- /dev/null |
| +++ b/third_party/openh264/testing/openh264_testing.gyp |
| @@ -0,0 +1,44 @@ |
| +# Copyright 2015 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +{ |
| + 'conditions': [ |
| + ['use_openh264==1', { |
| + # Building with OpenH264. |
| + 'targets': [ |
| + { |
| + 'target_name': 'openh264_testing', |
| + 'type': 'static_library', |
| + 'dependencies': [ |
| + '<(DEPTH)/third_party/webrtc/common_video/common_video.gyp:common_video', |
| + '../openh264.gyp:openh264_encoder', |
| + '../openh264.gyp:openh264_decoder', |
| + ], |
| + 'include_dirs': [ |
| + '<(DEPTH)', |
| + ], |
| + 'sources': [ |
|
torbjorng
2015/11/18 14:41:09
Please canonicalize file order (alphabetically as
hbos_chromium
2015/11/18 15:55:04
Done.
|
| + 'i420_utils.cc', |
| + 'i420_utils.h', |
| + 'h264_codec_tester.cc', |
| + 'h264_codec_tester.h', |
| + 'h264_encoder_impl.cc', |
| + 'h264_encoder_impl.h', |
| + 'h264_decoder_impl.cc', |
| + 'h264_decoder_impl.h', |
| + ], |
| + }, |
| + ], |
| + },{ |
| + # Building without OpenH264. Defining a dummy target because every build |
| + # file needs to have at least one target. |
| + 'targets': [ |
| + { |
| + 'target_name': 'openh264_testing_dummy_target', |
| + 'type': 'none', |
| + } |
| + ], |
| + }], |
| + ], |
| +} |