| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 if (!build_with_chromium && is_clang) { | 53 if (!build_with_chromium && is_clang) { |
| 54 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 54 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 56 } | 56 } |
| 57 | 57 |
| 58 deps = [ | 58 deps = [ |
| 59 "..:webrtc_common", | 59 "..:webrtc_common", |
| 60 "../base:rtc_task_queue", | 60 "../base:rtc_task_queue", |
| 61 "../system_wrappers", | 61 "../system_wrappers", |
| 62 ] | 62 ] |
| 63 public_deps = [ |
| 64 "../api:video_frame_api", |
| 65 ] |
| 63 | 66 |
| 64 if (rtc_build_libyuv) { | 67 if (rtc_build_libyuv) { |
| 65 deps += [ "$rtc_libyuv_dir" ] | 68 deps += [ "$rtc_libyuv_dir" ] |
| 66 public_deps = [ | 69 public_deps += [ "$rtc_libyuv_dir" ] |
| 67 "$rtc_libyuv_dir", | |
| 68 ] | |
| 69 } else { | 70 } else { |
| 70 # Need to add a directory normally exported by libyuv. | 71 # Need to add a directory normally exported by libyuv. |
| 71 include_dirs += [ "$rtc_libyuv_dir/include" ] | 72 include_dirs += [ "$rtc_libyuv_dir/include" ] |
| 72 } | 73 } |
| 73 | 74 |
| 74 if (is_ios || is_mac) { | 75 if (is_ios || is_mac) { |
| 75 sources += [ | 76 sources += [ |
| 76 "corevideo_frame_buffer.cc", | 77 "corevideo_frame_buffer.cc", |
| 77 "include/corevideo_frame_buffer.h", | 78 "include/corevideo_frame_buffer.h", |
| 78 ] | 79 ] |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 if (is_android) { | 130 if (is_android) { |
| 130 deps += [ "//testing/android/native_test:native_test_support" ] | 131 deps += [ "//testing/android/native_test:native_test_support" ] |
| 131 shard_timeout = 900 | 132 shard_timeout = 900 |
| 132 } | 133 } |
| 133 | 134 |
| 134 if (is_ios) { | 135 if (is_ios) { |
| 135 deps += [ ":common_video_unittests_bundle_data" ] | 136 deps += [ ":common_video_unittests_bundle_data" ] |
| 136 } | 137 } |
| 137 } | 138 } |
| 138 } | 139 } |
| OLD | NEW |