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

Issue 23253003: ninja/win: Set /O2 compiler flag by default if no 'Optimization' specified (Closed)

Created:
7 years, 4 months ago by Rafał Chłodnicki
Modified:
7 years, 4 months ago
Reviewers:
scottmg
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

ninja/win: Set /O2 compiler flag by default if no 'Optimization' specified Follows behavior when using MSVS generators. If target ends up with no 'Optimization' option specified, MSVS generator will not add <Optimization> element in the <ClCompile> parent. Visual Studio will still set /O2 compile flag though. Tested only in VS2012 Express. BUG=https://code.google.com/p/gyp/issues/detail?id=361 R=scottmg@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1697

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M pylib/gyp/msvs_emulation.py View 1 1 chunk +1 line, -1 line 0 comments Download
M test/win/gyptest-cl-optimizations.py View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Rafał Chłodnicki
This is an attempt to fix linked bug. Unfortunately it did not get very much ...
7 years, 4 months ago (2013-08-19 21:00:20 UTC) #1
scottmg
On 2013/08/19 21:00:20, Rafał Chłodnicki wrote: > This is an attempt to fix linked bug. ...
7 years, 4 months ago (2013-08-19 21:03:26 UTC) #2
Rafał Chłodnicki
On 2013/08/19 21:03:26, scottmg wrote: > You should be able to run the tests via ...
7 years, 4 months ago (2013-08-19 21:13:20 UTC) #3
scottmg
On 2013/08/19 21:13:20, Rafał Chłodnicki wrote: > On 2013/08/19 21:03:26, scottmg wrote: > > You ...
7 years, 4 months ago (2013-08-19 21:18:53 UTC) #4
scottmg
lgtm, I will land it.
7 years, 4 months ago (2013-08-19 22:18:35 UTC) #5
scottmg
7 years, 4 months ago (2013-08-19 22:22:07 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r1697.

Powered by Google App Engine
This is Rietveld 408576698