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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 deps += [ | 467 deps += [ |
468 ":media_android_jni_headers", | 468 ":media_android_jni_headers", |
469 ":player_android", | 469 ":player_android", |
470 ":video_capture_android_jni_headers", | 470 ":video_capture_android_jni_headers", |
471 ] | 471 ] |
472 if (!is_android_webview_build) { | 472 if (!is_android_webview_build) { |
473 deps += [ ":media_java" ] | 473 deps += [ ":media_java" ] |
474 } | 474 } |
475 } | 475 } |
476 | 476 |
477 if (is_chromeos) { | |
478 # A simple WebM encoder for animated avatars on ChromeOS. | |
479 sources += [ | |
480 "formats/webm/chromeos/ebml_writer.cc", | |
481 "formats/webm/chromeos/ebml_writer.h", | |
482 "formats/webm/chromeos/webm_encoder.cc", | |
483 "formats/webm/chromeos/webm_encoder.h", | |
484 ] | |
485 deps += [ | |
486 "//third_party/libvpx", | |
487 "//third_party/libyuv" | |
488 ] | |
489 # For VaapiVideoEncodeAccelerator. | |
490 if (cpu_arch != "arm" && use_x11) { | |
491 sources += [ | |
492 "filters/h264_bitstream_buffer.cc", | |
493 "filters/h264_bitstream_buffer.h", | |
494 ] | |
495 } | |
496 } | |
497 | |
498 if (!is_ios) { | 477 if (!is_ios) { |
499 deps += [ "//third_party/libyuv" ] | 478 deps += [ "//third_party/libyuv" ] |
500 } | 479 } |
501 | 480 |
502 if (use_alsa) { | 481 if (use_alsa) { |
503 libs += [ "asound" ] | 482 libs += [ "asound" ] |
504 defines += [ "USE_ALSA" ] | 483 defines += [ "USE_ALSA" ] |
505 sources += [ | 484 sources += [ |
506 "midi/midi_manager_alsa.cc", | 485 "midi/midi_manager_alsa.cc", |
507 "midi/midi_manager_alsa.h", | 486 "midi/midi_manager_alsa.h", |
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1179 "base/android/java/src/org/chromium/media/ImageFormat.template", | 1158 "base/android/java/src/org/chromium/media/ImageFormat.template", |
1180 ] | 1159 ] |
1181 inputs = [ | 1160 inputs = [ |
1182 "video/capture/android/imageformat_list.h" | 1161 "video/capture/android/imageformat_list.h" |
1183 ] | 1162 ] |
1184 package_name = "org/chromium/media" | 1163 package_name = "org/chromium/media" |
1185 } | 1164 } |
1186 | 1165 |
1187 # TODO(dalecurtis): Finish media_unittests_apk and media_perftests_apk. | 1166 # TODO(dalecurtis): Finish media_unittests_apk and media_perftests_apk. |
1188 } | 1167 } |
OLD | NEW |