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

Side by Side Diff: Source/build/features.gypi

Issue 604753003: Removing #ifdefs for WEB_AUDIO compile time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
OLDNEW
1 # 1 #
2 # Copyright (C) 2009 Google Inc. All rights reserved. 2 # Copyright (C) 2009 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 'blink_logging_always_on%': 0, 47 'blink_logging_always_on%': 0,
48 }, 48 },
49 'conditions': [ 49 'conditions': [
50 ['use_concatenated_impulse_responses==1', { 50 ['use_concatenated_impulse_responses==1', {
51 # Use concatenated HRTF impulse responses 51 # Use concatenated HRTF impulse responses
52 'feature_defines': ['WTF_USE_CONCATENATED_IMPULSE_RESPONSES=1'], 52 'feature_defines': ['WTF_USE_CONCATENATED_IMPULSE_RESPONSES=1'],
53 }], 53 }],
54 ['OS!="android"', { 54 ['OS!="android"', {
55 'feature_defines': [ 55 'feature_defines': [
56 'ENABLE_INPUT_MULTIPLE_FIELDS_UI=1', 56 'ENABLE_INPUT_MULTIPLE_FIELDS_UI=1',
57 'ENABLE_WEB_AUDIO=1'
58 ], 57 ],
59 }], 58 }],
60 # Mac OS X uses Accelerate.framework FFT by default instead of FFmpeg. 59 # Mac OS X uses Accelerate.framework FFT by default instead of FFmpeg.
61 ['OS!="mac" and OS!="android"', { 60 ['OS!="mac" and OS!="android"', {
62 'feature_defines': [ 61 'feature_defines': [
63 'WTF_USE_WEBAUDIO_FFMPEG=1', 62 'WTF_USE_WEBAUDIO_FFMPEG=1',
64 ], 63 ],
65 }], 64 }],
66 ['OS=="android" and use_openmax_dl_fft!=0', { 65 ['OS=="android" and use_openmax_dl_fft!=0', {
67 'feature_defines': [ 66 'feature_defines': [
68 'WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1', 67 'WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1',
69 # Enabling the FFT is enough to enable WebAudio support to 68 # Enabling the FFT is enough to enable WebAudio support to
70 # allow most WebAudio features to work on Android. 69 # allow most WebAudio features to work on Android.
71 'ENABLE_WEB_AUDIO=1',
Mike West 2014/09/25 13:40:04 Given the comments here, it's not at all clear tha
Raymond Toy 2014/09/25 17:43:18 The comments should probably be updated. I have p
72 ], 70 ],
73 }], 71 }],
74 # Mac OS X has not implemented support for ENABLE(OPENTYPE_VERTICAL) yet 72 # Mac OS X has not implemented support for ENABLE(OPENTYPE_VERTICAL) yet
75 ['OS!="mac"', { 73 ['OS!="mac"', {
76 'feature_defines': [ 74 'feature_defines': [
77 'ENABLE_OPENTYPE_VERTICAL=1', 75 'ENABLE_OPENTYPE_VERTICAL=1',
78 ], 76 ],
79 }], 77 }],
80 ['use_default_render_theme==1', { 78 ['use_default_render_theme==1', {
81 'feature_defines': [ 79 'feature_defines': [
(...skipping 18 matching lines...) Expand all
100 ], 98 ],
101 }], 99 }],
102 ['blink_logging_always_on==1', { 100 ['blink_logging_always_on==1', {
103 'feature_defines': [ 101 'feature_defines': [
104 'LOG_DISABLED=0', 102 'LOG_DISABLED=0',
105 ], 103 ],
106 }], 104 }],
107 ], 105 ],
108 }, 106 },
109 } 107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698