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