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

Unified Diff: third_party/mojo/src/mojo/public/mojo_sdk.gni

Issue 1406073004: Change mojo_public_bindings_unittests to use chromium environment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « third_party/mojo/src/mojo/public/cpp/bindings/tests/validation_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/src/mojo/public/mojo_sdk.gni
diff --git a/third_party/mojo/src/mojo/public/mojo_sdk.gni b/third_party/mojo/src/mojo/public/mojo_sdk.gni
index 3f604d32a7b583fe830e4bab7e90fe0bc1b6b3e6..598b5b4dabc0e14a916698e321a40e3878a5d15e 100644
--- a/third_party/mojo/src/mojo/public/mojo_sdk.gni
+++ b/third_party/mojo/src/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 == "//mojo/environment:chromium" ||
+ dep == "//mojo/message_pump")
}
deps += [ dep ]
}
« no previous file with comments | « third_party/mojo/src/mojo/public/cpp/bindings/tests/validation_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698