| 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 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1396 dex_path = _lib_dex_path | 1396 dex_path = _lib_dex_path |
| 1397 | 1397 |
| 1398 if (defined(invoker.deps)) { | 1398 if (defined(invoker.deps)) { |
| 1399 deps += invoker.deps | 1399 deps += invoker.deps |
| 1400 } | 1400 } |
| 1401 } | 1401 } |
| 1402 | 1402 |
| 1403 if (_dist_jar_path != "") { | 1403 if (_dist_jar_path != "") { |
| 1404 create_dist_target = "${_template_name}__create_dist_jar" | 1404 create_dist_target = "${_template_name}__create_dist_jar" |
| 1405 _final_deps += [ ":$create_dist_target" ] | 1405 _final_deps += [ ":$create_dist_target" ] |
| 1406 _incremental_final_deps += [ ":$create_dist_target" ] | |
| 1407 | 1406 |
| 1408 # TODO(cjhopman): This is only ever needed to calculate the list of tests to | 1407 # TODO(cjhopman): This is only ever needed to calculate the list of tests to |
| 1409 # run. See build/android/pylib/instrumentation/test_jar.py. We should be | 1408 # run. See build/android/pylib/instrumentation/test_jar.py. We should be |
| 1410 # able to just do that calculation at build time instead. | 1409 # able to just do that calculation at build time instead. |
| 1411 action(create_dist_target) { | 1410 action(create_dist_target) { |
| 1412 script = "//build/android/gyp/create_dist_jar.py" | 1411 script = "//build/android/gyp/create_dist_jar.py" |
| 1413 depfile = "$target_gen_dir/$target_name.d" | 1412 depfile = "$target_gen_dir/$target_name.d" |
| 1414 inputs = [ | 1413 inputs = [ |
| 1415 _build_config, | 1414 _build_config, |
| 1416 ] | 1415 ] |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2034 | 2033 |
| 2035 # TODO(GYP): implement this. | 2034 # TODO(GYP): implement this. |
| 2036 template("uiautomator_test") { | 2035 template("uiautomator_test") { |
| 2037 set_sources_assignment_filter([]) | 2036 set_sources_assignment_filter([]) |
| 2038 forward_variables_from(invoker, [ "testonly" ]) | 2037 forward_variables_from(invoker, [ "testonly" ]) |
| 2039 assert(target_name != "") | 2038 assert(target_name != "") |
| 2040 assert(invoker.deps != [] || true) | 2039 assert(invoker.deps != [] || true) |
| 2041 group(target_name) { | 2040 group(target_name) { |
| 2042 } | 2041 } |
| 2043 } | 2042 } |
| OLD | NEW |