Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: media/BUILD.gn

Issue 1472943002: Refactor MediaCodecBridge to add support for NDK APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add media_codec_util.cc(h) Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/linux/pkg_config.gni") 8 import("//build/config/linux/pkg_config.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 "filters/decrypting_audio_decoder.cc", 400 "filters/decrypting_audio_decoder.cc",
401 "filters/decrypting_audio_decoder.h", 401 "filters/decrypting_audio_decoder.h",
402 "filters/decrypting_video_decoder.cc", 402 "filters/decrypting_video_decoder.cc",
403 "filters/decrypting_video_decoder.h", 403 "filters/decrypting_video_decoder.h",
404 ] 404 ]
405 deps += [ 405 deps += [
406 "//media/base/android", 406 "//media/base/android",
407 "//media/base/android:media_jni_headers", 407 "//media/base/android:media_jni_headers",
408 "//media/base/android:video_capture_jni_headers", 408 "//media/base/android:video_capture_jni_headers",
409 ] 409 ]
410 if (current_cpu == "arm64" || current_cpu == "x64" ||
411 current_cpu == "mips64el") {
412 sources += [
413 "base/android/ndk_media_codec_bridge.cc",
414 "base/android/ndk_media_codec_bridge.h",
415 ]
416 libs += [ "-lmediandk" ]
417 }
410 allow_circular_includes_from = [ "//media/base/android" ] 418 allow_circular_includes_from = [ "//media/base/android" ]
411 } 419 }
412 420
413 if (!is_android || media_use_ffmpeg) { 421 if (!is_android || media_use_ffmpeg) {
414 sources += [ 422 sources += [
415 "filters/opus_audio_decoder.cc", 423 "filters/opus_audio_decoder.cc",
416 "filters/opus_audio_decoder.h", 424 "filters/opus_audio_decoder.h",
417 ] 425 ]
418 } 426 }
419 427
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 "//media/base:test_support", 903 "//media/base:test_support",
896 "//media/test:pipeline_integration_tests", 904 "//media/test:pipeline_integration_tests",
897 "//testing/gmock", 905 "//testing/gmock",
898 "//testing/gtest", 906 "//testing/gtest",
899 "//third_party/ffmpeg", 907 "//third_party/ffmpeg",
900 "//ui/gfx/geometry", 908 "//ui/gfx/geometry",
901 "//ui/gfx:test_support", 909 "//ui/gfx:test_support",
902 ] 910 ]
903 } 911 }
904 } 912 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698