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

Issue 656813002: Support running ChromeVox in uncompressed mode and compress ChromeVox next by default. (Closed)

Created:
6 years, 2 months ago by Peter Lundblad
Modified:
6 years, 2 months ago
Reviewers:
David Tseng
CC:
chromium-reviews, oshima+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nkostylev+watch_chromium.org, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, stevenjb+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkcr
Project:
chromium
Visibility:
Public.

Description

Support running ChromeVox in uncompressed mode and compress ChromeVox next by default. By adding chromevox_compress_js=0 to your GYP_DEFINES, you can run ChromeVox directly from its sources. The source files are symlinked into the extension directory in the output directory. This is good for faster development and debugging, but ChromeVox itself becomes slow to load in this mode. This also changes ChromeVox next to follow the same flag, hence being compressed by default. When doing so, the classic background page and ChromeVox next's background page are compiled together instead of being loaded one after the other. This is necessary because they import the same modules and the ones from Chromevox next will overwrite the ones from classic after classic gets initialized. Some of the targets in chromevox.gyp are consolidated. The main reason is because many targets that copy or compress scripts need to have the whole picture to not copy over the same files more than once which is racy. BUG=421136 Committed: https://crrev.com/c7c386446db323e3b5df17c162a24d3bc5330fb7 Cr-Commit-Position: refs/heads/master@{#299876}

Patch Set 1 #

Patch Set 2 : Move copied_scripts into a condition. #

Total comments: 10

Patch Set 3 : Address nits. #

Messages

Total messages: 11 (2 generated)
Peter Lundblad
Caveat: if you want to try this and switch to uncompressed chromevox, remember to clear ...
6 years, 2 months ago (2014-10-14 14:48:05 UTC) #2
David Tseng
6 years, 2 months ago (2014-10-14 23:05:31 UTC) #3
David Tseng
Some comments below. https://codereview.chromium.org/656813002/diff/20001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp File chrome/browser/resources/chromeos/chromevox/chromevox.gyp (right): https://codereview.chromium.org/656813002/diff/20001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp#newcode15 chrome/browser/resources/chromeos/chromevox/chromevox.gyp:15: 'chromevox2_background_script_loader_file': 'cvox2/background/loader.js', nit: sort https://codereview.chromium.org/656813002/diff/20001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp#newcode55 chrome/browser/resources/chromeos/chromevox/chromevox.gyp:55: ...
6 years, 2 months ago (2014-10-14 23:10:11 UTC) #4
Peter Lundblad
dtseng@chromium.org writes: > Some comments below. > > > > https://codereview.chromium.org/656813002/diff/20001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp > File chrome/browser/resources/chromeos/chromevox/chromevox.gyp (right): ...
6 years, 2 months ago (2014-10-15 14:31:03 UTC) #5
David Tseng
LGTM On Wed, Oct 15, 2014 at 7:31 AM, <plundblad@chromium.org> wrote: > dtseng@chromium.org writes: > ...
6 years, 2 months ago (2014-10-15 15:25:15 UTC) #6
David Tseng
lgtm
6 years, 2 months ago (2014-10-15 15:45:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/656813002/40001
6 years, 2 months ago (2014-10-16 10:53:02 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-16 11:20:41 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 11:21:26 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c7c386446db323e3b5df17c162a24d3bc5330fb7
Cr-Commit-Position: refs/heads/master@{#299876}

Powered by Google App Engine
This is Rietveld 408576698