Chromium Code Reviews
DescriptionMake running gn format unittests from anywhere work
This "works" but has two drawbacks:
- Relies on a 2-deep output directory which is true for gyp, but not
necessarily for gn (though I'm pretty sure other things are broken
for that case too).
- calls SetCurrentDirectory which is kind of icky. At first I tried setting
an absolute path for loading the .golden file which was OK, but then
it got messy to create the //gn path.
R=dpranke@chromium.org
BUG=443813
Committed: https://crrev.com/7f1ee75851d2a0f19ce8fe993cd7e9e1ccfebf4e
Cr-Commit-Position: refs/heads/master@{#309277}
Patch Set 1 #
Total comments: 3
Patch Set 2 : dir_source_root #Messages
Total messages: 11 (2 generated)
|