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

Issue 115922: Add a generic way for generator info to get passed to input to affect process... (Closed)

Created:
11 years, 6 months ago by TVL
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add a generic way for generator info to get passed to input to affect processing, this allows the generator to have optional keys with data that can extend input processing. Split the path keys (for keeping things relative) into a base set and allow the generator to extend the list of keys. Split the non configuration keys (to leave settings on targets) into a base set and allow the generator to extend the list of keys. Add a flag for the generator to say if it handles variants or if input should deal with them, add a todo for the input handling. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=502

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 3

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -42 lines) Patch
M pylib/gyp/__init__.py View 1 1 chunk +14 lines, -1 line 0 comments Download
M pylib/gyp/generator/msvs.py View 1 chunk +5 lines, -0 lines 0 comments Download
M pylib/gyp/generator/scons.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M pylib/gyp/generator/xcode.py View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M pylib/gyp/input.py View 1 2 4 chunks +53 lines, -41 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
TVL
11 years, 6 months ago (2009-05-29 14:20:30 UTC) #1
Mark Mentovai
Mostly LG, couple of comments. http://codereview.chromium.org/115922/diff/1/5 File pylib/gyp/__init__.py (right): http://codereview.chromium.org/115922/diff/1/5#newcode159 Line 159: 'geneartor_handles_variants', False), 80 ...
11 years, 6 months ago (2009-05-29 14:31:16 UTC) #2
Mark Mentovai
11 years, 6 months ago (2009-05-29 14:54:59 UTC) #3
Add a hyphen to the comment in the msvs file too.  LGTM.

http://codereview.chromium.org/115922/diff/19/21
File pylib/gyp/generator/xcode.py (right):

http://codereview.chromium.org/115922/diff/19/21#newcode49
Line 49: # The xcode specific sections that hold paths
Xcode is spelled with a capital X (and a lowercase c).  Also on 55.  Also, put a
period at the end of this sentence (because you put one on the next comment.)

Xcode-specific ought to have a hyphen in it.

http://codereview.chromium.org/115922/diff/19/24
File pylib/gyp/input.py (right):

http://codereview.chromium.org/115922/diff/19/24#newcode45
Line 45: # with a list that can come from the generator to create
non_configuration_keys
Period at the end of your sentence.  (That'll bump you past 80, preemtpive
warning!)

http://codereview.chromium.org/115922/diff/19/24#newcode1510
Line 1510: # the generator specifc data.
generator hyphen specific.

Powered by Google App Engine
This is Rietveld 408576698