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