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

Unified Diff: mojo/public/mojo_sdk.gni

Issue 1417523003: Move implementation of dart:mojo.internal to mojo/public/platform/dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/dart/embedder/mojo_natives.cc ('k') | mojo/public/platform/dart/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/mojo_sdk.gni
diff --git a/mojo/public/mojo_sdk.gni b/mojo/public/mojo_sdk.gni
index dbed84c36e15257e37d6c3a20289383a4829f7cc..161a229d288d37504c824e89b8f748f4e4a466a5 100644
--- a/mojo/public/mojo_sdk.gni
+++ b/mojo/public/mojo_sdk.gni
@@ -123,7 +123,9 @@ template("mojo_sdk_source_set") {
# the Mojo SDK should be on targets within the same file or on a
# whitelisted set of external dependencies.
dep_dir = get_path_info(dep, "dir")
- assert(dep_dir == "." || dep == "//testing/gtest")
+ assert(dep_dir == "." || dep == "//testing/gtest" ||
+ (dep == "//dart/runtime:libdart" &&
+ target_name == "mojo_internal_impl"))
}
deps += [ dep ]
}
« no previous file with comments | « mojo/dart/embedder/mojo_natives.cc ('k') | mojo/public/platform/dart/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698