| 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/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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 ] | 361 ] |
| 362 } | 362 } |
| 363 | 363 |
| 364 if (current_cpu != "arm" && is_chromeos) { | 364 if (current_cpu != "arm" && is_chromeos) { |
| 365 sources += [ | 365 sources += [ |
| 366 "filters/h264_bitstream_buffer.cc", | 366 "filters/h264_bitstream_buffer.cc", |
| 367 "filters/h264_bitstream_buffer.h", | 367 "filters/h264_bitstream_buffer.h", |
| 368 ] | 368 ] |
| 369 } | 369 } |
| 370 | 370 |
| 371 if (use_alsa) { | 371 if (use_alsa && use_udev) { |
| 372 libs += [ "asound" ] | 372 libs += [ "asound" ] |
| 373 sources += [ | 373 sources += [ |
| 374 "midi/midi_manager_alsa.cc", | 374 "midi/midi_manager_alsa.cc", |
| 375 "midi/midi_manager_alsa.h", | 375 "midi/midi_manager_alsa.h", |
| 376 ] | 376 ] |
| 377 } | |
| 378 | |
| 379 if (use_udev) { | |
| 380 deps += [ "//device/udev_linux" ] | 377 deps += [ "//device/udev_linux" ] |
| 381 } | 378 } |
| 382 | 379 |
| 383 # A simple WebM encoder for animated avatars on ChromeOS. | 380 # A simple WebM encoder for animated avatars on ChromeOS. |
| 384 | 381 |
| 385 if (use_ozone) { | 382 if (use_ozone) { |
| 386 # Used for the generated listing header (ui/ozone/platform_list.h) | 383 # Used for the generated listing header (ui/ozone/platform_list.h) |
| 387 include_dirs += [ target_gen_dir ] | 384 include_dirs += [ target_gen_dir ] |
| 388 | 385 |
| 389 sources += [ | 386 sources += [ |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 sources += [ | 669 sources += [ |
| 673 "midi/midi_manager_mac_unittest.cc", | 670 "midi/midi_manager_mac_unittest.cc", |
| 674 "video/capture/mac/video_capture_device_factory_mac_unittest.mm", | 671 "video/capture/mac/video_capture_device_factory_mac_unittest.mm", |
| 675 ] | 672 ] |
| 676 libs = [ | 673 libs = [ |
| 677 # Required by midi_manager_mac_unittest.cc. | 674 # Required by midi_manager_mac_unittest.cc. |
| 678 "CoreMIDI.framework", | 675 "CoreMIDI.framework", |
| 679 ] | 676 ] |
| 680 } | 677 } |
| 681 | 678 |
| 682 if (use_alsa) { | 679 if (use_alsa && use_udev) { |
| 683 sources += [ "midi/midi_manager_alsa_unittest.cc" ] | 680 sources += [ "midi/midi_manager_alsa_unittest.cc" ] |
| 684 } | 681 } |
| 685 | 682 |
| 686 # include_dirs += [ | 683 # include_dirs += [ |
| 687 # # Needed by media_drm_bridge.cc. | 684 # # Needed by media_drm_bridge.cc. |
| 688 # target_gen_dir, | 685 # target_gen_dir, |
| 689 # ], | 686 # ], |
| 690 | 687 |
| 691 configs += [ ":media_config" ] | 688 configs += [ ":media_config" ] |
| 692 | 689 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 780 "//media/base:test_support", | 777 "//media/base:test_support", |
| 781 "//media/test:pipeline_integration_tests", | 778 "//media/test:pipeline_integration_tests", |
| 782 "//testing/gmock", | 779 "//testing/gmock", |
| 783 "//testing/gtest", | 780 "//testing/gtest", |
| 784 "//third_party/ffmpeg", | 781 "//third_party/ffmpeg", |
| 785 "//ui/gfx/geometry", | 782 "//ui/gfx/geometry", |
| 786 "//ui/gfx:test_support", | 783 "//ui/gfx:test_support", |
| 787 ] | 784 ] |
| 788 } | 785 } |
| 789 } | 786 } |
| OLD | NEW |