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

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

Issue 1418653002: Synchronize GN build configuration with Chrome (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Review feedback addressed Created 5 years, 2 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/nacl/nonsfi/BUILD.gn ('k') | mojo/public/mojo_application.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 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 # The entrypoint is the dart_pkg rule. 6 # The entrypoint is the dart_pkg rule.
7 7
8 import("../mojo.gni") 8 import("../mojo.gni")
9 import("//build/module_args/mojo.gni") 9 import("//build/module_args/mojo.gni")
10 import("//build/module_args/dart.gni") 10 import("//build/module_args/dart.gni")
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "--output", 76 "--output",
77 rebase_path(bundle), 77 rebase_path(bundle),
78 ] 78 ]
79 79
80 deps = [ 80 deps = [
81 ":gen_${bundle_prefix}_snapshot", 81 ":gen_${bundle_prefix}_snapshot",
82 ] 82 ]
83 } 83 }
84 84
85 group(target_name) { 85 group(target_name) {
86 deps = [ 86 public_deps = [
87 ":gen_${bundle_prefix}_bundle", 87 ":gen_${bundle_prefix}_bundle",
88 ] 88 ]
89 } 89 }
90 } 90 }
91 91
92 template("dartx_application") { 92 template("dartx_application") {
93 dartx_name = "${target_name}_dartx" 93 dartx_name = "${target_name}_dartx"
94 94
95 dartx(dartx_name) { 95 dartx(dartx_name) {
96 main_dart = invoker.main_dart 96 main_dart = invoker.main_dart
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 group(target_name) { 444 group(target_name) {
445 deps = [] 445 deps = []
446 foreach(package_dir, packages) { 446 foreach(package_dir, packages) {
447 deps += [ ":$package_dir" ] 447 deps += [ ":$package_dir" ]
448 } 448 }
449 if (defined(invoker.deps)) { 449 if (defined(invoker.deps)) {
450 deps += invoker.deps 450 deps += invoker.deps
451 } 451 }
452 } 452 }
453 } 453 }
OLDNEW
« no previous file with comments | « mojo/nacl/nonsfi/BUILD.gn ('k') | mojo/public/mojo_application.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698