commit | 5d01a8cda53bfa23f1dcbe0c31c33aa30f50cf4c | [log] [tgz] |
---|---|---|
author | Brad Nelson <bradnelson@chromium.org> | Fri Sep 04 19:58:48 2015 |
committer | Brad Nelson <bradnelson@chromium.org> | Fri Sep 04 19:58:48 2015 |
tree | af8ad3094c73d1e90dbce0a3f936ee1a506a85be | |
parent | 2b17e0b26a93e8c9758c23aec6c554da4ca8f0a9 [diff] |
Revert "Make RelativePath use abspath rather than realpath for the 'path' variable." This reverts commit 121d89dfcd4f6ebe1c89524b3f9ca11ddd437e77. R=dpranke@chromium.org > Make RelativePath use abspath rather than realpath for the 'path' variable. > This allows gyp to work correctly in symlink-heavy environments. Basically, > this is because gyp paths need to be in a consistent tree, so we need to > compute a path to the target within the *stated* tree, even if it is not > the real underlying path to the target. The 'relative_path' variable does > need to be resolved using realpath, since gyp or the underlying build system > might cd to it before looking for the 'path' target. > > Also make Ninja's host configuration consult environment variables analogous > to those it previously had for the target configuration, and replace os.getenv > with os.environ.get for consistency. > > R=thakis@chromium.org BUG= Review URL: https://codereview.chromium.org/1315373003 .
GYP can Generate Your Projects.
Mailing list: http://groups.google.com/group/gyp-developer