| 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/module_args/mojo.gni") | 5 import("//build/module_args/mojo.gni") |
| 6 import("../mojo.gni") | 6 import("../mojo.gni") |
| 7 | 7 |
| 8 if (mojo_use_prebuilt_mojo_shell) { | 8 if (mojo_use_prebuilt_mojo_shell) { |
| 9 copy("copy_mojo_shell") { | 9 copy("copy_mojo_shell") { |
| 10 filename = "mojo_shell" | 10 filename = "mojo_shell" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 } | 79 } |
| 80 } | 80 } |
| 81 outputs = [ | 81 outputs = [ |
| 82 "$root_out_dir/$filename", | 82 "$root_out_dir/$filename", |
| 83 ] | 83 ] |
| 84 } | 84 } |
| 85 } | 85 } |
| 86 | 86 |
| 87 # This rule can be seen as a sort of adapter. This takes a dart framework | 87 # This rule can be seen as a sort of adapter. This takes a dart framework |
| 88 # loaded from Google Storage and then puts it in a rule which the | 88 # loaded from Google Storage and then puts it in a rule which the |
| 89 # "dart_package" template in mojo/public/dart/rules.gni can introspect on, | 89 # "dartzip_package" template in mojo/public/dart/rules.gni can introspect on, |
| 90 # accessing the 'label' and 'target_out_dir' variables. | 90 # accessing the 'label' and 'target_out_dir' variables. |
| 91 if (mojo_use_dart_apptest_framework) { | 91 if (mojo_use_dart_apptest_framework) { |
| 92 copy("dart_apptest_framework") { | 92 copy("dart_apptest_framework") { |
| 93 sources = [ | 93 sources = [ |
| 94 "prebuilt/frameworks/apptest.dartzip", | 94 "prebuilt/frameworks/apptest.dartzip", |
| 95 ] | 95 ] |
| 96 outputs = [ | 96 outputs = [ |
| 97 "$target_out_dir/dart_apptest_framework.dartzip", | 97 "$target_out_dir/dart_apptest_framework.dartzip", |
| 98 ] | 98 ] |
| 99 } | 99 } |
| 100 } | 100 } |
| OLD | NEW |