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

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

Issue 2336173003: Fix android depfiles to always list GN's outputs[0] (Closed)
Patch Set: fix cronet_package Created 4 years, 3 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
« no previous file with comments | « build/android/gyp/create_dist_jar.py ('k') | build/android/gyp/create_test_runner_script.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 2014 The Chromium Authors. All rights reserved. 3 # Copyright 2014 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 """Creates a simple script to run a java "binary". 7 """Creates a simple script to run a java "binary".
8 8
9 This creates a script that sets up the java command line for running a java 9 This creates a script that sets up the java command line for running a java
10 jar. This includes correctly setting the classpath and the main class. 10 jar. This includes correctly setting the classpath and the main class.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 classpath=('"%s"' % '", "'.join(classpath)), 103 classpath=('"%s"' % '", "'.join(classpath)),
104 bootclasspath=('"%s"' % '", "'.join(bootclasspath) 104 bootclasspath=('"%s"' % '", "'.join(bootclasspath)
105 if bootclasspath else ''), 105 if bootclasspath else ''),
106 main_class=options.main_class, 106 main_class=options.main_class,
107 extra_program_args=repr(extra_program_args), 107 extra_program_args=repr(extra_program_args),
108 noverify_flag=noverify_flag)) 108 noverify_flag=noverify_flag))
109 109
110 os.chmod(options.output, 0750) 110 os.chmod(options.output, 0750)
111 111
112 if options.depfile: 112 if options.depfile:
113 build_utils.WriteDepfile( 113 build_utils.WriteDepfile(options.depfile, options.output)
114 options.depfile,
115 build_utils.GetPythonDependencies())
116 114
117 115
118 if __name__ == '__main__': 116 if __name__ == '__main__':
119 sys.exit(main(sys.argv[1:])) 117 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « build/android/gyp/create_dist_jar.py ('k') | build/android/gyp/create_test_runner_script.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698