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