diff options
author | chrisha@chromium.org <chrisha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-15 18:28:48 +0000 |
---|---|---|
committer | chrisha@chromium.org <chrisha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-15 18:28:48 +0000 |
commit | fcee7866fc3f16d259f6e261e8dec8058ea30d15 (patch) | |
tree | 6c842cd15a8f4d62efad80c9d2ad3935ed540567 /build | |
parent | 6ba42459e5d1ad5d0978184fc4534be7e9798055 (diff) | |
download | chromium_src-fcee7866fc3f16d259f6e261e8dec8058ea30d15.zip chromium_src-fcee7866fc3f16d259f6e261e8dec8058ea30d15.tar.gz chromium_src-fcee7866fc3f16d259f6e261e8dec8058ea30d15.tar.bz2 |
Move Syzygy symbol files to 'exe' subdirectory as they were before.
The current script places the symbols in their own subdirectory, which breaks the expectations of the SyzyASAN build integration.
BUG=
TBR=sebmarchand@chromium.org
Review URL: https://codereview.chromium.org/334093002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277330 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/get_syzygy_binaries.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/get_syzygy_binaries.py b/build/get_syzygy_binaries.py index ac12902..b68964d 100755 --- a/build/get_syzygy_binaries.py +++ b/build/get_syzygy_binaries.py @@ -45,7 +45,7 @@ _MD5_RE = re.compile('^[a-f0-9]{32}$') _RESOURCES = [ ('benchmark.zip', 'benchmark', '', None), ('binaries.zip', 'binaries', 'exe', None), - ('symbols.zip', 'symbols', 'symbols', + ('symbols.zip', 'symbols', 'exe', lambda x: x.filename.endswith('.dll.pdb')), ('include.zip', 'include', 'include', None), ('lib.zip', 'library', 'lib', None)] @@ -164,6 +164,11 @@ def _GetCurrentState(revision, output_dir): # Return a valid but empty state. return ({'revision': '0', 'contents': {}}, False) actual = _BuildActualState(stored, revision, output_dir) + # If the script has been modified consider the state invalid. + path = os.path.join(output_dir, _STATE) + if os.path.getmtime(__file__) > os.path.getmtime(path): + return (stored, False) + # Otherwise, explicitly validate the state. if not _StatesAreConsistent(stored, actual): return (stored, False) return (stored, True) |