| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 "--depfile", | 233 "--depfile", |
| 234 rebase_path(depfile, root_build_dir), | 234 rebase_path(depfile, root_build_dir), |
| 235 "--output", | 235 "--output", |
| 236 rebase_path(java_script, root_build_dir), | 236 rebase_path(java_script, root_build_dir), |
| 237 "--classpath=@FileArg($_rebased_build_config:java:full_classpath)", | 237 "--classpath=@FileArg($_rebased_build_config:java:full_classpath)", |
| 238 "--jar-path", | 238 "--jar-path", |
| 239 rebase_path(_jar_path, root_build_dir), | 239 rebase_path(_jar_path, root_build_dir), |
| 240 "--main-class", | 240 "--main-class", |
| 241 _main_class, | 241 _main_class, |
| 242 ] | 242 ] |
| 243 if (emma_coverage) { |
| 244 args += [ |
| 245 "--classpath", |
| 246 rebase_path( |
| 247 "//third_party/android_tools_internal/sdk/tools/lib/emma.jar", |
| 248 root_build_dir), |
| 249 ] |
| 250 args += [ "--noverify" ] |
| 251 } |
| 243 if (defined(invoker.wrapper_script_args)) { | 252 if (defined(invoker.wrapper_script_args)) { |
| 244 args += [ "--" ] + invoker.wrapper_script_args | 253 args += [ "--" ] + invoker.wrapper_script_args |
| 245 } | 254 } |
| 246 if (defined(invoker.bootclasspath)) { | 255 if (defined(invoker.bootclasspath)) { |
| 247 inputs += [ invoker.bootclasspath ] | 256 inputs += [ invoker.bootclasspath ] |
| 248 args += [ | 257 args += [ |
| 249 "--bootclasspath", | 258 "--bootclasspath", |
| 250 rebase_path(invoker.bootclasspath, root_build_dir), | 259 rebase_path(invoker.bootclasspath, root_build_dir), |
| 251 ] | 260 ] |
| 252 } | 261 } |
| (...skipping 1967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2220 | 2229 |
| 2221 args = [ | 2230 args = [ |
| 2222 "--depfile", | 2231 "--depfile", |
| 2223 rebase_path(depfile, root_build_dir), | 2232 rebase_path(depfile, root_build_dir), |
| 2224 "--script-output-path", | 2233 "--script-output-path", |
| 2225 rebase_path(generated_script, root_build_dir), | 2234 rebase_path(generated_script, root_build_dir), |
| 2226 ] | 2235 ] |
| 2227 args += test_runner_args | 2236 args += test_runner_args |
| 2228 } | 2237 } |
| 2229 } | 2238 } |
| OLD | NEW |