DescriptionFix for http://b.corp.google.com/issue?id=5019517 ('Linux make build (from out dir) no longer runs skia_gyp correctly'):
Works around gyp's finickyness about the directory from which it is run:
- changes CWD to the directory containing gyp_skia
- makes sure to pass a relative path (to skia.gyp) to the gyp innards, regardless of whether gyp_skia was launched using an absolute path
Confirmed that toplevel make builds still work on Mac and Linux. Both of the following work on Linux too:
cd .../trunk
make clean
make -j SampleApp
cd out
make -j SampleApp
touch ../gyp/SampleApp.gyp
make -j SampleApp
cd .../trunk
make clean
$PWD/gyp_skia
cd out
make -j SampleApp
touch ../gyp/SampleApp.gyp
make -j SampleApp
Patch Set 1 #
Total comments: 3
MessagesTotal messages: 7
|