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 'conditions': [ |
| 7 ['build_openh264==1', { |
| 8 # Building with OpenH264. |
| 9 'targets': [ |
| 10 { |
| 11 'target_name': 'openh264_testing', |
| 12 'type': 'static_library', |
| 13 'dependencies': [ |
| 14 '<(DEPTH)/third_party/webrtc/common_video/common_video.gyp:common_vi
deo', |
| 15 '../openh264.gyp:openh264_encoder', |
| 16 '../openh264.gyp:openh264_decoder', |
| 17 ], |
| 18 'include_dirs': [ |
| 19 '<(DEPTH)', |
| 20 ], |
| 21 'sources': [ |
| 22 'i420_utils.cc', |
| 23 'i420_utils.h', |
| 24 'h264_codec_tester.cc', |
| 25 'h264_codec_tester.h', |
| 26 'h264_encoder_impl.cc', |
| 27 'h264_encoder_impl.h', |
| 28 'h264_decoder_impl.cc', |
| 29 'h264_decoder_impl.h', |
| 30 ], |
| 31 }, |
| 32 ], |
| 33 },{ |
| 34 # Building without OpenH264. Defining a dummy target because every build |
| 35 # file needs to have at least one target. |
| 36 'targets': [ |
| 37 { |
| 38 'target_name': 'openh264_testing_dummy_target', |
| 39 'type': 'none', |
| 40 } |
| 41 ], |
| 42 }], |
| 43 ], |
| 44 } |
OLD | NEW |