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

Side by Side Diff: media/BUILD.gn

Issue 968663004: Improve MidiManagerAlsa manufacturer reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@udev
Patch Set: Fix embarrassing mistake that broke driver and manufacturer Created 5 years, 9 months 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
« no previous file with comments | « no previous file | media/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 } 354 }
355 355
356 if (use_alsa) { 356 if (use_alsa) {
357 libs += [ "asound" ] 357 libs += [ "asound" ]
358 sources += [ 358 sources += [
359 "midi/midi_manager_alsa.cc", 359 "midi/midi_manager_alsa.cc",
360 "midi/midi_manager_alsa.h", 360 "midi/midi_manager_alsa.h",
361 ] 361 ]
362 } 362 }
363 363
364 if (use_udev) {
365 deps += [ "//device/udev_linux" ]
366 }
367
364 # A simple WebM encoder for animated avatars on ChromeOS. 368 # A simple WebM encoder for animated avatars on ChromeOS.
365 369
366 if (use_ozone) { 370 if (use_ozone) {
367 # Used for the generated listing header (ui/ozone/platform_list.h) 371 # Used for the generated listing header (ui/ozone/platform_list.h)
368 include_dirs += [ target_gen_dir ] 372 include_dirs += [ target_gen_dir ]
369 373
370 sources += [ 374 sources += [
371 "ozone/media_ozone_platform.cc", 375 "ozone/media_ozone_platform.cc",
372 "ozone/media_ozone_platform.h", 376 "ozone/media_ozone_platform.h",
373 ] + get_target_outputs(":generate_ozone_constructor_list") 377 ] + get_target_outputs(":generate_ozone_constructor_list")
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 deps += [ "//media/base/mac" ] 668 deps += [ "//media/base/mac" ]
665 } 669 }
666 670
667 if (is_mac) { 671 if (is_mac) {
668 sources += [ 672 sources += [
669 "midi/midi_manager_mac_unittest.cc", 673 "midi/midi_manager_mac_unittest.cc",
670 "video/capture/mac/video_capture_device_factory_mac_unittest.mm", 674 "video/capture/mac/video_capture_device_factory_mac_unittest.mm",
671 ] 675 ]
672 } 676 }
673 677
678 if (use_alsa) {
679 sources += [ "midi/midi_manager_alsa_unittest.cc" ]
680 }
681
674 # include_dirs += [ 682 # include_dirs += [
675 # # Needed by media_drm_bridge.cc. 683 # # Needed by media_drm_bridge.cc.
676 # target_gen_dir, 684 # target_gen_dir,
677 # ], 685 # ],
678 686
679 configs += [ ":media_config" ] 687 configs += [ ":media_config" ]
680 688
681 if (media_use_ffmpeg) { 689 if (media_use_ffmpeg) {
682 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit config. 690 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit config.
683 } 691 }
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 deps = [ 806 deps = [
799 ":media", 807 ":media",
800 ":shared_memory_support", 808 ":shared_memory_support",
801 "//base", 809 "//base",
802 "//ui/gl", 810 "//ui/gl",
803 "//ui/gfx", 811 "//ui/gfx",
804 "//ui/gfx/geometry", 812 "//ui/gfx/geometry",
805 ] 813 ]
806 } 814 }
807 } 815 }
OLDNEW
« no previous file with comments | « no previous file | media/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698