Commit 21dbd12a authored by agoode's avatar agoode Committed by Commit bot

Fix //media:media_unittests for gn

BUG=

Review URL: https://codereview.chromium.org/972473005

Cr-Commit-Position: refs/heads/master@{#319198}
parent d4e688f5
...@@ -304,7 +304,7 @@ if (is_linux) { ...@@ -304,7 +304,7 @@ if (is_linux) {
"//ipc/mojo:ipc_mojo_unittests", # PASSES 2/25/2015 "//ipc/mojo:ipc_mojo_unittests", # PASSES 2/25/2015
"//jingle:jingle_unittests", # PASSES 2/25/2015 "//jingle:jingle_unittests", # PASSES 2/25/2015
"//media/cast:cast_unittests", # PASSES 2/25/2015 "//media/cast:cast_unittests", # PASSES 2/25/2015
"//media:media_unittests", # TODO(GYP) MidiManagerTest fails. "//media:media_unittests", # PASSES 3/3/2015
"//mojo/common:mojo_common_unittests", # PASSES 2/25/2015 "//mojo/common:mojo_common_unittests", # PASSES 2/25/2015
"//net:net_unittests", # PASSES 2/25/2015 "//net:net_unittests", # PASSES 2/25/2015
"//ppapi:ppapi_unittests", # PASSES 2/26/2015 "//ppapi:ppapi_unittests", # PASSES 2/26/2015
......
...@@ -32,6 +32,9 @@ config("media_config") { ...@@ -32,6 +32,9 @@ config("media_config") {
if (use_cras) { if (use_cras) {
defines += [ "USE_CRAS" ] defines += [ "USE_CRAS" ]
} }
if (use_alsa) {
defines += [ "USE_ALSA" ]
}
} }
config("media_dependent_config") { config("media_dependent_config") {
...@@ -352,7 +355,6 @@ component("media") { ...@@ -352,7 +355,6 @@ component("media") {
if (use_alsa) { if (use_alsa) {
libs += [ "asound" ] libs += [ "asound" ]
defines += [ "USE_ALSA" ]
sources += [ sources += [
"midi/midi_manager_alsa.cc", "midi/midi_manager_alsa.cc",
"midi/midi_manager_alsa.h", "midi/midi_manager_alsa.h",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment