OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/arm.gni") | 7 import("//build/config/arm.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 303 |
304 if (current_cpu == "arm" && arm_use_neon) { | 304 if (current_cpu == "arm" && arm_use_neon) { |
305 defines += [ "USE_NEON" ] | 305 defines += [ "USE_NEON" ] |
306 } | 306 } |
307 | 307 |
308 if (media_use_libvpx) { | 308 if (media_use_libvpx) { |
309 sources += [ | 309 sources += [ |
310 "filters/vpx_video_decoder.cc", | 310 "filters/vpx_video_decoder.cc", |
311 "filters/vpx_video_decoder.h", | 311 "filters/vpx_video_decoder.h", |
312 ] | 312 ] |
313 deps += [ "//third_party/libvpx_new" ] | 313 deps += [ "//third_party/libvpx" ] |
314 } | 314 } |
315 | 315 |
316 if (is_android) { | 316 if (is_android) { |
317 # On Android, FFmpeg is built without video decoders. We only | 317 # On Android, FFmpeg is built without video decoders. We only |
318 # support hardware video decoding. | 318 # support hardware video decoding. |
319 if (media_use_ffmpeg) { | 319 if (media_use_ffmpeg) { |
320 sources -= [ | 320 sources -= [ |
321 "filters/ffmpeg_video_decoder.cc", | 321 "filters/ffmpeg_video_decoder.cc", |
322 "filters/ffmpeg_video_decoder.h", | 322 "filters/ffmpeg_video_decoder.h", |
323 ] | 323 ] |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 if (proprietary_codecs) { | 832 if (proprietary_codecs) { |
833 fuzzer_test("media_cenc_utils_fuzzer") { | 833 fuzzer_test("media_cenc_utils_fuzzer") { |
834 sources = [ | 834 sources = [ |
835 "cdm/cenc_utils_fuzzertest.cc", | 835 "cdm/cenc_utils_fuzzertest.cc", |
836 ] | 836 ] |
837 deps = [ | 837 deps = [ |
838 ":media", | 838 ":media", |
839 ] | 839 ] |
840 } | 840 } |
841 } | 841 } |
OLD | NEW |