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

Issue 12638013: Add options for host/target OS/arch. (Closed)

Created:
7 years, 9 months ago by Torne
Modified:
5 years, 9 months ago
CC:
gyp-developer_googlegroups.com, Ryan Sleevi
Visibility:
Public.

Description

Add options for host/target OS/arch. Add options to gyp which store the host and target's OS/architecture, to be used by generators and also exposed to gyp files as default variables. They can be specified as command line options or in the environment; the host is detected by default, and the target defaults to the same as the host. This does not yet replace the existing "flavor" variable in gyp (exported as "OS" to gyp files); this will be done in a later CL as there are a number of usages that need to be correctly sorted into host-vs-target. BUG=gyp:325

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -0 lines) Patch
M pylib/gyp/__init__.py View 3 chunks +40 lines, -0 lines 2 comments Download
M pylib/gyp/common.py View 2 chunks +22 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
Torne
Hi Ryan, Sam, anyone else who is interested: This is the interface I have in ...
7 years, 9 months ago (2013-03-11 16:16:50 UTC) #1
Ryan Sleevi
I've removed myself from reviewers, you likely want Brad, as he was most involved in ...
7 years, 9 months ago (2013-03-11 21:23:07 UTC) #2
Torne
Abandoning this due to a lack of interest. The problems I was intending to solve ...
7 years, 8 months ago (2013-04-18 15:21:39 UTC) #3
bradn
This actually seems like an incremental improvement. I'm ok with this going in unless there ...
7 years, 5 months ago (2013-06-28 18:34:46 UTC) #4
bradn
We might want to add more arches. Also it might be worth putting this critical ...
7 years, 5 months ago (2013-06-28 18:37:01 UTC) #5
Nico
https://codereview.chromium.org/12638013/diff/1/pylib/gyp/__init__.py File pylib/gyp/__init__.py (right): https://codereview.chromium.org/12638013/diff/1/pylib/gyp/__init__.py#newcode75 pylib/gyp/__init__.py:75: default_variables['TARGET_ARCH'] = options.target_arch On Mac (and iOS), targets can ...
7 years, 5 months ago (2013-07-05 21:50:50 UTC) #6
Torne
On 2013/07/05 21:50:50, Nico wrote: > https://codereview.chromium.org/12638013/diff/1/pylib/gyp/__init__.py > File pylib/gyp/__init__.py (right): > > https://codereview.chromium.org/12638013/diff/1/pylib/gyp/__init__.py#newcode75 > ...
7 years, 5 months ago (2013-07-16 09:51:03 UTC) #7
Sam Clegg
On 2013/07/16 09:51:03, Torne wrote: > On 2013/07/05 21:50:50, Nico wrote: > > https://codereview.chromium.org/12638013/diff/1/pylib/gyp/__init__.py > ...
5 years, 9 months ago (2015-02-27 21:41:41 UTC) #8
Torne
5 years, 9 months ago (2015-02-28 09:36:33 UTC) #9
On 2015/02/27 21:41:41, Sam Clegg wrote:
> Are you still interested in landing this change or can we close this issue?

No, with the migration to gn in progress I don't think it's particularly
valuable to put a lot of work into gyp supporting odd cases of toolchain
combinations when we already know that none of the toolchain support in gyp is
really flexible enough for chromium's needs.

Powered by Google App Engine
This is Rietveld 408576698