blob: 0c873b467e77024840596af6dddb8894da5dace1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- media/audio/BUILD.gn.orig 2017-04-19 19:06:35 UTC
+++ media/audio/BUILD.gn
@@ -212,7 +212,7 @@ source_set("audio") {
deps += [ "//media/base/android:media_jni_headers" ]
}
- if (is_linux) {
+ if (is_linux || is_bsd) {
sources += [ "linux/audio_manager_linux.cc" ]
}
@@ -261,10 +261,12 @@ source_set("audio") {
configs += [ ":libpulse" ]
} else {
# TODO(ajwong): Technically, this dl should go in the action.
- libs += [ "dl" ]
deps += [ ":pulse_generate_stubs" ]
sources += get_target_outputs(":pulse_generate_stubs")
}
+ if (is_linux) {
+ libs += [ "dl" ]
+ }
}
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|