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

Issue 295123002: Provide script/gypi support for manifest generation (Closed)

Created:
6 years, 7 months ago by David Tseng
Modified:
6 years, 7 months ago
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
Visibility:
Public.

Description

Provide script/gypi support for manifest generation This provides a gypi action including well-defined variables, a python script, and a first client in ChromeVox (main and guest). This generation code was born out of necessity as ChromeVox evolves and requires a varying set of manifests depending on such factors as compression strategy, debug/release builds, Chrome webstore releases, and ChromeVox next (version). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272781

Patch Set 1 #

Patch Set 2 : Delete previous manifest. #

Patch Set 3 : Style #

Patch Set 4 : More style. #

Total comments: 17

Patch Set 5 : Address feedback. #

Patch Set 6 : Support Jinja2. #

Total comments: 25

Patch Set 7 : More feedback. #

Patch Set 8 : Loads. #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 6

Patch Set 11 : de-nitted. #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -99 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -7 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox.gyp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +20 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/manifest.json View 1 2 3 4 5 1 chunk +0 lines, -42 lines 0 comments Download
A + chrome/browser/resources/chromeos/chromevox/manifest.json.jinja2 View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/manifest_guest.json View 1 1 chunk +0 lines, -43 lines 0 comments Download
A chrome/browser/resources/chromeos/chromevox/tools/generate_manifest.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +55 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/common/file_util.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/common/file_util.cc View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
David Tseng
6 years, 7 months ago (2014-05-21 23:32:50 UTC) #1
Peter Lundblad
https://codereview.chromium.org/295123002/diff/60001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp File chrome/browser/resources/chromeos/chromevox/chromevox.gyp (right): https://codereview.chromium.org/295123002/diff/60001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp#newcode190 chrome/browser/resources/chromeos/chromevox/chromevox.gyp:190: 'override_manifest': 'manifest_guest_overrides.json', Shouldn't have build rules that generate files ...
6 years, 7 months ago (2014-05-22 00:28:24 UTC) #2
David Tseng
https://codereview.chromium.org/295123002/diff/60001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp File chrome/browser/resources/chromeos/chromevox/chromevox.gyp (right): https://codereview.chromium.org/295123002/diff/60001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp#newcode190 chrome/browser/resources/chromeos/chromevox/chromevox.gyp:190: 'override_manifest': 'manifest_guest_overrides.json', On 2014/05/22 00:28:25, Peter Lundblad wrote: > ...
6 years, 7 months ago (2014-05-22 02:42:04 UTC) #3
Peter Lundblad
dtseng@chromium.org writes: > > https://codereview.chromium.org/295123002/diff/60001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp > File chrome/browser/resources/chromeos/chromevox/chromevox.gyp (right): > > https://codereview.chromium.org/295123002/diff/60001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp#newcode190 > chrome/browser/resources/chromeos/chromevox/chromevox.gyp:190: > ...
6 years, 7 months ago (2014-05-22 16:25:11 UTC) #4
David Tseng
Addressed all other comments. Wrt packed vs unpacked, the packed resources action gets run after ...
6 years, 7 months ago (2014-05-22 18:26:01 UTC) #5
David Tseng
+ kalman for extensions related changes, + darin for grd (only removing things). @plundblad, went ...
6 years, 7 months ago (2014-05-23 03:41:07 UTC) #6
darin (slow to review)
LGTM for GRD changes (i'm a fan of jinja2 too!)
6 years, 7 months ago (2014-05-23 03:43:03 UTC) #7
Peter Lundblad
Nice! https://codereview.chromium.org/295123002/diff/90001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp File chrome/browser/resources/chromeos/chromevox/chromevox.gyp (right): https://codereview.chromium.org/295123002/diff/90001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp#newcode191 chrome/browser/resources/chromeos/chromevox/chromevox.gyp:191: 'output_manifest': '<(PRODUCT_DIR)/resources/chromeos/chromevox/manifest.json', Use chromevox_dest_dir here. https://codereview.chromium.org/295123002/diff/90001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp#newcode199 chrome/browser/resources/chromeos/chromevox/chromevox.gyp:199: 'template_manifest': ...
6 years, 7 months ago (2014-05-23 16:04:27 UTC) #8
not at google - send to devlin
extensions parts lgtm
6 years, 7 months ago (2014-05-23 16:58:44 UTC) #9
David Tseng
https://codereview.chromium.org/295123002/diff/90001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp File chrome/browser/resources/chromeos/chromevox/chromevox.gyp (right): https://codereview.chromium.org/295123002/diff/90001/chrome/browser/resources/chromeos/chromevox/chromevox.gyp#newcode191 chrome/browser/resources/chromeos/chromevox/chromevox.gyp:191: 'output_manifest': '<(PRODUCT_DIR)/resources/chromeos/chromevox/manifest.json', On 2014/05/23 16:04:27, Peter Lundblad wrote: > ...
6 years, 7 months ago (2014-05-23 19:16:36 UTC) #10
Peter Lundblad
dtseng@chromium.org writes: > > https://codereview.chromium.org/295123002/diff/90001/chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi#newcode5 > chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi:5: # > Generates an output manifest based on ...
6 years, 7 months ago (2014-05-23 22:29:22 UTC) #11
Peter Lundblad
lgtm Very cool! https://codereview.chromium.org/295123002/diff/150001/chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi File chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi (right): https://codereview.chromium.org/295123002/diff/150001/chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi#newcode7 chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi:7: # The following variables must be ...
6 years, 7 months ago (2014-05-23 22:37:18 UTC) #12
David Tseng
https://codereview.chromium.org/295123002/diff/150001/chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi File chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi (right): https://codereview.chromium.org/295123002/diff/150001/chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi#newcode7 chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi:7: # The following variables must be set before including ...
6 years, 7 months ago (2014-05-23 22:57:16 UTC) #13
David Tseng
The CQ bit was checked by dtseng@chromium.org
6 years, 7 months ago (2014-05-23 22:59:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtseng@chromium.org/295123002/170001
6 years, 7 months ago (2014-05-23 23:00:02 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-24 00:36:54 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-24 00:42:45 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/7246) chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/69625) ios_dbg_simulator ...
6 years, 7 months ago (2014-05-24 00:42:46 UTC) #18
David Tseng
The CQ bit was checked by dtseng@chromium.org
6 years, 7 months ago (2014-05-26 00:19:42 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtseng@chromium.org/295123002/190001
6 years, 7 months ago (2014-05-26 00:19:59 UTC) #20
commit-bot: I haz the power
6 years, 7 months ago (2014-05-26 04:11:56 UTC) #21
Message was sent while issue was closed.
Change committed as 272781

Powered by Google App Engine
This is Rietveld 408576698