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

Side by Side Diff: build/config/android/internal_rules.gni

Issue 1361733002: Make javac invocations incremental when possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@apkbuilder
Patch Set: add flag and disable by default Created 5 years, 2 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/config/android/config.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/zip.gni") 6 import("//build/config/zip.gni")
7 import("//third_party/ijar/ijar.gni") 7 import("//third_party/ijar/ijar.gni")
8 8
9 assert(is_android) 9 assert(is_android)
10 10
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 _rebased_depfile = rebase_path(depfile, root_build_dir) 1114 _rebased_depfile = rebase_path(depfile, root_build_dir)
1115 args = [ 1115 args = [
1116 "--depfile=$_rebased_depfile", 1116 "--depfile=$_rebased_depfile",
1117 "--use-ijars", 1117 "--use-ijars",
1118 "--classpath=@FileArg($_rebased_build_config:javac:classpath)", 1118 "--classpath=@FileArg($_rebased_build_config:javac:classpath)",
1119 "--jar-path=$_rebased_jar_path", 1119 "--jar-path=$_rebased_jar_path",
1120 "--java-srcjars=$_rebased_java_srcjars", 1120 "--java-srcjars=$_rebased_java_srcjars",
1121 "--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)", 1121 "--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)",
1122 "--jar-excluded-classes=$_jar_excluded_patterns", 1122 "--jar-excluded-classes=$_jar_excluded_patterns",
1123 ] 1123 ]
1124 if (incremental_javac) {
1125 args += [ "--incremental" ]
1126 }
1124 if (_supports_android) { 1127 if (_supports_android) {
1125 deps += [ "//build/android:android_ijar" ] 1128 deps += [ "//build/android:android_ijar" ]
1126 _android_sdk_ijar = "$root_out_dir/lib.java/android.interface.jar" 1129 _android_sdk_ijar = "$root_out_dir/lib.java/android.interface.jar"
1127 inputs += [ _android_sdk_ijar ] 1130 inputs += [ _android_sdk_ijar ]
1128 _rebased_android_sdk_ijar = rebase_path(_android_sdk_ijar, root_build_dir) 1131 _rebased_android_sdk_ijar = rebase_path(_android_sdk_ijar, root_build_dir)
1129 args += [ "--bootclasspath=$_rebased_android_sdk_ijar" ] 1132 args += [ "--bootclasspath=$_rebased_android_sdk_ijar" ]
1130 } 1133 }
1131 foreach(e, _manifest_entries) { 1134 foreach(e, _manifest_entries) {
1132 args += [ "--manifest-entry=" + e ] 1135 args += [ "--manifest-entry=" + e ]
1133 } 1136 }
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1648 ] 1651 ]
1649 args = [ 1652 args = [
1650 "--depfile", 1653 "--depfile",
1651 rebase_path(depfile, root_build_dir), 1654 rebase_path(depfile, root_build_dir),
1652 "--script-output-path", 1655 "--script-output-path",
1653 rebase_path(generated_script, root_build_dir), 1656 rebase_path(generated_script, root_build_dir),
1654 ] 1657 ]
1655 args += test_runner_args 1658 args += test_runner_args
1656 } 1659 }
1657 } 1660 }
OLDNEW
« no previous file with comments | « build/config/android/config.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698