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/zip.gni") | 6 import("//build/config/zip.gni") |
7 import("//third_party/ijar/ijar.gni") | 7 import("//third_party/ijar/ijar.gni") |
8 | 8 |
9 assert(is_android) | 9 assert(is_android) |
10 | 10 |
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 input_jar = _output_jar_path | 523 input_jar = _output_jar_path |
524 output_jar = _output_ijar_path | 524 output_jar = _output_ijar_path |
525 deps = [ | 525 deps = [ |
526 ":$_output_jar_target", | 526 ":$_output_jar_target", |
527 ] | 527 ] |
528 } | 528 } |
529 | 529 |
530 group(target_name) { | 530 group(target_name) { |
531 forward_variables_from(invoker, [ "visibility" ]) | 531 forward_variables_from(invoker, [ "visibility" ]) |
532 public_deps = [ | 532 public_deps = [ |
| 533 ":$_output_jar_target", |
533 ":${target_name}__ijar", | 534 ":${target_name}__ijar", |
534 ":$_output_jar_target", | |
535 ] | 535 ] |
536 } | 536 } |
537 } | 537 } |
538 | 538 |
539 # Creates an unsigned .apk. | 539 # Creates an unsigned .apk. |
540 # | 540 # |
541 # Variables | 541 # Variables |
542 # assets_build_config: Path to android_apk .build_config containing merged | 542 # assets_build_config: Path to android_apk .build_config containing merged |
543 # asset information. | 543 # asset information. |
544 # deps: Specifies the dependencies of this target. | 544 # deps: Specifies the dependencies of this target. |
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1783 ] | 1783 ] |
1784 args = [ | 1784 args = [ |
1785 "--depfile", | 1785 "--depfile", |
1786 rebase_path(depfile, root_build_dir), | 1786 rebase_path(depfile, root_build_dir), |
1787 "--script-output-path", | 1787 "--script-output-path", |
1788 rebase_path(generated_script, root_build_dir), | 1788 rebase_path(generated_script, root_build_dir), |
1789 ] | 1789 ] |
1790 args += test_runner_args | 1790 args += test_runner_args |
1791 } | 1791 } |
1792 } | 1792 } |
OLD | NEW |