Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Add flag to diable hrtf in webaudio
Browse files Browse the repository at this point in the history
The code in blink project will use this flag to reduce the binary size.

This patch is backported from the crosswalk-lite branch.
  • Loading branch information
Lin Sun authored and Olli Syrjälä committed May 22, 2015
1 parent 6572cd3 commit 24a582e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@
# Enable FTP support by default.
'disable_ftp_support%': 0,

# Enable web audio hrtf by default.
'disable_webaudio_hrtf%': 0,

# Use native android functions in place of ICU. Not supported by most
# components.
'use_icu_alternatives_on_android%': 0,
Expand Down Expand Up @@ -1202,6 +1205,7 @@
'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
'disable_file_support%': '<(disable_file_support)',
'disable_ftp_support%': '<(disable_ftp_support)',
'disable_webaudio_hrtf%': '<(disable_webaudio_hrtf)',
'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)',
'enable_task_manager%': '<(enable_task_manager)',
'sas_dll_path%': '<(sas_dll_path)',
Expand Down Expand Up @@ -2140,6 +2144,9 @@
['use_concatenated_impulse_responses==1', {
'grit_defines': ['-D', 'use_concatenated_impulse_responses'],
}],
['disable_webaudio_hrtf==1', {
'grit_defines': ['-D', 'disable_webaudio_hrtf'],
}],
['enable_media_router==1', {
'grit_defines': ['-D', 'enable_media_router'],
}],
Expand Down

0 comments on commit 24a582e

Please sign in to comment.