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

Side by Side Diff: media/BUILD.gn

Issue 1525003002: Revert of Refactor MediaCodecBridge to add support for NDK APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase errors 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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 "filters/decrypting_audio_decoder.h", 389 "filters/decrypting_audio_decoder.h",
390 "filters/decrypting_video_decoder.cc", 390 "filters/decrypting_video_decoder.cc",
391 "filters/decrypting_video_decoder.h", 391 "filters/decrypting_video_decoder.h",
392 ] 392 ]
393 deps += [ 393 deps += [
394 "//media/base/android", 394 "//media/base/android",
395 "//media/base/android:media_jni_headers", 395 "//media/base/android:media_jni_headers",
396 "//media/base/android:video_capture_jni_headers", 396 "//media/base/android:video_capture_jni_headers",
397 ] 397 ]
398 398
399 # Only 64 bit builds are using android-21 NDK library, check common.gypi
400 if (current_cpu == "arm64" || current_cpu == "x64" ||
401 current_cpu == "mips64el") {
402 sources += [
403 "base/android/ndk_media_codec_bridge.cc",
404 "base/android/ndk_media_codec_bridge.h",
405 ]
406 libs += [ "mediandk" ]
407 }
408 allow_circular_includes_from = [ "//media/base/android" ] 399 allow_circular_includes_from = [ "//media/base/android" ]
409 } 400 }
410 401
411 if (!is_android || media_use_ffmpeg) { 402 if (!is_android || media_use_ffmpeg) {
412 sources += [ 403 sources += [
413 "filters/opus_audio_decoder.cc", 404 "filters/opus_audio_decoder.cc",
414 "filters/opus_audio_decoder.h", 405 "filters/opus_audio_decoder.h",
415 ] 406 ]
416 } 407 }
417 408
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 "//media/base:test_support", 883 "//media/base:test_support",
893 "//media/test:pipeline_integration_tests", 884 "//media/test:pipeline_integration_tests",
894 "//testing/gmock", 885 "//testing/gmock",
895 "//testing/gtest", 886 "//testing/gtest",
896 "//third_party/ffmpeg", 887 "//third_party/ffmpeg",
897 "//ui/gfx:test_support", 888 "//ui/gfx:test_support",
898 "//ui/gfx/geometry", 889 "//ui/gfx/geometry",
899 ] 890 ]
900 } 891 }
901 } 892 }
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc/peer_connection_dependency_factory.cc ('k') | media/base/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698