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 |
(...skipping 25 matching lines...) Expand all Loading... |
36 "libyuv/include/webrtc_libyuv.h", | 36 "libyuv/include/webrtc_libyuv.h", |
37 "libyuv/webrtc_libyuv.cc", | 37 "libyuv/webrtc_libyuv.cc", |
38 "video_frame.cc", | 38 "video_frame.cc", |
39 "video_frame_buffer.cc", | 39 "video_frame_buffer.cc", |
40 "video_render_frames.cc", | 40 "video_render_frames.cc", |
41 "video_render_frames.h", | 41 "video_render_frames.h", |
42 ] | 42 ] |
43 | 43 |
44 include_dirs = [ "../modules/interface" ] | 44 include_dirs = [ "../modules/interface" ] |
45 | 45 |
46 public_configs = [ | 46 public_configs = [ ":common_video_config" ] |
47 "..:common_inherited_config", | |
48 ":common_video_config", | |
49 ] | |
50 | 47 |
51 if (is_clang) { | 48 if (is_clang) { |
52 # Suppress warnings from Chrome's Clang plugins. | 49 # Suppress warnings from Chrome's Clang plugins. |
53 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 50 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
54 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 51 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
55 } | 52 } |
56 | 53 |
57 deps = [ | 54 deps = [ |
58 "..:webrtc_common", | 55 "..:webrtc_common", |
59 "../base:rtc_task_queue", | 56 "../base:rtc_task_queue", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 sources = [ | 97 sources = [ |
101 "bitrate_adjuster_unittest.cc", | 98 "bitrate_adjuster_unittest.cc", |
102 "h264/pps_parser_unittest.cc", | 99 "h264/pps_parser_unittest.cc", |
103 "h264/sps_parser_unittest.cc", | 100 "h264/sps_parser_unittest.cc", |
104 "h264/sps_vui_rewriter_unittest.cc", | 101 "h264/sps_vui_rewriter_unittest.cc", |
105 "i420_buffer_pool_unittest.cc", | 102 "i420_buffer_pool_unittest.cc", |
106 "i420_video_frame_unittest.cc", | 103 "i420_video_frame_unittest.cc", |
107 "libyuv/libyuv_unittest.cc", | 104 "libyuv/libyuv_unittest.cc", |
108 ] | 105 ] |
109 | 106 |
110 public_configs = [ "..:common_inherited_config" ] | |
111 | |
112 # TODO(jschuh): Bug 1348: fix this warning. | 107 # TODO(jschuh): Bug 1348: fix this warning. |
113 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 108 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
114 | 109 |
115 if (is_clang) { | 110 if (is_clang) { |
116 # Suppress warnings from the Chromium Clang plugin. | 111 # Suppress warnings from the Chromium Clang plugin. |
117 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 112 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
118 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 113 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
119 } | 114 } |
120 | 115 |
121 deps = [ | 116 deps = [ |
122 ":common_video", | 117 ":common_video", |
123 "../system_wrappers:system_wrappers", | 118 "../system_wrappers:system_wrappers", |
124 "../test:test_support_main", | 119 "../test:test_support_main", |
125 "../test:video_test_common", | 120 "../test:video_test_common", |
126 "//testing/gmock", | 121 "//testing/gmock", |
127 "//testing/gtest", | 122 "//testing/gtest", |
128 ] | 123 ] |
129 | 124 |
130 if (is_android) { | 125 if (is_android) { |
131 deps += [ "//testing/android/native_test:native_test_support" ] | 126 deps += [ "//testing/android/native_test:native_test_support" ] |
132 data = common_video_resources | 127 data = common_video_resources |
133 shard_timeout = 900 | 128 shard_timeout = 900 |
134 } | 129 } |
135 | 130 |
136 if (is_ios) { | 131 if (is_ios) { |
137 deps += [ ":common_video_unittests_bundle_data" ] | 132 deps += [ ":common_video_unittests_bundle_data" ] |
138 } | 133 } |
139 } | 134 } |
140 } | 135 } |
OLD | NEW |