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

Side by Side Diff: mojo/public/dart/rules.gni

Issue 1294023004: Add dep on dart_snapshotter_bin label in dartx rule (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # This file has rules for making Dart packages and Dart-based Mojo applications. 5 # This file has rules for making Dart packages and Dart-based Mojo applications.
6 # 6 #
7 # Entrypoint rules are: 7 # Entrypoint rules are:
8 # - dart_pkg 8 # - dart_pkg
9 # - dartzip_package 9 # - dartzip_package
10 # - dartzip_packaged_application 10 # - dartzip_packaged_application
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 args = [ 43 args = [
44 rebase_path(dart_snapshotter), 44 rebase_path(dart_snapshotter),
45 rebase_path(main_dart), 45 rebase_path(main_dart),
46 "--package-root", 46 "--package-root",
47 rebase_path("$root_gen_dir/dart-pkg/packages"), 47 rebase_path("$root_gen_dir/dart-pkg/packages"),
48 "--snapshot", 48 "--snapshot",
49 rebase_path(snapshot), 49 rebase_path(snapshot),
50 ] 50 ]
51 51
52 deps = [] 52 deps = [
53 dart_snapshotter_bin,
jamesr 2015/08/17 21:05:25 If this variable isn't set, this will blow up at G
54 ]
53 if (defined(invoker.deps)) { 55 if (defined(invoker.deps)) {
54 deps += invoker.deps 56 deps += invoker.deps
55 } 57 }
56 } 58 }
57 59
58 action("gen_${bundle_prefix}_bundle") { 60 action("gen_${bundle_prefix}_bundle") {
59 sources = [ 61 sources = [
60 rebase_path("mojo/public/tools/dartx.py", ".", mojo_sdk_root), 62 rebase_path("mojo/public/tools/dartx.py", ".", mojo_sdk_root),
61 snapshot, 63 snapshot,
62 ] 64 ]
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 598
597 rebase_input = rebase_path(input, root_build_dir) 599 rebase_input = rebase_path(input, root_build_dir)
598 rebase_output = rebase_path(output, root_build_dir) 600 rebase_output = rebase_path(output, root_build_dir)
599 args = [ 601 args = [
600 "--input=$rebase_input", 602 "--input=$rebase_input",
601 "--output=$rebase_output", 603 "--output=$rebase_output",
602 "--line=$line", 604 "--line=$line",
603 ] 605 ]
604 } 606 }
605 } 607 }
OLDNEW
« no previous file with comments | « mojo/public/dart/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698