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

Issue 7910002: Switch on use of precompiled headers for VS 2008. (Closed)

Created:
9 years, 3 months ago by Jói
Modified:
9 years, 3 months ago
Reviewers:
brettw, jeanluc1
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Switch on use of precompiled headers for VS 2008. The precompiled header brings in more definitions of abs() for the base/time_win.cc file, and a hint to the compiler was needed to let VS 2008 build the file correctly. On VS 2008 only, the mini_installer target did not link correctly with precompiled headers enabled so this change disables them for that project. BUG=none TEST=it builds (esp. on Windows), existing tests pass Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101474

Patch Set 1 #

Patch Set 2 : Clean up comments. #

Patch Set 3 : Clean up comments++ #

Total comments: 1

Patch Set 4 : Use hint unconditionally on all platforms. #

Patch Set 5 : Merge to head. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M base/time_win.cc View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M build/win_precompile.gypi View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/installer/mini_installer.gyp View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Jói
Jean-Luc: Main reviewer. Brett: For base/OWNERS.
9 years, 3 months ago (2011-09-15 13:36:09 UTC) #1
brettw
http://codereview.chromium.org/7910002/diff/1005/base/time_win.cc File base/time_win.cc (right): http://codereview.chromium.org/7910002/diff/1005/base/time_win.cc#newcode371 base/time_win.cc:371: return abs(static_cast<long>((UnreliableNow() - ReliableNow()) - skew_)); Is it possible ...
9 years, 3 months ago (2011-09-15 18:03:15 UTC) #2
jeanluc1
I like Brett's suggestion. No other comments.
9 years, 3 months ago (2011-09-15 19:51:09 UTC) #3
Jói
PTAL, I removed the special-casing. Some of the trybots are hugely backlogged (especially Mac) so ...
9 years, 3 months ago (2011-09-15 22:56:31 UTC) #4
jeanluc1
lgtm
9 years, 3 months ago (2011-09-15 23:01:16 UTC) #5
brettw
9 years, 3 months ago (2011-09-16 04:37:31 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698