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

Side by Side Diff: media/BUILD.gn

Issue 609293004: Convert various media options into proper declare_args(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/audio/BUILD.gn » ('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/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
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 }
OLDNEW
« no previous file with comments | « no previous file | media/audio/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698