| 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 ] | 205 ] |
| 206 if (rtc_build_libvpx) { | 206 if (rtc_build_libvpx) { |
| 207 deps += [ rtc_libvpx_dir ] | 207 deps += [ rtc_libvpx_dir ] |
| 208 } | 208 } |
| 209 } | 209 } |
| 210 | 210 |
| 211 source_set("webrtc_vp9") { | 211 source_set("webrtc_vp9") { |
| 212 if (rtc_build_vp9) { | 212 if (rtc_build_vp9) { |
| 213 sources = [ | 213 sources = [ |
| 214 "codecs/vp9/include/vp9.h", | 214 "codecs/vp9/include/vp9.h", |
| 215 "codecs/vp9/screenshare_layers.cc", | |
| 216 "codecs/vp9/screenshare_layers.h", | |
| 217 "codecs/vp9/vp9_frame_buffer_pool.cc", | 215 "codecs/vp9/vp9_frame_buffer_pool.cc", |
| 218 "codecs/vp9/vp9_frame_buffer_pool.h", | 216 "codecs/vp9/vp9_frame_buffer_pool.h", |
| 219 "codecs/vp9/vp9_impl.cc", | 217 "codecs/vp9/vp9_impl.cc", |
| 220 "codecs/vp9/vp9_impl.h", | 218 "codecs/vp9/vp9_impl.h", |
| 221 ] | 219 ] |
| 222 } else { | 220 } else { |
| 223 sources = [ | 221 sources = [ |
| 224 "codecs/vp9/vp9_dummy_impl.cc", | 222 "codecs/vp9/vp9_dummy_impl.cc", |
| 225 ] | 223 ] |
| 226 } | 224 } |
| 227 | 225 |
| 228 configs += [ "../..:common_config" ] | 226 configs += [ "../..:common_config" ] |
| 229 public_configs = [ "../..:common_inherited_config" ] | 227 public_configs = [ "../..:common_inherited_config" ] |
| 230 | 228 |
| 231 if (is_clang) { | 229 if (is_clang) { |
| 232 # Suppress warnings from Chrome's Clang plugins. | 230 # Suppress warnings from Chrome's Clang plugins. |
| 233 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 231 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 234 configs -= [ "//build/config/clang:find_bad_constructs" ] | 232 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 235 } | 233 } |
| 236 | 234 |
| 237 deps = [ | 235 deps = [ |
| 238 ":video_coding_utility", | 236 ":video_coding_utility", |
| 239 "../../common_video", | 237 "../../common_video", |
| 240 "../../system_wrappers", | 238 "../../system_wrappers", |
| 241 ] | 239 ] |
| 242 if (rtc_build_libvpx) { | 240 if (rtc_build_libvpx) { |
| 243 deps += [ rtc_libvpx_dir ] | 241 deps += [ rtc_libvpx_dir ] |
| 244 } | 242 } |
| 245 } | 243 } |
| OLD | NEW |