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

Side by Side Diff: utils/application_snapshot.gni

Issue 2571713004: Fuchsia: Allows building the full SDK for host and target. (Closed)
Patch Set: Created 4 years 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 | « tools/patch_sdk.py ('k') | utils/compiler/BUILD.gn » ('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 (c) 2016, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 import("//build/compiled_action.gni") 5 import("../build/compiled_action.gni")
6 6
7 _dart_root = rebase_path("..") 7 _dart_root = rebase_path("..")
8 8
9 template("application_snapshot") { 9 template("application_snapshot") {
10 assert(defined(invoker.main_dart), "Must specify 'main_dart'") 10 assert(defined(invoker.main_dart), "Must specify 'main_dart'")
11 assert(defined(invoker.training_args), "Must specify 'training_args'") 11 assert(defined(invoker.training_args), "Must specify 'training_args'")
12 main_dart = invoker.main_dart 12 main_dart = invoker.main_dart
13 training_args = invoker.training_args 13 training_args = invoker.training_args
14 name = target_name 14 name = target_name
15 if (defined(invoker.name)) { 15 if (defined(invoker.name)) {
(...skipping 26 matching lines...) Expand all
42 main_file = rebase_path(main_dart) 42 main_file = rebase_path(main_dart)
43 43
44 args = [ 44 args = [
45 "--packages=$dot_packages", 45 "--packages=$dot_packages",
46 "--snapshot=$abs_output", 46 "--snapshot=$abs_output",
47 "--snapshot-kind=app-jit", 47 "--snapshot-kind=app-jit",
48 main_file, 48 main_file,
49 ] + training_args 49 ] + training_args
50 } 50 }
51 } 51 }
OLDNEW
« no previous file with comments | « tools/patch_sdk.py ('k') | utils/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698