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

Issue 1211273003: Disable "Ok Google" hotwording in open source builds by default. (Closed)

Created:
5 years, 5 months ago by Matt Giuca
Modified:
5 years, 5 months ago
Reviewers:
Nico
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, rlp+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered, Anand Mistry (off Chromium), kcarattini
Base URL:
https://chromium.googlesource.com/chromium/src.git@hotword-clarify-labels
Target Ref:
refs/pending/branch-heads/2403
Project:
chromium
Visibility:
Public.

Description

Disable "Ok Google" hotwording in open source builds by default. The compile-time flag "enable_hotwording" is now tied to branding=Chrome (false by default unless making a Google Chrome build). Note: Chromium will no longer download/install the Hotword Shared Module, and will automatically remove the Hotword Shared Module on startup if it was previously installed. To keep this functionality, add "enable_hotwording=1" to GYP_DEFINES. BUG=500922 Review URL: https://codereview.chromium.org/1200413003 Cr-Commit-Position: refs/heads/master@{#335874} (cherry picked from commit 0366a5184a70b3eefb5fcef2c2e13721669f00d8) Fix up HotwordServiceTest on Chrome-branded builds. The ENABLE_HOTWORDING flag is not available in hotword_service_unittest.cc, so all tests were assuming hotwording was disabled (since r333548). This has been failing on Official builders since r335874. Since it's hard to resolve this in a simple way (we want to merge these changes), just disabling the tests is the cleanest option for now. BUG=503963 Review URL: https://codereview.chromium.org/1207163002 Cr-Commit-Position: refs/heads/master@{#336091} (cherry picked from commit 8ef0bc35b1594ad013dc2ae1d6893e0091919271) Resolved merge conflict: Disabled IsHotwordAllowedDisabledFieldTrial and IsHotwordAllowedInvalidFieldTrial. These tests were deleted before the upstream patch landed. (Merge approval on http://crbug.com/500922#c69) R=thakis@chromium.org TBR=thakis@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/86fb78f02492b2990307ed427c09670f2fff0d3b Committed: https://chromium.googlesource.com/chromium/src/+/528e8f0f7f7c639cdaab3bad6afbfc72b7a92633

Patch Set 1 #

Patch Set 2 : Rebase properly. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -20 lines) Patch
M build/common.gypi View 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/search/hotword_service_unittest.cc View 1 7 chunks +32 lines, -16 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Matt Giuca
5 years, 5 months ago (2015-06-29 01:55:09 UTC) #2
Nico
The CL description is pretty confusing. I guess this is a merge request, yet it ...
5 years, 5 months ago (2015-06-29 02:12:54 UTC) #3
Matt Giuca
Committed patchset #1 (id:1) manually as 86fb78f02492b2990307ed427c09670f2fff0d3b (presubmit successful).
5 years, 5 months ago (2015-06-29 02:43:58 UTC) #4
Matt Giuca
Sorry, landed before I saw this comment. > The CL description is pretty confusing. This ...
5 years, 5 months ago (2015-06-29 02:48:19 UTC) #5
falken
On 2015/06/29 02:48:19, Matt Giuca wrote: > Sorry, landed before I saw this comment. > ...
5 years, 5 months ago (2015-06-29 04:37:25 UTC) #6
Matt Giuca
Thanks for the heads up :( Looks like I goofed up a merge. Reverted: https://codereview.chromium.org/1218763002/
5 years, 5 months ago (2015-06-29 04:55:01 UTC) #7
Matt Giuca
5 years, 5 months ago (2015-06-29 05:06:06 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
528e8f0f7f7c639cdaab3bad6afbfc72b7a92633 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698