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("//base/android/linker/config.gni") | 5 import("//base/android/linker/config.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/android/internal_rules.gni") | 7 import("//build/config/android/internal_rules.gni") |
8 import("//build/toolchain/toolchain.gni") | 8 import("//build/toolchain/toolchain.gni") |
9 import("//third_party/android_platform/config.gni") | 9 import("//third_party/android_platform/config.gni") |
10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
(...skipping 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1597 ":${_manifest_rule}", | 1597 ":${_manifest_rule}", |
1598 ] | 1598 ] |
1599 } | 1599 } |
1600 } | 1600 } |
1601 | 1601 |
1602 _create_incremental_script_rule_name = "${_template_name}__incremental_script" | 1602 _create_incremental_script_rule_name = "${_template_name}__incremental_script" |
1603 _incremental_final_deps += [ ":${_create_incremental_script_rule_name}" ] | 1603 _incremental_final_deps += [ ":${_create_incremental_script_rule_name}" ] |
1604 action(_create_incremental_script_rule_name) { | 1604 action(_create_incremental_script_rule_name) { |
1605 script = "//build/android/incremental_install/create_install_script.py" | 1605 script = "//build/android/incremental_install/create_install_script.py" |
1606 depfile = "$target_gen_dir/$target_name.d" | 1606 depfile = "$target_gen_dir/$target_name.d" |
| 1607 deps = [ |
| 1608 ":$build_config_target", |
| 1609 ] |
1607 | 1610 |
1608 _generated_script_path = | 1611 _generated_script_path = |
1609 "${root_out_dir}/bin/install_incremental_${_template_name}" | 1612 "${root_out_dir}/bin/install_incremental_${_template_name}" |
1610 outputs = [ | 1613 outputs = [ |
1611 depfile, | 1614 depfile, |
1612 _generated_script_path, | 1615 _generated_script_path, |
1613 ] | 1616 ] |
1614 | 1617 |
1615 _rebased_apk_path_no_ext = | 1618 _rebased_apk_path_no_ext = |
1616 rebase_path(_final_apk_path_no_ext, root_build_dir) | 1619 rebase_path(_final_apk_path_no_ext, root_build_dir) |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2028 | 2031 |
2029 # TODO(GYP): implement this. | 2032 # TODO(GYP): implement this. |
2030 template("uiautomator_test") { | 2033 template("uiautomator_test") { |
2031 set_sources_assignment_filter([]) | 2034 set_sources_assignment_filter([]) |
2032 forward_variables_from(invoker, [ "testonly" ]) | 2035 forward_variables_from(invoker, [ "testonly" ]) |
2033 assert(target_name != "") | 2036 assert(target_name != "") |
2034 assert(invoker.deps != [] || true) | 2037 assert(invoker.deps != [] || true) |
2035 group(target_name) { | 2038 group(target_name) { |
2036 } | 2039 } |
2037 } | 2040 } |
OLD | NEW |