| 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/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/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
| 9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
| 10 | 10 |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 deps += [ | 443 deps += [ |
| 444 ":media_android_jni_headers", | 444 ":media_android_jni_headers", |
| 445 ":player_android", | 445 ":player_android", |
| 446 ":video_capture_android_jni_headers", | 446 ":video_capture_android_jni_headers", |
| 447 ] | 447 ] |
| 448 if (!is_android_webview_build) { | 448 if (!is_android_webview_build) { |
| 449 deps += [ ":media_java" ] | 449 deps += [ ":media_java" ] |
| 450 } | 450 } |
| 451 } | 451 } |
| 452 | 452 |
| 453 if (is_chromeos) { |
| 454 # A simple WebM encoder for animated avatars on ChromeOS. |
| 455 sources += [ |
| 456 "formats/webm/chromeos/ebml_writer.cc", |
| 457 "formats/webm/chromeos/ebml_writer.h", |
| 458 "formats/webm/chromeos/webm_encoder.cc", |
| 459 "formats/webm/chromeos/webm_encoder.h", |
| 460 ] |
| 461 deps += [ |
| 462 "//third_party/libvpx", |
| 463 "//third_party/libyuv" |
| 464 ] |
| 465 # For VaapiVideoEncodeAccelerator. |
| 466 if (cpu_arch != "arm" && use_x11) { |
| 467 sources += [ |
| 468 "filters/h264_bitstream_buffer.cc", |
| 469 "filters/h264_bitstream_buffer.h", |
| 470 ] |
| 471 } |
| 472 } |
| 473 |
| 453 if (!is_ios) { | 474 if (!is_ios) { |
| 454 deps += [ "//third_party/libyuv" ] | 475 deps += [ "//third_party/libyuv" ] |
| 455 } | 476 } |
| 456 | 477 |
| 457 if (use_alsa) { | 478 if (use_alsa) { |
| 458 libs += [ "asound" ] | 479 libs += [ "asound" ] |
| 459 defines += [ "USE_ALSA" ] | 480 defines += [ "USE_ALSA" ] |
| 460 sources += [ | 481 sources += [ |
| 461 "midi/midi_manager_alsa.cc", | 482 "midi/midi_manager_alsa.cc", |
| 462 "midi/midi_manager_alsa.h", | 483 "midi/midi_manager_alsa.h", |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1152 "base/android/java/src/org/chromium/media/ImageFormat.template", | 1173 "base/android/java/src/org/chromium/media/ImageFormat.template", |
| 1153 ] | 1174 ] |
| 1154 inputs = [ | 1175 inputs = [ |
| 1155 "video/capture/android/imageformat_list.h" | 1176 "video/capture/android/imageformat_list.h" |
| 1156 ] | 1177 ] |
| 1157 package_name = "org/chromium/media" | 1178 package_name = "org/chromium/media" |
| 1158 } | 1179 } |
| 1159 | 1180 |
| 1160 # TODO(dalecurtis): Finish media_unittests_apk and media_perftests_apk. | 1181 # TODO(dalecurtis): Finish media_unittests_apk and media_perftests_apk. |
| 1161 } | 1182 } |
| OLD | NEW |