Chromium Code Reviews| Index: build/android/gyp/javac.py |
| diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py |
| index 6c91424710039d58c70f0f821670b0c9e01cfcfc..c5a480328457bef66d8c65fdcebd40a5c4ab77b1 100755 |
| --- a/build/android/gyp/javac.py |
| +++ b/build/android/gyp/javac.py |
| @@ -324,7 +324,17 @@ def _ParseOptions(argv): |
| options.javac_includes = build_utils.ParseGypList(options.javac_includes) |
| options.jar_excluded_classes = ( |
| build_utils.ParseGypList(options.jar_excluded_classes)) |
| - return options, args |
| + |
| + |
| + java_files = [] |
| + for arg in args: |
| + if arg.startswith('@'): |
|
Peter Wen
2016/07/05 17:46:47
Mind adding some comments for this somewhere?
agrieve
2016/07/05 18:36:43
Done.
|
| + with open(arg[1:]) as f: |
| + java_files.extend(l.strip() for l in f) |
| + else: |
| + java_files.append(arg) |
| + |
| + return options, java_files |
| def main(argv): |