Add build flag to disable hotwording.
Hotwording downloads a shared module from the web store containing a NaCl module. There is a desire to build and distribute Chromium without this happening. This change adds an "enable_hotwording" build flag that is enabled by default, but can be disabled at compile time.
Review URL: https://codereview.chromium.org/1160243004
(cherry picked from commit f269d3b548203e217e8c0080c2e22e7ae3efb51e)
Resolved merge conflict: Remove the body of
IsHotwordAllowedDisabledFieldTrial and IsHotwordAllowedInvalidFieldTrial
when ENABLE_HOTWORDING is false. These tests were deleted before the
upstream patch landed.
(Merge approval on http://crbug.com/500922#c69)
Review URL: https://codereview.chromium.org/1218693004.
5 files changed