Chromium Code Reviews| 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 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1573 _rebased_depfile = rebase_path(depfile, root_build_dir) | 1573 _rebased_depfile = rebase_path(depfile, root_build_dir) |
| 1574 args = [ | 1574 args = [ |
| 1575 "--depfile=$_rebased_depfile", | 1575 "--depfile=$_rebased_depfile", |
| 1576 "--classpath=@FileArg($_rebased_build_config:javac:interface_classpath)", | 1576 "--classpath=@FileArg($_rebased_build_config:javac:interface_classpath)", |
| 1577 "--jar-path=$_rebased_jar_path", | 1577 "--jar-path=$_rebased_jar_path", |
| 1578 "--java-srcjars=$_rebased_java_srcjars", | 1578 "--java-srcjars=$_rebased_java_srcjars", |
| 1579 "--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)", | 1579 "--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)", |
| 1580 ] | 1580 ] |
| 1581 if (_enable_incremental_javac) { | 1581 if (_enable_incremental_javac) { |
| 1582 args += [ "--incremental" ] | 1582 args += [ "--incremental" ] |
| 1583 deps += [ "//third_party/jmake" ] | 1583 deps += [ "//third_party/jmake($default_toolchain)" ] |
|
Dirk Pranke
2016/06/03 18:19:34
Are you sure this shouldn't be ($host_toolchain) ?
agrieve
2016/06/03 18:49:58
Toolchains & targets are a funny thing. Arguably w
| |
| 1584 inputs += [ "$root_out_dir/bin/jmake" ] | 1584 inputs += [ "$root_build_dir/bin/jmake" ] |
| 1585 outputs += [ "${_javac_jar_path}.pdb" ] | 1585 outputs += [ "${_javac_jar_path}.pdb" ] |
| 1586 } | 1586 } |
| 1587 if (_supports_android) { | 1587 if (_supports_android) { |
| 1588 if (defined(invoker.alternative_android_sdk_ijar)) { | 1588 if (defined(invoker.alternative_android_sdk_ijar)) { |
| 1589 deps += [ invoker.alternative_android_sdk_ijar_dep ] | 1589 deps += [ invoker.alternative_android_sdk_ijar_dep ] |
| 1590 _android_sdk_ijar = invoker.alternative_android_sdk_ijar | 1590 _android_sdk_ijar = invoker.alternative_android_sdk_ijar |
| 1591 } else { | 1591 } else { |
| 1592 deps += [ "//build/android:android_ijar" ] | 1592 deps += [ "//build/android:android_ijar" ] |
| 1593 _android_sdk_ijar = "$root_out_dir/lib.java/android.interface.jar" | 1593 _android_sdk_ijar = "$root_out_dir/lib.java/android.interface.jar" |
| 1594 } | 1594 } |
| (...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2323 | 2323 |
| 2324 args = [ | 2324 args = [ |
| 2325 "--depfile", | 2325 "--depfile", |
| 2326 rebase_path(depfile, root_build_dir), | 2326 rebase_path(depfile, root_build_dir), |
| 2327 "--script-output-path", | 2327 "--script-output-path", |
| 2328 rebase_path(generated_script, root_build_dir), | 2328 rebase_path(generated_script, root_build_dir), |
| 2329 ] | 2329 ] |
| 2330 args += test_runner_args | 2330 args += test_runner_args |
| 2331 } | 2331 } |
| 2332 } | 2332 } |
| OLD | NEW |