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

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

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « mojo/public/dart/src/types.dart ('k') | mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698