Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: build/android/gyp/javac.py

Issue 13473017: CheckCallDie: add option to suppress successful output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: :/ Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/android/gyp/jar.py ('k') | build/android/gyp/process_resources.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2013 The Chromium Authors. All rights reserved. 3 # Copyright 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 import fnmatch 7 import fnmatch
8 import optparse 8 import optparse
9 import os 9 import os
10 import sys 10 import sys
11 11
12 BUILD_ANDROID_DIR = os.path.join(os.path.dirname(__file__), '..') 12 from util import build_utils
13 sys.path.append(BUILD_ANDROID_DIR)
14 13
15 from pylib import build_utils
16 14
17 def DoJavac(options): 15 def DoJavac(options):
18 output_dir = options.output_dir 16 output_dir = options.output_dir
19 17
20 src_dirs = build_utils.ParseGypList(options.src_dirs) 18 src_dirs = build_utils.ParseGypList(options.src_dirs)
21 java_files = build_utils.FindInDirectories(src_dirs, '*.java') 19 java_files = build_utils.FindInDirectories(src_dirs, '*.java')
22 if options.javac_includes: 20 if options.javac_includes:
23 javac_includes = build_utils.ParseGypList(options.javac_includes) 21 javac_includes = build_utils.ParseGypList(options.javac_includes)
24 filtered_java_files = [] 22 filtered_java_files = []
25 for f in java_files: 23 for f in java_files:
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 DoJavac(options) 79 DoJavac(options)
82 80
83 if options.stamp: 81 if options.stamp:
84 build_utils.Touch(options.stamp) 82 build_utils.Touch(options.stamp)
85 83
86 84
87 if __name__ == '__main__': 85 if __name__ == '__main__':
88 sys.exit(main(sys.argv)) 86 sys.exit(main(sys.argv))
89 87
90 88
OLDNEW
« no previous file with comments | « build/android/gyp/jar.py ('k') | build/android/gyp/process_resources.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698