OLD | NEW |
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/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/config/zip.gni") | 7 import("//build/config/zip.gni") |
8 import("//third_party/ijar/ijar.gni") | 8 import("//third_party/ijar/ijar.gni") |
9 | 9 |
10 assert(is_android) | 10 assert(is_android) |
(...skipping 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1449 "--use-ijars", | 1449 "--use-ijars", |
1450 "--classpath=@FileArg($_rebased_build_config:javac:classpath)", | 1450 "--classpath=@FileArg($_rebased_build_config:javac:classpath)", |
1451 "--jar-path=$_rebased_jar_path", | 1451 "--jar-path=$_rebased_jar_path", |
1452 "--java-srcjars=$_rebased_java_srcjars", | 1452 "--java-srcjars=$_rebased_java_srcjars", |
1453 "--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)", | 1453 "--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)", |
1454 "--jar-excluded-classes=$_jar_excluded_patterns", | 1454 "--jar-excluded-classes=$_jar_excluded_patterns", |
1455 ] | 1455 ] |
1456 if (_enable_incremental_javac) { | 1456 if (_enable_incremental_javac) { |
1457 args += [ "--incremental" ] | 1457 args += [ "--incremental" ] |
1458 deps += [ "//third_party/jmake" ] | 1458 deps += [ "//third_party/jmake" ] |
| 1459 inputs += [ "$root_out_dir/bin/jmake" ] |
1459 outputs += [ "${_javac_jar_path}.pdb" ] | 1460 outputs += [ "${_javac_jar_path}.pdb" ] |
1460 } | 1461 } |
1461 if (_supports_android) { | 1462 if (_supports_android) { |
1462 if (defined(invoker.alternative_android_sdk_ijar)) { | 1463 if (defined(invoker.alternative_android_sdk_ijar)) { |
1463 deps += [ invoker.alternative_android_sdk_ijar_dep ] | 1464 deps += [ invoker.alternative_android_sdk_ijar_dep ] |
1464 _android_sdk_ijar = invoker.alternative_android_sdk_ijar | 1465 _android_sdk_ijar = invoker.alternative_android_sdk_ijar |
1465 } else { | 1466 } else { |
1466 deps += [ "//build/android:android_ijar" ] | 1467 deps += [ "//build/android:android_ijar" ] |
1467 _android_sdk_ijar = "$root_out_dir/lib.java/android.interface.jar" | 1468 _android_sdk_ijar = "$root_out_dir/lib.java/android.interface.jar" |
1468 } | 1469 } |
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2159 ] | 2160 ] |
2160 args = [ | 2161 args = [ |
2161 "--depfile", | 2162 "--depfile", |
2162 rebase_path(depfile, root_build_dir), | 2163 rebase_path(depfile, root_build_dir), |
2163 "--script-output-path", | 2164 "--script-output-path", |
2164 rebase_path(generated_script, root_build_dir), | 2165 rebase_path(generated_script, root_build_dir), |
2165 ] | 2166 ] |
2166 args += test_runner_args | 2167 args += test_runner_args |
2167 } | 2168 } |
2168 } | 2169 } |
OLD | NEW |