| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 | 7 |
| 8 package_root = "$root_gen_dir/dart-pkg/packages" | 8 package_root = "$root_gen_dir/dart-pkg/packages" |
| 9 | 9 |
| 10 template("sky_apk") { | 10 template("sky_apk") { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 120 |
| 121 deps = [ | 121 deps = [ |
| 122 "//base:base_java", | 122 "//base:base_java", |
| 123 "//sky/shell:assets", | 123 "//sky/shell:assets", |
| 124 "//sky/shell:java", | 124 "//sky/shell:java", |
| 125 "//sky/shell:sky_shell", | 125 "//sky/shell:sky_shell", |
| 126 ":assets", | 126 ":assets", |
| 127 ":gen_snapshot", | 127 ":gen_snapshot", |
| 128 ] | 128 ] |
| 129 | 129 |
| 130 if (defined(invoker.sky_yaml)) { | |
| 131 deps += [ ":gen_bundle" ] | |
| 132 } | |
| 133 | |
| 134 if (defined(invoker.deps)) { | 130 if (defined(invoker.deps)) { |
| 135 deps += invoker.deps | 131 deps += invoker.deps |
| 136 } | 132 } |
| 137 } | 133 } |
| 138 } | 134 } |
| OLD | NEW |