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

Side by Side Diff: utils/dartanalyzer/BUILD.gn

Issue 2951133002: Mostly revert "[fuchsia] Prepare for setting the Dart target architecture appropriately in the host… (Closed)
Patch Set: gn format Created 3 years, 6 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 | « runtime/vm/BUILD.gn ('k') | utils/generate_patch_sdk.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 (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 import("../application_snapshot.gni") 6 import("../application_snapshot.gni")
7 7
8 group("dartanalyzer") { 8 group("dartanalyzer") {
9 deps = [ 9 deps = [
10 ":generate_dartanalyzer_snapshot", 10 ":generate_dartanalyzer_snapshot",
(...skipping 30 matching lines...) Expand all
41 "absolute", 41 "absolute",
42 rebase_path("../../sdk/lib"), 42 rebase_path("../../sdk/lib"),
43 ], 43 ],
44 "list lines") 44 "list lines")
45 45
46 template("generate_summary") { 46 template("generate_summary") {
47 assert(defined(invoker.type), "Must specify the summary type") 47 assert(defined(invoker.type), "Must specify the summary type")
48 type = invoker.type 48 type = invoker.type
49 assert(type == "spec" || type == "strong") 49 assert(type == "spec" || type == "strong")
50 compiled_action(target_name) { 50 compiled_action(target_name) {
51 # TODO(rmacnak): If Fuchsia adds a checked-in SDK, revert this to use 51 tool = "../../runtime/bin:dart"
52 # the 'dart' binary.
53 tool = "../../runtime/bin:dart_bootstrap_host_arch"
54 inputs = sdk_lib_files + analyzer_files 52 inputs = sdk_lib_files + analyzer_files
55 53
56 output = "$root_gen_dir/$type.sum" 54 output = "$root_gen_dir/$type.sum"
57 outputs = [ 55 outputs = [
58 output, 56 output,
59 ] 57 ]
60 58
61 dot_packages = rebase_path("../../.packages") 59 dot_packages = rebase_path("../../.packages")
62 build_sdk_summaries = 60 build_sdk_summaries =
63 rebase_path("../../pkg/analyzer/tool/summary/build_sdk_summaries.dart") 61 rebase_path("../../pkg/analyzer/tool/summary/build_sdk_summaries.dart")
64 62
65 args = [ 63 args = [
66 "--packages=$dot_packages", 64 "--packages=$dot_packages",
67 build_sdk_summaries, 65 build_sdk_summaries,
68 "build-$type", 66 "build-$type",
69 rebase_path(output), 67 rebase_path(output),
70 rebase_path("../../sdk"), 68 rebase_path("../../sdk"),
71 ] 69 ]
72 } 70 }
73 } 71 }
74 72
75 generate_summary("generate_summary_spec") { 73 generate_summary("generate_summary_spec") {
76 type = "spec" 74 type = "spec"
77 } 75 }
78 76
79 generate_summary("generate_summary_strong") { 77 generate_summary("generate_summary_strong") {
80 type = "strong" 78 type = "strong"
81 } 79 }
OLDNEW
« no previous file with comments | « runtime/vm/BUILD.gn ('k') | utils/generate_patch_sdk.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698