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

Issue 8425002: Introduces chromium_resources.gyp to factor out Chrome resource generation (Closed)

Created:
9 years, 1 month ago by dhollowa
Modified:
9 years, 1 month ago
Reviewers:
Mark Mentovai, sky
CC:
chromium-reviews, jonathan.backer, Ian Vollick, tfarina, amit, robertshield, piman+watch_chromium.org
Visibility:
Public.

Description

Introduces chromium_resources.gyp to factor out Chrome resource generation 1. Factors out Chrome/Chromium resource generation into a separate chrome_resources.gyp file. 2. Eliminates repetition between Mac and other platforms. 3. Breaks long "repack" actions out into separate files for greater readability. 4. Eliminates circular dependencies in the Aura shell, the Views components, and the compositor when utilizing Chrome resources. BUG=none TEST=try bots run gyps and build correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107967 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108466 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108517

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address boilerplate and indent. #

Patch Set 3 : Remove empty condition. #

Patch Set 4 : Using shared output. Fixes xcode build. #

Patch Set 5 : Reintroduce copy of resources for ui and browser tests. #

Patch Set 6 : Manual rebase with r108079. #

Patch Set 7 : Rebase #

Patch Set 8 : Fix linux psuedo_locales output dir. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+637 lines, -704 lines) Patch
M chrome/chrome.gyp View 8 chunks +9 lines, -436 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 4 5 5 chunks +14 lines, -147 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_installer_util.gypi View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/chrome_repack_chrome.gypi View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/chrome_repack_locales.gypi View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/chrome_repack_pseudo_locales.gypi View 1 2 3 4 5 6 7 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/chrome_repack_resources.gypi View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/chrome_repack_theme_resources_large.gypi View 1 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/chrome_resources.gyp View 1 2 3 1 chunk +367 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 19 chunks +41 lines, -42 lines 0 comments Download
M chrome/nacl.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome_frame/chrome_frame.gyp View 2 chunks +5 lines, -5 lines 0 comments Download
M ui/aura/aura.gyp View 2 chunks +1 line, -5 lines 0 comments Download
M ui/aura_shell/aura_shell.gyp View 1 2 3 4 5 4 chunks +2 lines, -14 lines 0 comments Download
M ui/gfx/compositor/compositor.gyp View 1 2 3 4 5 2 chunks +1 line, -5 lines 0 comments Download
M views/views.gyp View 1 2 3 4 5 11 chunks +8 lines, -29 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
dhollowa
Mark, this work is motivated by the presence of circular dependencies I hit with the ...
9 years, 1 month ago (2011-10-31 02:25:10 UTC) #1
Mark Mentovai
GYP LG otherwise. http://codereview.chromium.org/8425002/diff/1/chrome/chrome_repack_theme_resources_large.gypi File chrome/chrome_repack_theme_resources_large.gypi (right): http://codereview.chromium.org/8425002/diff/1/chrome/chrome_repack_theme_resources_large.gypi#newcode1 chrome/chrome_repack_theme_resources_large.gypi:1: { Boilerplate?
9 years, 1 month ago (2011-10-31 12:51:01 UTC) #2
sky
LGTM http://codereview.chromium.org/8425002/diff/1/views/views.gyp File views/views.gyp (right): http://codereview.chromium.org/8425002/diff/1/views/views.gyp#newcode549 views/views.gyp:549: # TODO(jcivelli): ideally the resource needed by views ...
9 years, 1 month ago (2011-10-31 14:34:00 UTC) #3
dhollowa
http://codereview.chromium.org/8425002/diff/1/chrome/chrome_repack_theme_resources_large.gypi File chrome/chrome_repack_theme_resources_large.gypi (right): http://codereview.chromium.org/8425002/diff/1/chrome/chrome_repack_theme_resources_large.gypi#newcode1 chrome/chrome_repack_theme_resources_large.gypi:1: { On 2011/10/31 12:51:01, Mark Mentovai wrote: > Boilerplate? ...
9 years, 1 month ago (2011-10-31 14:41:15 UTC) #4
Mark Mentovai
LGTM
9 years, 1 month ago (2011-10-31 14:49:54 UTC) #5
dhollowa
On 2011/10/31 14:49:54, Mark Mentovai wrote: > LGTM Mark, patch set 4 resolves some differences ...
9 years, 1 month ago (2011-11-02 18:51:04 UTC) #6
Mark Mentovai
LGTM
9 years, 1 month ago (2011-11-03 14:52:15 UTC) #7
M-A Ruel
On 2011/11/03 14:52:15, Mark Mentovai wrote: > LGTM Try your patch next time.
9 years, 1 month ago (2011-11-03 16:24:12 UTC) #8
dhollowa
9 years, 1 month ago (2011-11-03 17:16:17 UTC) #9
In my defense, there are a couple things going on here.  1. The Mac trybots use
GYP_GENERATOR=make, but the waterfall uses GYP_GENERATOR=xcode.  So my first
all-green trybots didn't help me.  2. I'd run a couple clobber runs of the
trybots yesterday with the second round of changes but the Linux bots seemed to
be having trouble patching in a newish revision despite my specifying "-r
NEWISH" for the try run.  I got green on Mac and Win, and didn't think Linux was
going to be affected.

Anyway, I agree it is my responsibility to get things right.  But there has been
some "learnings" for me with this one...

Powered by Google App Engine
This is Rietveld 408576698