| 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 | 6 |
| 7 assert(is_android) | 7 assert(is_android) |
| 8 | 8 |
| 9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) | 9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) |
| 10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) | 10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) |
| (...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 } | 995 } |
| 996 | 996 |
| 997 outputs = [ | 997 outputs = [ |
| 998 depfile, | 998 depfile, |
| 999 _intermediate_jar_path, | 999 _intermediate_jar_path, |
| 1000 _intermediate_jar_path + ".md5.stamp", | 1000 _intermediate_jar_path + ".md5.stamp", |
| 1001 ] | 1001 ] |
| 1002 sources = _java_files + _java_srcjars | 1002 sources = _java_files + _java_srcjars |
| 1003 inputs = _system_jars + [ _build_config ] | 1003 inputs = _system_jars + [ _build_config ] |
| 1004 | 1004 |
| 1005 _rebased_android_sdk_jar = rebase_path(android_sdk_jar, root_build_dir) |
| 1005 _rebased_system_jars = rebase_path(_system_jars, root_build_dir) | 1006 _rebased_system_jars = rebase_path(_system_jars, root_build_dir) |
| 1006 _rebased_java_srcjars = rebase_path(_java_srcjars, root_build_dir) | 1007 _rebased_java_srcjars = rebase_path(_java_srcjars, root_build_dir) |
| 1007 _rebased_depfile = rebase_path(depfile, root_build_dir) | 1008 _rebased_depfile = rebase_path(depfile, root_build_dir) |
| 1008 args = [ | 1009 args = [ |
| 1009 "--depfile=$_rebased_depfile", | 1010 "--depfile=$_rebased_depfile", |
| 1011 "--bootclasspath=$_rebased_android_sdk_jar", |
| 1010 "--classpath=$_rebased_system_jars", | 1012 "--classpath=$_rebased_system_jars", |
| 1011 "--classpath=@FileArg($_rebased_build_config:javac:classpath)", | 1013 "--classpath=@FileArg($_rebased_build_config:javac:classpath)", |
| 1012 "--jar-path=$_rebased_jar_path", | 1014 "--jar-path=$_rebased_jar_path", |
| 1013 "--java-srcjars=$_rebased_java_srcjars", | 1015 "--java-srcjars=$_rebased_java_srcjars", |
| 1014 "--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)", | 1016 "--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)", |
| 1015 "--jar-excluded-classes=$_jar_excluded_patterns", | 1017 "--jar-excluded-classes=$_jar_excluded_patterns", |
| 1016 ] | 1018 ] |
| 1017 foreach(e, _manifest_entries) { | 1019 foreach(e, _manifest_entries) { |
| 1018 args += [ "--manifest-entry=" + e ] | 1020 args += [ "--manifest-entry=" + e ] |
| 1019 } | 1021 } |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1570 ] | 1572 ] |
| 1571 args = [ | 1573 args = [ |
| 1572 "--depfile", | 1574 "--depfile", |
| 1573 rebase_path(depfile, root_build_dir), | 1575 rebase_path(depfile, root_build_dir), |
| 1574 "--script-output-path", | 1576 "--script-output-path", |
| 1575 rebase_path(generated_script, root_build_dir), | 1577 rebase_path(generated_script, root_build_dir), |
| 1576 ] | 1578 ] |
| 1577 args += test_runner_args | 1579 args += test_runner_args |
| 1578 } | 1580 } |
| 1579 } | 1581 } |
| OLD | NEW |