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

Issue 1004803005: Export generator flavor to gyp scripts (Closed)

Created:
5 years, 9 months ago by sdefresne
Modified:
5 years, 9 months ago
CC:
gyp-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/gyp.git@master
Target Ref:
refs/heads/master
Project:
gyp
Visibility:
Public.

Description

Export generator flavor to gyp scripts When using flavored generator ("xcode-ninja" or "msvs-ninja") then the GENERATOR variable only reflect the value of the project generator but not the build flavor. If gyp files do conditional on the generator using that variable, then they may do less than ideal choices due to partial knowledge of the build setup (see Chromium iOS build system that recursively invoke gyp when targetting Xcode due to cross-compilation). BUG=467575 R=justincohen@chromium.org, mark@chromium.org Committed: https://chromium.googlesource.com/external/gyp/+/d174d75bf69c682cb62af9187879e01513b35e52

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M pylib/gyp/__init__.py View 1 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
sdefresne
Can you take a look? What I'm trying to do is allow Chromium gyp file ...
5 years, 9 months ago (2015-03-16 15:04:07 UTC) #2
justincohen
LGTM with question. https://codereview.chromium.org/1004803005/diff/1/pylib/gyp/__init__.py File pylib/gyp/__init__.py (right): https://codereview.chromium.org/1004803005/diff/1/pylib/gyp/__init__.py#newcode65 pylib/gyp/__init__.py:65: flavor = params['flavor'] is it necessary ...
5 years, 9 months ago (2015-03-16 15:12:24 UTC) #3
sdefresne
https://codereview.chromium.org/1004803005/diff/1/pylib/gyp/__init__.py File pylib/gyp/__init__.py (right): https://codereview.chromium.org/1004803005/diff/1/pylib/gyp/__init__.py#newcode65 pylib/gyp/__init__.py:65: flavor = params['flavor'] On 2015/03/16 15:12:24, justincohen wrote: > ...
5 years, 9 months ago (2015-03-16 15:47:05 UTC) #4
sdefresne
https://codereview.chromium.org/1004803005/diff/1/pylib/gyp/__init__.py File pylib/gyp/__init__.py (right): https://codereview.chromium.org/1004803005/diff/1/pylib/gyp/__init__.py#newcode65 pylib/gyp/__init__.py:65: flavor = params['flavor'] On 2015/03/16 15:47:05, sdefresne wrote: > ...
5 years, 9 months ago (2015-03-16 15:49:00 UTC) #5
sdefresne
mark: could you review?
5 years, 9 months ago (2015-03-16 15:57:04 UTC) #7
Mark Mentovai
LGTM
5 years, 9 months ago (2015-03-16 16:06:37 UTC) #8
sdefresne
5 years, 9 months ago (2015-03-16 16:38:34 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
d174d75bf69c682cb62af9187879e01513b35e52 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698