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

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: Created 5 years, 1 month 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" || current_cpu == "mips64e l") {
411 sources += [
412 "base/android/ndk_media_codec_bridge.cc",
413 "base/android/ndk_media_codec_bridge.h",
414 ]
415 libs += [
416 "-lmediandk",
417 ]
418 }
410 allow_circular_includes_from = [ "//media/base/android" ] 419 allow_circular_includes_from = [ "//media/base/android" ]
411 } 420 }
412 421
413 if (!is_android || media_use_ffmpeg) { 422 if (!is_android || media_use_ffmpeg) {
414 sources += [ 423 sources += [
415 "filters/opus_audio_decoder.cc", 424 "filters/opus_audio_decoder.cc",
416 "filters/opus_audio_decoder.h", 425 "filters/opus_audio_decoder.h",
417 ] 426 ]
418 } 427 }
419 428
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 "//media/base:test_support", 904 "//media/base:test_support",
896 "//media/test:pipeline_integration_tests", 905 "//media/test:pipeline_integration_tests",
897 "//testing/gmock", 906 "//testing/gmock",
898 "//testing/gtest", 907 "//testing/gtest",
899 "//third_party/ffmpeg", 908 "//third_party/ffmpeg",
900 "//ui/gfx/geometry", 909 "//ui/gfx/geometry",
901 "//ui/gfx:test_support", 910 "//ui/gfx:test_support",
902 ] 911 ]
903 } 912 }
904 } 913 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698