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