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 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 ] | 53 ] |
54 | 54 |
55 if (is_clang) { | 55 if (is_clang) { |
56 # Suppress warnings from Chrome's Clang plugins. | 56 # Suppress warnings from Chrome's Clang plugins. |
57 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 57 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
58 configs -= [ "//build/config/clang:find_bad_constructs" ] | 58 configs -= [ "//build/config/clang:find_bad_constructs" ] |
59 } | 59 } |
60 | 60 |
61 deps = [ | 61 deps = [ |
62 "..:webrtc_common", | 62 "..:webrtc_common", |
| 63 "../base:rtc_task_queue", |
63 "../system_wrappers", | 64 "../system_wrappers", |
64 ] | 65 ] |
65 | 66 |
66 if (rtc_build_libyuv) { | 67 if (rtc_build_libyuv) { |
67 deps += [ "$rtc_libyuv_dir" ] | 68 deps += [ "$rtc_libyuv_dir" ] |
68 public_deps = [ | 69 public_deps = [ |
69 "$rtc_libyuv_dir", | 70 "$rtc_libyuv_dir", |
70 ] | 71 ] |
71 } else { | 72 } else { |
72 # Need to add a directory normally exported by libyuv. | 73 # Need to add a directory normally exported by libyuv. |
(...skipping 13 matching lines...) Expand all Loading... |
86 test("common_video_unittests") { | 87 test("common_video_unittests") { |
87 testonly = true | 88 testonly = true |
88 | 89 |
89 sources = [ | 90 sources = [ |
90 "bitrate_adjuster_unittest.cc", | 91 "bitrate_adjuster_unittest.cc", |
91 "h264/pps_parser_unittest.cc", | 92 "h264/pps_parser_unittest.cc", |
92 "h264/sps_parser_unittest.cc", | 93 "h264/sps_parser_unittest.cc", |
93 "h264/sps_vui_rewriter_unittest.cc", | 94 "h264/sps_vui_rewriter_unittest.cc", |
94 "i420_buffer_pool_unittest.cc", | 95 "i420_buffer_pool_unittest.cc", |
95 "i420_video_frame_unittest.cc", | 96 "i420_video_frame_unittest.cc", |
| 97 "incoming_video_stream_unittest.cc", |
96 "libyuv/libyuv_unittest.cc", | 98 "libyuv/libyuv_unittest.cc", |
97 "libyuv/scaler_unittest.cc", | 99 "libyuv/scaler_unittest.cc", |
98 ] | 100 ] |
99 | 101 |
100 configs += [ "..:common_config" ] | 102 configs += [ "..:common_config" ] |
101 public_configs = [ "..:common_inherited_config" ] | 103 public_configs = [ "..:common_inherited_config" ] |
102 | 104 |
103 # TODO(jschuh): Bug 1348: fix this warning. | 105 # TODO(jschuh): Bug 1348: fix this warning. |
104 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 106 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
105 | 107 |
(...skipping 16 matching lines...) Expand all Loading... |
122 deps += [ "//testing/android/native_test:native_test_support" ] | 124 deps += [ "//testing/android/native_test:native_test_support" ] |
123 | 125 |
124 # This needs to be kept in sync with the .isolate file. | 126 # This needs to be kept in sync with the .isolate file. |
125 # TODO(kjellander); Move this to android_assets targets instead. | 127 # TODO(kjellander); Move this to android_assets targets instead. |
126 data = [ | 128 data = [ |
127 "//resources/foreman_cif.yuv", | 129 "//resources/foreman_cif.yuv", |
128 ] | 130 ] |
129 } | 131 } |
130 } | 132 } |
131 } | 133 } |
OLD | NEW |