| Index: build/android/gyp/jar_toc.py
|
| diff --git a/build/android/gyp/jar_toc.py b/build/android/gyp/jar_toc.py
|
| index 0c7a849794a4220695b4c72e3b1a70a009bcda3a..e78cb4098c096b1b5cadb2e208ef05d219f1b20c 100755
|
| --- a/build/android/gyp/jar_toc.py
|
| +++ b/build/android/gyp/jar_toc.py
|
| @@ -18,6 +18,7 @@ rebuild, will have a corresponding change in the TOC file.
|
| """
|
|
|
| import optparse
|
| +import os
|
| import re
|
| import sys
|
| import zipfile
|
| @@ -86,8 +87,9 @@ def DoJarToc(options):
|
| lambda: UpdateToc(jar_path, toc_path),
|
| record_path=record_path,
|
| input_paths=[jar_path],
|
| + force=not os.path.exists(toc_path),
|
| )
|
| - build_utils.Touch(toc_path)
|
| + build_utils.Touch(toc_path, fail_if_missing=True)
|
|
|
|
|
| def main():
|
|
|