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

Unified Diff: services/dart/BUILD.gn

Issue 876023003: Dart: Changes to support building for Android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/BUILD.gn
diff --git a/services/dart/BUILD.gn b/services/dart/BUILD.gn
index 4ac795e674d12d88ef542add8970fbb6275a9e4c..fd2933582f2feb7b460d6e190d74aeab33bfa384 100644
--- a/services/dart/BUILD.gn
+++ b/services/dart/BUILD.gn
@@ -12,7 +12,7 @@ group("dart") {
action("generate_snapshot_bin") {
deps = [
- "//dart/runtime/bin:gen_snapshot",
+ "//dart/runtime/bin:gen_snapshot($host_toolchain)",
"//mojo/public/interfaces/application",
]
inputs = [
@@ -45,13 +45,15 @@ action("generate_snapshot_bin") {
output,
]
+ gen_snapshot_dir = get_label_info(
+ "//dart/runtime/bin:gen_snapshot($host_toolchain)", "root_out_dir")
script = "//dart/runtime/tools/create_snapshot_bin.py"
application_path = rebase_path("//mojo/public/dart/application.dart")
builtin_path = rebase_path("//mojo/dart/embedder/builtin.dart")
bindings_path = rebase_path("//mojo/public/dart/bindings.dart")
core_path = rebase_path("//mojo/public/dart/core.dart")
args = [
- "--executable", rebase_path("$root_out_dir/gen_snapshot"),
+ "--executable", rebase_path("$gen_snapshot_dir/gen_snapshot"),
"--package_root", rebase_path("$root_gen_dir"),
"--script", rebase_path("snapshot.dart"),
"--output_bin", rebase_path(output, root_build_dir),
« no previous file with comments | « services/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698