am 2aa142ff: Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.

* commit '2aa142ffb20337e60f81642bed1c11d24a3756b1':
  Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
This commit is contained in:
Elliott Hughes 2014-07-23 18:42:30 +00:00 committed by Android Git Automerger
commit e34ce3741f

View file

@ -144,7 +144,7 @@ for arg in args:
i = 0
while i < len(lines):
if "Copyright" in lines[i] and not "__COPYRIGHT" in lines[i]:
if "Copyright" in lines[i] and not "@(#) Copyright" in lines[i]:
i = ExtractCopyrightAt(lines, i)
i += 1