| 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", |
| 22 "h264/h264_bitstream_parser.h", |
| 21 "h264/h264_common.cc", | 23 "h264/h264_common.cc", |
| 22 "h264/h264_common.h", | 24 "h264/h264_common.h", |
| 23 "h264/pps_parser.cc", | 25 "h264/pps_parser.cc", |
| 24 "h264/pps_parser.h", | 26 "h264/pps_parser.h", |
| 25 "h264/sps_parser.cc", | 27 "h264/sps_parser.cc", |
| 26 "h264/sps_parser.h", | 28 "h264/sps_parser.h", |
| 27 "h264/sps_vui_rewriter.cc", | 29 "h264/sps_vui_rewriter.cc", |
| 28 "h264/sps_vui_rewriter.h", | 30 "h264/sps_vui_rewriter.h", |
| 29 "i420_buffer_pool.cc", | 31 "i420_buffer_pool.cc", |
| 30 "include/bitrate_adjuster.h", | 32 "include/bitrate_adjuster.h", |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 "{{bundle_resources_dir}}/{{source_file_part}}", | 89 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 88 ] | 90 ] |
| 89 } | 91 } |
| 90 } | 92 } |
| 91 | 93 |
| 92 rtc_test("common_video_unittests") { | 94 rtc_test("common_video_unittests") { |
| 93 testonly = true | 95 testonly = true |
| 94 | 96 |
| 95 sources = [ | 97 sources = [ |
| 96 "bitrate_adjuster_unittest.cc", | 98 "bitrate_adjuster_unittest.cc", |
| 99 "h264/h264_bitstream_parser_unittest.cc", |
| 97 "h264/pps_parser_unittest.cc", | 100 "h264/pps_parser_unittest.cc", |
| 98 "h264/sps_parser_unittest.cc", | 101 "h264/sps_parser_unittest.cc", |
| 99 "h264/sps_vui_rewriter_unittest.cc", | 102 "h264/sps_vui_rewriter_unittest.cc", |
| 100 "i420_buffer_pool_unittest.cc", | 103 "i420_buffer_pool_unittest.cc", |
| 101 "i420_video_frame_unittest.cc", | 104 "i420_video_frame_unittest.cc", |
| 102 "libyuv/libyuv_unittest.cc", | 105 "libyuv/libyuv_unittest.cc", |
| 103 ] | 106 ] |
| 104 | 107 |
| 105 # TODO(jschuh): Bug 1348: fix this warning. | 108 # TODO(jschuh): Bug 1348: fix this warning. |
| 106 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 109 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| (...skipping 17 matching lines...) Expand all Loading... |
| 124 if (is_android) { | 127 if (is_android) { |
| 125 deps += [ "//testing/android/native_test:native_test_support" ] | 128 deps += [ "//testing/android/native_test:native_test_support" ] |
| 126 shard_timeout = 900 | 129 shard_timeout = 900 |
| 127 } | 130 } |
| 128 | 131 |
| 129 if (is_ios) { | 132 if (is_ios) { |
| 130 deps += [ ":common_video_unittests_bundle_data" ] | 133 deps += [ ":common_video_unittests_bundle_data" ] |
| 131 } | 134 } |
| 132 } | 135 } |
| 133 } | 136 } |
| OLD | NEW |