OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'includes': [ |
| 7 '../openh264_args.gypi', |
| 8 ], |
| 9 'conditions': [ |
| 10 ['use_openh264==1', { |
| 11 # Building with OpenH264. |
| 12 'targets': [ |
| 13 { |
| 14 'target_name': 'openh264_testing', |
| 15 'type': 'static_library', |
| 16 'dependencies': [ |
| 17 '<(DEPTH)/third_party/webrtc/common_video/common_video.gyp:common_vi
deo', |
| 18 '../openh264.gyp:openh264_encoder', |
| 19 '../openh264.gyp:openh264_decoder', |
| 20 ], |
| 21 'include_dirs': [ |
| 22 '<(DEPTH)', |
| 23 ], |
| 24 'sources': [ |
| 25 'h264_codec_tester.cc', |
| 26 'h264_codec_tester.h', |
| 27 'h264_decoder_impl.cc', |
| 28 'h264_decoder_impl.h', |
| 29 'h264_encoder_impl.cc', |
| 30 'h264_encoder_impl.h', |
| 31 'i420_utils.cc', |
| 32 'i420_utils.h', |
| 33 ], |
| 34 }, |
| 35 ], |
| 36 },{ |
| 37 # Building without OpenH264. Defining a dummy target because every build |
| 38 # file needs to have at least one target. |
| 39 'targets': [ |
| 40 { |
| 41 'target_name': 'openh264_testing_dummy_target', |
| 42 'type': 'none', |
| 43 } |
| 44 ], |
| 45 }], |
| 46 ], |
| 47 } |
OLD | NEW |