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