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 Raula committed Jun 9, 2015
1 parent 1a7f19e commit d668f2c
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 @@ -562,6 +562,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 @@ -1188,6 +1191,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 @@ -2129,6 +2133,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 d668f2c

Please sign in to comment.