Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport: refactor text-to-speech to 4-0-x #16437

Merged
merged 1 commit into from Jan 23, 2019

Conversation

adill
Copy link
Contributor

@adill adill commented Jan 17, 2019

Description of Change

Backport of #15024. Fixes TTS in Electron 4. Closes #16435.

/cc @brenca @nornagon

Checklist

Release Notes

Notes: Fixed speechSynthesis / text-to-speech.

@adill adill self-assigned this Jan 17, 2019
@adill adill requested review from nornagon, brenca and a team January 17, 2019 21:15
Copy link
Member

@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, revert changes from #14657 to fix the builds failures on macOS. It had been reverted in master for a while now, we need extensions support for some chrome code.

* chore: add tts patch and buildflag, makes tts work again

* chore: add tts patch and buildflag, makes tts work again

* fix: make things compile

* build: add relevant tts files for linux

* fix: update patch and patch description, should now compile on mac

* build: move chrome specific sources under chromium_src:chrome target

* build: enable_extensions again

We are depending on them, check `//electron/chromium_src:chrome` target
for more info.

* fix: update tts.patch to receive notifications about browser context destruction

* fix: extend browser process from chrome layer

The global state g_browser_process is shared between //chrome
and //electron.

* spec: add basic speech synthesis test

* spec: skip speech tests on ci

* build: fix compilation on windows
@adill
Copy link
Contributor Author

adill commented Jan 18, 2019

@deepak1556 I adjusted the patch to fix the build on mac. Looks good other than the usual flaky MAS tests.

@jkleinsc
Copy link
Contributor

Merging as MAS failure is known flake.

@jkleinsc jkleinsc merged commit f747a66 into electron:4-0-x Jan 23, 2019
@release-clerk
Copy link

release-clerk bot commented Jan 23, 2019

Release Notes Persisted

Fixed speechSynthesis / text-to-speech.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants