DescriptionSupport 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)
|