Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: mojo/public/tools/BUILD.gn

Issue 1311803002: Dart: Removes dartzip (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Readme fixes Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/public/dart/rules.gni ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « mojo/public/dart/rules.gni ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698