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/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 | 10 |
11 # Common configuration for targets in the media directory. | 11 # Common configuration for targets in the media directory. |
12 # NOT for exporting. | 12 # NOT for exporting. |
13 config("media_config") { | 13 config("media_config") { |
14 defines = [ "MEDIA_IMPLEMENTATION" ] | 14 defines = [ "MEDIA_IMPLEMENTATION" ] |
15 if (cpu_arch == "arm" && arm_use_neon) { | 15 if (cpu_arch == "arm" && arm_use_neon) { |
16 defines += [ "USE_NEON" ] | 16 defines += [ "USE_NEON" ] |
17 } | 17 } |
18 if (use_pulseaudio) { | 18 if (use_pulseaudio) { |
19 defines += [ "USE_PULSEAUDIO" ] | 19 defines += [ "USE_PULSEAUDIO" ] |
20 if (!linux_link_pulseaudio) { | 20 if (!link_pulseaudio) { |
21 defines += [ "DLOPEN_PULSEAUDIO" ] | 21 defines += [ "DLOPEN_PULSEAUDIO" ] |
22 } | 22 } |
23 } | 23 } |
24 if (use_cras) { | 24 if (use_cras) { |
25 defines += [ "USE_CRAS" ] | 25 defines += [ "USE_CRAS" ] |
26 } | 26 } |
27 } | 27 } |
28 | 28 |
29 config("media_dependent_config") { | 29 config("media_dependent_config") { |
30 if (!media_use_libvpx) { | 30 if (!media_use_libvpx) { |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 deps = [ | 753 deps = [ |
754 ":media", | 754 ":media", |
755 ":shared_memory_support", | 755 ":shared_memory_support", |
756 "//base", | 756 "//base", |
757 "//ui/gl", | 757 "//ui/gl", |
758 "//ui/gfx", | 758 "//ui/gfx", |
759 "//ui/gfx/geometry", | 759 "//ui/gfx/geometry", |
760 ] | 760 ] |
761 } | 761 } |
762 } | 762 } |
OLD | NEW |