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

Unified Diff: mojo/dart/embedder/test/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 | « mojo/dart/embedder/mojo_natives.cc ('k') | services/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/embedder/test/BUILD.gn
diff --git a/mojo/dart/embedder/test/BUILD.gn b/mojo/dart/embedder/test/BUILD.gn
index 478935d7eaaa21e9a91203829f4c34982c194f75..0a510718b043860ca3bc6187a863554acad04433 100644
--- a/mojo/dart/embedder/test/BUILD.gn
+++ b/mojo/dart/embedder/test/BUILD.gn
@@ -7,7 +7,7 @@ import("//testing/test.gni")
action("generate_test_snapshot_bin") {
deps = [
- "//dart/runtime/bin:gen_snapshot",
+ "//dart/runtime/bin:gen_snapshot($host_toolchain)",
]
inputs = [
"test_snapshot.dart",
@@ -36,12 +36,14 @@ action("generate_test_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"
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("test_snapshot.dart"),
"--output_bin", rebase_path(output, root_build_dir),
« no previous file with comments | « mojo/dart/embedder/mojo_natives.cc ('k') | services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698