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

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

Issue 1913593002: Enable emma code coverage for JUnit testcases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed from root_out_dir to root_build_dir Created 4 years, 8 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/android/gyp/create_java_binary_script.py ('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/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
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
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 }
OLDNEW
« no previous file with comments | « build/android/gyp/create_java_binary_script.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698