| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 sources = [ | 94 sources = [ |
| 95 "prebuilt/network_service_apptests/linux-x64/$filename", | 95 "prebuilt/network_service_apptests/linux-x64/$filename", |
| 96 ] | 96 ] |
| 97 } | 97 } |
| 98 } | 98 } |
| 99 outputs = [ | 99 outputs = [ |
| 100 "$root_out_dir/$filename", | 100 "$root_out_dir/$filename", |
| 101 ] | 101 ] |
| 102 } | 102 } |
| 103 } | 103 } |
| 104 | |
| 105 # This rule can be seen as a sort of adapter. This takes a dart framework | |
| 106 # loaded from Google Storage and then puts it in a rule which the | |
| 107 # "dartzip_package" template in mojo/public/dart/rules.gni can introspect on, | |
| 108 # accessing the 'label' and 'target_out_dir' variables. | |
| 109 if (mojo_use_dart_apptest_framework) { | |
| 110 copy("dart_apptest_framework") { | |
| 111 sources = [ | |
| 112 "prebuilt/frameworks/apptest.dartzip", | |
| 113 ] | |
| 114 outputs = [ | |
| 115 "$target_out_dir/dart_apptest_framework.dartzip", | |
| 116 ] | |
| 117 } | |
| 118 } | |
| OLD | NEW |