sync-and-gyp: make smarter
authorhalcanary <halcanary@google.com>
Tue, 26 May 2015 15:01:19 +0000 (08:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 26 May 2015 15:01:19 +0000 (08:01 -0700)
commit43315bbe4b39073bb8a585cc806eb50a72224e5a
tree4b52efb86b706bd071602e494196cac0436be972
parent340cd84c9c054f4a1680113ddff3354efa925599
sync-and-gyp: make smarter

This fixes two issues: If gyp is run with the CXX and CC environment
variables set, it will produce different ninja build files.
sync-and-gyp now tracks the values of those variables; if they change,
re-run gyp.

Secondly, we introduced find.py, which is used inside gyp files.  If
the contents of certain directories changes, gyp should be re-run.  So
now we track those directories too.

Review URL: https://codereview.chromium.org/1153083002
bin/sync-and-gyp