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", | |
64 "../system_wrappers", | 63 "../system_wrappers", |
65 ] | 64 ] |
66 | 65 |
67 if (rtc_build_libyuv) { | 66 if (rtc_build_libyuv) { |
68 deps += [ "$rtc_libyuv_dir" ] | 67 deps += [ "$rtc_libyuv_dir" ] |
69 public_deps = [ | 68 public_deps = [ |
70 "$rtc_libyuv_dir", | 69 "$rtc_libyuv_dir", |
71 ] | 70 ] |
72 } else { | 71 } else { |
73 # Need to add a directory normally exported by libyuv. | 72 # Need to add a directory normally exported by libyuv. |
(...skipping 13 matching lines...) Expand all Loading... |
87 test("common_video_unittests") { | 86 test("common_video_unittests") { |
88 testonly = true | 87 testonly = true |
89 | 88 |
90 sources = [ | 89 sources = [ |
91 "bitrate_adjuster_unittest.cc", | 90 "bitrate_adjuster_unittest.cc", |
92 "h264/pps_parser_unittest.cc", | 91 "h264/pps_parser_unittest.cc", |
93 "h264/sps_parser_unittest.cc", | 92 "h264/sps_parser_unittest.cc", |
94 "h264/sps_vui_rewriter_unittest.cc", | 93 "h264/sps_vui_rewriter_unittest.cc", |
95 "i420_buffer_pool_unittest.cc", | 94 "i420_buffer_pool_unittest.cc", |
96 "i420_video_frame_unittest.cc", | 95 "i420_video_frame_unittest.cc", |
97 "incoming_video_stream_unittest.cc", | |
98 "libyuv/libyuv_unittest.cc", | 96 "libyuv/libyuv_unittest.cc", |
99 "libyuv/scaler_unittest.cc", | 97 "libyuv/scaler_unittest.cc", |
100 ] | 98 ] |
101 | 99 |
102 configs += [ "..:common_config" ] | 100 configs += [ "..:common_config" ] |
103 public_configs = [ "..:common_inherited_config" ] | 101 public_configs = [ "..:common_inherited_config" ] |
104 | 102 |
105 # TODO(jschuh): Bug 1348: fix this warning. | 103 # TODO(jschuh): Bug 1348: fix this warning. |
106 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 104 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
107 | 105 |
(...skipping 16 matching lines...) Expand all Loading... |
124 deps += [ "//testing/android/native_test:native_test_support" ] | 122 deps += [ "//testing/android/native_test:native_test_support" ] |
125 | 123 |
126 # This needs to be kept in sync with the .isolate file. | 124 # This needs to be kept in sync with the .isolate file. |
127 # TODO(kjellander); Move this to android_assets targets instead. | 125 # TODO(kjellander); Move this to android_assets targets instead. |
128 data = [ | 126 data = [ |
129 "//resources/foreman_cif.yuv", | 127 "//resources/foreman_cif.yuv", |
130 ] | 128 ] |
131 } | 129 } |
132 } | 130 } |
133 } | 131 } |
OLD | NEW |