| OLD | NEW |
| 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 | 10 |
| 11 config("common_video_config") { | 11 config("common_video_config") { |
| 12 include_dirs = [ | 12 include_dirs = [ |
| 13 "include", | 13 "include", |
| 14 "libyuv/include", | 14 "libyuv/include", |
| 15 ] | 15 ] |
| 16 } | 16 } |
| 17 | 17 |
| 18 rtc_static_library("common_video") { | 18 rtc_static_library("common_video") { |
| 19 sources = [ | 19 sources = [ |
| 20 "bitrate_adjuster.cc", | 20 "bitrate_adjuster.cc", |
| 21 "h264/h264_bitstream_parser.cc", | 21 "h264/h264_bitstream_parser.cc", |
| 22 "h264/h264_bitstream_parser.h", | 22 "h264/h264_bitstream_parser.h", |
| 23 "h264/h264_common.cc", | 23 "h264/h264_common.cc", |
| 24 "h264/h264_common.h", | 24 "h264/h264_common.h", |
| 25 "h264/pps_parser.cc", | 25 "h264/pps_parser.cc", |
| 26 "h264/pps_parser.h", | 26 "h264/pps_parser.h", |
| 27 "h264/profile_level_id.cc", |
| 28 "h264/profile_level_id.h", |
| 27 "h264/sps_parser.cc", | 29 "h264/sps_parser.cc", |
| 28 "h264/sps_parser.h", | 30 "h264/sps_parser.h", |
| 29 "h264/sps_vui_rewriter.cc", | 31 "h264/sps_vui_rewriter.cc", |
| 30 "h264/sps_vui_rewriter.h", | 32 "h264/sps_vui_rewriter.h", |
| 31 "i420_buffer_pool.cc", | 33 "i420_buffer_pool.cc", |
| 32 "include/bitrate_adjuster.h", | 34 "include/bitrate_adjuster.h", |
| 33 "include/frame_callback.h", | 35 "include/frame_callback.h", |
| 34 "include/i420_buffer_pool.h", | 36 "include/i420_buffer_pool.h", |
| 35 "include/incoming_video_stream.h", | 37 "include/incoming_video_stream.h", |
| 36 "include/video_frame_buffer.h", | 38 "include/video_frame_buffer.h", |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 } | 92 } |
| 91 } | 93 } |
| 92 | 94 |
| 93 rtc_test("common_video_unittests") { | 95 rtc_test("common_video_unittests") { |
| 94 testonly = true | 96 testonly = true |
| 95 | 97 |
| 96 sources = [ | 98 sources = [ |
| 97 "bitrate_adjuster_unittest.cc", | 99 "bitrate_adjuster_unittest.cc", |
| 98 "h264/h264_bitstream_parser_unittest.cc", | 100 "h264/h264_bitstream_parser_unittest.cc", |
| 99 "h264/pps_parser_unittest.cc", | 101 "h264/pps_parser_unittest.cc", |
| 102 "h264/profile_level_id_unittest.cc", |
| 100 "h264/sps_parser_unittest.cc", | 103 "h264/sps_parser_unittest.cc", |
| 101 "h264/sps_vui_rewriter_unittest.cc", | 104 "h264/sps_vui_rewriter_unittest.cc", |
| 102 "i420_buffer_pool_unittest.cc", | 105 "i420_buffer_pool_unittest.cc", |
| 103 "i420_video_frame_unittest.cc", | 106 "i420_video_frame_unittest.cc", |
| 104 "libyuv/libyuv_unittest.cc", | 107 "libyuv/libyuv_unittest.cc", |
| 105 ] | 108 ] |
| 106 | 109 |
| 107 # TODO(jschuh): Bug 1348: fix this warning. | 110 # TODO(jschuh): Bug 1348: fix this warning. |
| 108 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 111 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 109 | 112 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 125 if (is_android) { | 128 if (is_android) { |
| 126 deps += [ "//testing/android/native_test:native_test_support" ] | 129 deps += [ "//testing/android/native_test:native_test_support" ] |
| 127 shard_timeout = 900 | 130 shard_timeout = 900 |
| 128 } | 131 } |
| 129 | 132 |
| 130 if (is_ios) { | 133 if (is_ios) { |
| 131 deps += [ ":common_video_unittests_bundle_data" ] | 134 deps += [ ":common_video_unittests_bundle_data" ] |
| 132 } | 135 } |
| 133 } | 136 } |
| 134 } | 137 } |
| OLD | NEW |