Remove hotword installation code at compile time if hotwording disabled.
commita38832be9fef269ae1f3a191a9b69432aaf680c4
authormgiuca <mgiuca@chromium.org>
Wed, 24 Jun 2015 01:25:14 +0000 (23 18:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 24 Jun 2015 01:26:08 +0000 (24 01:26 +0000)
tree2a1c67aef8dbabe35d8185204bed1cbf2da1ecf6
parentadd023f600e976a3dfc3936ee94f746ca86482e9
Remove hotword installation code at compile time if hotwording disabled.

If enable_hotwording is false, the code to download/install the hotword
shared module is compiled out.

(This should not change behaviour; it was already disabled at run-time,
this just removes the installation code from the build.)

BUG=491435

Review URL: https://codereview.chromium.org/1201163002

Cr-Commit-Position: refs/heads/master@{#335843}
chrome/browser/extensions/external_component_loader.cc