DescriptionMake the ninja generator handle symlinked paths correctly.
Re-spin of https://codereview.chromium.org/1236933002.
Previously, RelativePath() was changed to use abspath instead of realpath unconditionally. This broke the XCode generator in some cases. This re-spin simply allows the caller to optionally specify that they do not want symlinks to be followed, and this is only done in the ninja generator. This approach is not ideal since it is not obvious why this option is needed for ninja but not elsewhere; but it is a much lower-risk change than the previous attempt.
Patch from lindleyf@google.com.
BUG=
R=scottmg@chromium.org
Committed: https://chromium.googlesource.com/external/gyp/+/7904ce96fd012ded9627172540e91a51025e3c08
Patch Set 1 #Patch Set 2 : Added 'chdir=outdir' per Nico's suggestion on the last CL. #
Total comments: 6
Patch Set 3 : Added comments. #Patch Set 4 : Revert CPPFLAGS_host, they will be moved to a separate CL. #
Total comments: 2
Patch Set 5 : Removed unnecessary import. #
Messages
Total messages: 19 (2 generated)
|