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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 rebase_path(depfile, root_build_dir), | 672 rebase_path(depfile, root_build_dir), |
673 "--coverage-file", | 673 "--coverage-file", |
674 rebase_path(_coverage_file, root_build_dir), | 674 rebase_path(_coverage_file, root_build_dir), |
675 "--sources-list-file", | 675 "--sources-list-file", |
676 rebase_path(_source_dirs_listing_file, root_build_dir), | 676 rebase_path(_source_dirs_listing_file, root_build_dir), |
677 "--source-files=$_rebased_source_files", | 677 "--source-files=$_rebased_source_files", |
678 "--src-root", | 678 "--src-root", |
679 rebase_path("//", root_build_dir), | 679 rebase_path("//", root_build_dir), |
680 "--emma-jar", | 680 "--emma-jar", |
681 rebase_path(_emma_jar, root_build_dir), | 681 rebase_path(_emma_jar, root_build_dir), |
682 "--filter-string", | |
683 emma_filter, | |
684 ] | 682 ] |
| 683 |
| 684 if (emma_filter != "") { |
| 685 args += [ |
| 686 "--filter-string", |
| 687 emma_filter, |
| 688 ] |
| 689 } |
685 } | 690 } |
686 } else { | 691 } else { |
687 _output_jar_target = "${target_name}__copy_jar" | 692 _output_jar_target = "${target_name}__copy_jar" |
688 copy(_output_jar_target) { | 693 copy(_output_jar_target) { |
689 forward_variables_from(invoker, [ "deps" ]) | 694 forward_variables_from(invoker, [ "deps" ]) |
690 | 695 |
691 sources = [ | 696 sources = [ |
692 invoker.input_jar_path, | 697 invoker.input_jar_path, |
693 ] | 698 ] |
694 outputs = [ | 699 outputs = [ |
(...skipping 1515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2210 | 2215 |
2211 args = [ | 2216 args = [ |
2212 "--depfile", | 2217 "--depfile", |
2213 rebase_path(depfile, root_build_dir), | 2218 rebase_path(depfile, root_build_dir), |
2214 "--script-output-path", | 2219 "--script-output-path", |
2215 rebase_path(generated_script, root_build_dir), | 2220 rebase_path(generated_script, root_build_dir), |
2216 ] | 2221 ] |
2217 args += test_runner_args | 2222 args += test_runner_args |
2218 } | 2223 } |
2219 } | 2224 } |
OLD | NEW |