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

Issue 7464040: Integrate syzygy (optionally) into the chrome build process. (Closed)

Created:
9 years, 5 months ago by Roger McFarlane (Google)
Modified:
9 years, 4 months ago
CC:
chromium-reviews, mmenke
Visibility:
Public.

Description

Integrate syzygy (optionally) into the chrome build process. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95620

Patch Set 1 : Initial review. #

Total comments: 4

Patch Set 2 : fixed dependencies #

Total comments: 4

Patch Set 3 : Address nits. #

Total comments: 2

Patch Set 4 : always use intermediate chome_dll target on windows and pull syzygy from public repo #

Total comments: 14

Patch Set 5 : fix a typo and use built-in 'copies' target action #

Patch Set 6 : renamed syzygy.gpyi to chrome_dll_syzygy.gypi and pinned syzygy release revision #

Patch Set 7 : build correctly when fastbuild=1 is defined in the GYP environment #

Patch Set 8 : don't turn on /PROFILE when fastbuild==1 #

Patch Set 9 : gcl sync to latest for an additional try-server invocation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -6 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 4 5 6 7 8 2 chunks +30 lines, -3 lines 0 comments Download
A chrome/chrome_dll_syzygy.gypi View 1 2 3 4 5 6 1 chunk +76 lines, -0 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Roger McFarlane (Google)
PTAL
9 years, 5 months ago (2011-07-26 20:14:16 UTC) #1
chrisha
lgtm http://codereview.chromium.org/7464040/diff/2001/chrome/chrome_dll.gypi File chrome/chrome_dll.gypi (right): http://codereview.chromium.org/7464040/diff/2001/chrome/chrome_dll.gypi#newcode139 chrome/chrome_dll.gypi:139: 'Profile': 'true', Wasn't this already addressed somewhere else? ...
9 years, 5 months ago (2011-07-26 23:47:24 UTC) #2
Sigurður Ásgeirsson
http://codereview.chromium.org/7464040/diff/2001/chrome/chrome_dll.gypi File chrome/chrome_dll.gypi (right): http://codereview.chromium.org/7464040/diff/2001/chrome/chrome_dll.gypi#newcode137 chrome/chrome_dll.gypi:137: # This corresponse to the /PROFILE flag which ensures ...
9 years, 5 months ago (2011-07-27 11:21:55 UTC) #3
Sigurður Ásgeirsson
The profile flag is already enabled for all official builds, see http://src.chromium.org/viewvc/chrome/trunk/src/build/internal/release_impl_official.gypi?revision=87607&view=markup. There's no harm ...
9 years, 5 months ago (2011-07-27 11:28:32 UTC) #4
Roger McFarlane (Google)
PTAL. Fixed build dependency by turning (on optimize_with_syzygy==1) the original chrome_dll targert into an intermediate ...
9 years, 4 months ago (2011-08-02 13:13:17 UTC) #5
chrisha
lgtm http://codereview.chromium.org/7464040/diff/21001/chrome/chrome_exe.gypi File chrome/chrome_exe.gypi (right): http://codereview.chromium.org/7464040/diff/21001/chrome/chrome_exe.gypi#newcode422 chrome/chrome_exe.gypi:422: # original chrome_dll, so that the optimize step ...
9 years, 4 months ago (2011-08-02 13:31:43 UTC) #6
Roger McFarlane (Google)
Thanks. I think I need the blessing of the build gods. Jeff/Marc? http://codereview.chromium.org/7464040/diff/21001/chrome/chrome_exe.gypi File chrome/chrome_exe.gypi ...
9 years, 4 months ago (2011-08-02 15:03:44 UTC) #7
Roger McFarlane (Google)
or course, that should have read: Jeff / Marc-Antoine? Sorry for butchering your name Marc-Antoine.
9 years, 4 months ago (2011-08-02 15:05:22 UTC) #8
M-A Ruel
I'm on the fence here. While the conditional target name is clever, I think it ...
9 years, 4 months ago (2011-08-02 15:25:14 UTC) #9
Roger McFarlane (Google)
PTAL Updated so that (on Windows) it always has the 2-step process for generating the ...
9 years, 4 months ago (2011-08-03 16:22:28 UTC) #10
Roger McFarlane (Google)
http://codereview.chromium.org/7464040/diff/28004/DEPS File DEPS (right): http://codereview.chromium.org/7464040/diff/28004/DEPS#newcode317 DEPS:317: "https://sawbuck.googlecode.com/svn/trunk/syzygy/binaries", On 2011/08/03 16:22:28, Roger McFarlane (Google) wrote: > ...
9 years, 4 months ago (2011-08-03 17:06:55 UTC) #11
chrisha
A couple of comments... http://codereview.chromium.org/7464040/diff/28004/chrome/chrome_dll.gypi File chrome/chrome_dll.gypi (right): http://codereview.chromium.org/7464040/diff/28004/chrome/chrome_dll.gypi#newcode151 chrome/chrome_dll.gypi:151: 'ProgramDatabaseFile': '$(OutDir)\\initial\\chrome_dll.pdb', Do you want ...
9 years, 4 months ago (2011-08-03 17:16:26 UTC) #12
M-A Ruel
http://codereview.chromium.org/7464040/diff/28004/DEPS File DEPS (right): http://codereview.chromium.org/7464040/diff/28004/DEPS#newcode317 DEPS:317: "https://sawbuck.googlecode.com/svn/trunk/syzygy/binaries", On 2011/08/03 17:06:55, Roger McFarlane (Google) wrote: > ...
9 years, 4 months ago (2011-08-03 17:32:59 UTC) #13
Roger McFarlane (Google)
http://codereview.chromium.org/7464040/diff/28004/chrome/chrome_dll.gypi File chrome/chrome_dll.gypi (right): http://codereview.chromium.org/7464040/diff/28004/chrome/chrome_dll.gypi#newcode151 chrome/chrome_dll.gypi:151: 'ProgramDatabaseFile': '$(OutDir)\\initial\\chrome_dll.pdb', On 2011/08/03 17:16:27, chrisha wrote: > Do ...
9 years, 4 months ago (2011-08-03 17:47:32 UTC) #14
Roger McFarlane (Google)
http://codereview.chromium.org/7464040/diff/28004/chrome/syzygy.gypi File chrome/syzygy.gypi (right): http://codereview.chromium.org/7464040/diff/28004/chrome/syzygy.gypi#newcode12 chrome/syzygy.gypi:12: 'target_name': 'chrome_dll', On 2011/08/03 17:32:59, Marc-Antoine Ruel wrote: > ...
9 years, 4 months ago (2011-08-03 17:56:35 UTC) #15
Sigurður Ásgeirsson
On Wed, Aug 3, 2011 at 1:56 PM, <rogerm@google.com> wrote: > > http://codereview.chromium.**org/7464040/diff/28004/chrome/**syzygy.gypi<http://codereview.chromium.org/7464040/diff/28004/chrome/syzygy.gypi> > File ...
9 years, 4 months ago (2011-08-03 17:59:11 UTC) #16
Roger McFarlane (Google)
So, what's the verdict? http://codereview.chromium.org/7464040/diff/28004/chrome/syzygy.gypi File chrome/syzygy.gypi (right): http://codereview.chromium.org/7464040/diff/28004/chrome/syzygy.gypi#newcode60 chrome/syzygy.gypi:60: 'action': ['copy', '<(input)', '<(output)'], On ...
9 years, 4 months ago (2011-08-03 18:22:15 UTC) #17
M-A Ruel
I don't follow your point of circular loop as a reason to keep this definition ...
9 years, 4 months ago (2011-08-03 18:37:14 UTC) #18
Roger McFarlane (Google)
On 2011/08/03 18:37:14, Marc-Antoine Ruel wrote: > I don't follow your point of circular loop ...
9 years, 4 months ago (2011-08-03 18:49:42 UTC) #19
Roger McFarlane (Google)
My understanding of your suggestion would be that the definition of the new chrome_dll target ...
9 years, 4 months ago (2011-08-03 18:53:06 UTC) #20
Roger McFarlane (Google)
synchronized with maruel@ via IM/VC.
9 years, 4 months ago (2011-08-03 19:09:09 UTC) #21
M-A Ruel
lgtm
9 years, 4 months ago (2011-08-03 20:06:09 UTC) #22
Roger McFarlane (Google)
Ok, hopefully the last iteration on this CL. Renamed the new gypi to chrome_dll_syzygy.gypi and ...
9 years, 4 months ago (2011-08-03 20:07:46 UTC) #23
Roger McFarlane (Google)
So, it seems that the windows try servers suppress the generation of PDB files; the ...
9 years, 4 months ago (2011-08-04 00:11:22 UTC) #24
Roger McFarlane (Google)
committed.
9 years, 4 months ago (2011-08-05 14:24:19 UTC) #25
commit-bot: I haz the power
Change committed as 95620
9 years, 4 months ago (2011-08-05 16:16:25 UTC) #26
jam
This now makes building 'chrome' not build chrome_dll, which seems like a regression. i.e. now ...
9 years, 4 months ago (2011-08-08 19:25:55 UTC) #27
Roger McFarlane (Google)
9 years, 4 months ago (2011-08-08 19:58:20 UTC) #28
I've gotten a couple of comments on the non-obviousness of the new flow.

See: http://codereview.chromium.org/7598008

Powered by Google App Engine
This is Rietveld 408576698