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

Side by Side Diff: media/BUILD.gn

Issue 972473005: Fix //media:media_unittests for gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « BUILD.gn ('k') | no next file » | 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 14 matching lines...) Expand all
25 } 25 }
26 if (use_pulseaudio) { 26 if (use_pulseaudio) {
27 defines += [ "USE_PULSEAUDIO" ] 27 defines += [ "USE_PULSEAUDIO" ]
28 if (!link_pulseaudio) { 28 if (!link_pulseaudio) {
29 defines += [ "DLOPEN_PULSEAUDIO" ] 29 defines += [ "DLOPEN_PULSEAUDIO" ]
30 } 30 }
31 } 31 }
32 if (use_cras) { 32 if (use_cras) {
33 defines += [ "USE_CRAS" ] 33 defines += [ "USE_CRAS" ]
34 } 34 }
35 if (use_alsa) {
36 defines += [ "USE_ALSA" ]
37 }
35 } 38 }
36 39
37 config("media_dependent_config") { 40 config("media_dependent_config") {
38 defines = [] 41 defines = []
39 if (!media_use_libvpx) { 42 if (!media_use_libvpx) {
40 defines += [ "MEDIA_DISABLE_LIBVPX" ] 43 defines += [ "MEDIA_DISABLE_LIBVPX" ]
41 } 44 }
42 if (!media_use_ffmpeg) { 45 if (!media_use_ffmpeg) {
43 defines += [ "MEDIA_DISABLE_FFMPEG" ] 46 defines += [ "MEDIA_DISABLE_FFMPEG" ]
44 } 47 }
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 348
346 if (current_cpu != "arm" && is_chromeos) { 349 if (current_cpu != "arm" && is_chromeos) {
347 sources += [ 350 sources += [
348 "filters/h264_bitstream_buffer.cc", 351 "filters/h264_bitstream_buffer.cc",
349 "filters/h264_bitstream_buffer.h", 352 "filters/h264_bitstream_buffer.h",
350 ] 353 ]
351 } 354 }
352 355
353 if (use_alsa) { 356 if (use_alsa) {
354 libs += [ "asound" ] 357 libs += [ "asound" ]
355 defines += [ "USE_ALSA" ]
356 sources += [ 358 sources += [
357 "midi/midi_manager_alsa.cc", 359 "midi/midi_manager_alsa.cc",
358 "midi/midi_manager_alsa.h", 360 "midi/midi_manager_alsa.h",
359 ] 361 ]
360 } 362 }
361 363
362 # A simple WebM encoder for animated avatars on ChromeOS. 364 # A simple WebM encoder for animated avatars on ChromeOS.
363 365
364 if (use_ozone) { 366 if (use_ozone) {
365 # Used for the generated listing header (ui/ozone/platform_list.h) 367 # Used for the generated listing header (ui/ozone/platform_list.h)
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 deps = [ 798 deps = [
797 ":media", 799 ":media",
798 ":shared_memory_support", 800 ":shared_memory_support",
799 "//base", 801 "//base",
800 "//ui/gl", 802 "//ui/gl",
801 "//ui/gfx", 803 "//ui/gfx",
802 "//ui/gfx/geometry", 804 "//ui/gfx/geometry",
803 ] 805 ]
804 } 806 }
805 } 807 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698