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

Issue 1477333003: Generate response files in out/gypfiles when using xcode-ninja generator. (Closed)

Created:
5 years ago by sdefresne
Modified:
5 years ago
Reviewers:
Mark Mentovai
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

Generate response files out of the source tree with xcode & xcode-ninja. Configure generator_filelist_paths used by main gyp input parse to build path of "<|()" expansions file names when using "xcode" and "xcode-ninja" generators to be out of the source tree. The "xcode" generator will put the files in "xcodebuild/gypfiles" while the "xcode-ninja" generator will use the same algorithm to generate the file names as "ninja" generator (but using "gypfiles-xcode-ninja" as last component of the path). BUG=chromium:562135 R=mark@chromium.org Committed: https://chromium.googlesource.com/external/gyp/+/f4d65e35719cfe02257ece126c109cfc053ca35c

Patch Set 1 #

Patch Set 2 : Fix "xcode" generator too and update description #

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

Messages

Total messages: 10 (3 generated)
sdefresne
Please take a look.
5 years ago (2015-11-27 18:58:53 UTC) #2
Mark Mentovai
What happens if you’re not using xcode-ninja? The same thing as before, littering the source ...
5 years ago (2015-11-27 21:43:40 UTC) #3
sdefresne
Done, please take another look. With this patch, the .rsp files when generating gyp files ...
5 years ago (2015-11-30 14:05:58 UTC) #5
Mark Mentovai
https://codereview.chromium.org/1477333003/diff/20001/pylib/gyp/generator/xcode.py File pylib/gyp/generator/xcode.py (right): https://codereview.chromium.org/1477333003/diff/20001/pylib/gyp/generator/xcode.py#newcode592 pylib/gyp/generator/xcode.py:592: output_dir = os.path.normpath(os.path.join(toplevel, 'xcodebuild')) Can you not hardcode xcodebuild? ...
5 years ago (2015-11-30 14:22:53 UTC) #6
sdefresne
On 2015/11/30 at 14:22:53, mark wrote: > https://codereview.chromium.org/1477333003/diff/20001/pylib/gyp/generator/xcode.py > File pylib/gyp/generator/xcode.py (right): > > https://codereview.chromium.org/1477333003/diff/20001/pylib/gyp/generator/xcode.py#newcode592 ...
5 years ago (2015-11-30 14:48:01 UTC) #7
Mark Mentovai
I see. I agree, that’s pretty tricky. It’s probably not worthwhile for a fringe feature ...
5 years ago (2015-11-30 14:55:27 UTC) #8
sdefresne
5 years ago (2015-11-30 15:57:37 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
f4d65e35719cfe02257ece126c109cfc053ca35c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698