summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorcrogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-24 01:29:20 +0000
committercrogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-24 01:29:20 +0000
commit48cb7828836301a42855109c822a79c8544614ea (patch)
tree610c43370828b8c3234b6e27974955cd69d21197 /build
parente0422e5e5b3b1098ab4f2fb54b7e680ba5fdc76d (diff)
downloadchromium_src-48cb7828836301a42855109c822a79c8544614ea.zip
chromium_src-48cb7828836301a42855109c822a79c8544614ea.tar.gz
chromium_src-48cb7828836301a42855109c822a79c8544614ea.tar.bz2
Conditionally add compile-time enable for the web audio API only on Mac OS X
This is effectively a pared-down version of the already reviewed: http://codereview.chromium.org/6308014/ BUG=none TEST=none (tested locally for Mac OS X which is the only platform this affects) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72308 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/features_override.gypi5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/features_override.gypi b/build/features_override.gypi
index c2430cf..ce5415a 100644
--- a/build/features_override.gypi
+++ b/build/features_override.gypi
@@ -80,6 +80,11 @@
],
'use_accelerated_compositing': 1,
}],
+ ['OS=="mac"', {
+ 'feature_defines': [
+ 'ENABLE_WEB_AUDIO=1',
+ ],
+ }],
],
# TODO: If the need arises, create a mechanism that will intelligently
# merge the lists rather than replace one with the other. This may