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

Issue 10407108: ninja windows: support precompiled headers (Closed)

Created:
8 years, 7 months ago by scottmg
Modified:
8 years, 6 months ago
Reviewers:
Nico
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

ninja windows: support precompiled headers Make existing msvs-only test for PCH be msvs+ninja. Adds various flags to cflags and build rule in similar manner to existing Mac GCH support. Minor modifications to xcode_emulation to share top-level code between Windows and Mac. R=thakis@chromium.org BUG=126314 Committed: https://code.google.com/p/gyp/source/detail?r=1397

Patch Set 1 #

Patch Set 2 : update docstrings #

Total comments: 8

Patch Set 3 : restore interface for mac make #

Patch Set 4 : no-op for linux, simplify? extension handling #

Total comments: 9

Patch Set 5 : fixes, no extra_vars, separate command for pch instead #

Patch Set 6 : no extra_vars #

Total comments: 1

Patch Set 7 : rebase #

Patch Set 8 : new tree #

Patch Set 9 : try from svn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -101 lines) Patch
M pylib/gyp/generator/make.py View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M pylib/gyp/generator/ninja.py View 1 2 3 4 5 6 7 8 5 chunks +43 lines, -15 lines 0 comments Download
M pylib/gyp/msvs_emulation.py View 1 2 3 4 5 6 7 8 3 chunks +79 lines, -2 lines 0 comments Download
M pylib/gyp/xcode_emulation.py View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
D test/msvs/precompiled/gyptest-all.py View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -23 lines 0 comments Download
D test/msvs/precompiled/hello.c View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -14 lines 0 comments Download
D test/msvs/precompiled/hello.gyp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -28 lines 0 comments Download
D test/msvs/precompiled/hello2.c View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -13 lines 0 comments Download
D test/msvs/precompiled/precomp.c View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -8 lines 0 comments Download
A test/win/precompiled/gyptest-all.py View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -0 lines 0 comments Download
A + test/win/precompiled/hello.c View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/win/precompiled/hello.gyp View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/win/precompiled/hello2.c View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/win/precompiled/precomp.c View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
scottmg
8 years, 7 months ago (2012-05-22 22:54:25 UTC) #1
Nico
I just skimmed, I stopped after the last comment. https://chromiumcodereview.appspot.com/10407108/diff/2001/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): https://chromiumcodereview.appspot.com/10407108/diff/2001/pylib/gyp/generator/ninja.py#newcode1309 pylib/gyp/generator/ninja.py:1309: ...
8 years, 7 months ago (2012-05-23 20:53:28 UTC) #2
scottmg
thanks https://chromiumcodereview.appspot.com/10407108/diff/2001/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): https://chromiumcodereview.appspot.com/10407108/diff/2001/pylib/gyp/generator/ninja.py#newcode1309 pylib/gyp/generator/ninja.py:1309: '$cflags_pch_c /c $in $outflag$out $pchobj /Fd$pdbname ' On ...
8 years, 7 months ago (2012-05-24 20:34:39 UTC) #3
Nico
lgtm! http://codereview.chromium.org/10407108/diff/13001/pylib/gyp/generator/make.py File pylib/gyp/generator/make.py (right): http://codereview.chromium.org/10407108/diff/13001/pylib/gyp/generator/make.py#newcode1245 pylib/gyp/generator/make.py:1245: for gch, lang_flag, lang, input, extra_vars in pch_commands: ...
8 years, 7 months ago (2012-05-25 22:35:38 UTC) #4
scottmg
http://codereview.chromium.org/10407108/diff/13001/pylib/gyp/generator/make.py File pylib/gyp/generator/make.py (right): http://codereview.chromium.org/10407108/diff/13001/pylib/gyp/generator/make.py#newcode1245 pylib/gyp/generator/make.py:1245: for gch, lang_flag, lang, input, extra_vars in pch_commands: On ...
8 years, 7 months ago (2012-05-26 02:27:10 UTC) #5
Nico
LGTM I think this is somewhat simpler. But if you like the other approach better, ...
8 years, 7 months ago (2012-05-26 18:16:15 UTC) #6
Nico
LGTM I think this is somewhat simpler. But if you like the other approach better, ...
8 years, 7 months ago (2012-05-26 18:16:15 UTC) #7
scottmg
8 years, 6 months ago (2012-05-28 18:26:39 UTC) #8
try from svn

Powered by Google App Engine
This is Rietveld 408576698