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

Unified Diff: mojo/edk/base_edk/BUILD.gn

Issue 1469193002: EDK: Add a mojo::platform::MessageLoop abstraction. (Closed) Base URL: https://github.com/domokit/mojo.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 | « mojo/edk/BUILD.gn ('k') | mojo/edk/base_edk/platform_message_loop_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/base_edk/BUILD.gn
diff --git a/mojo/edk/base_edk/BUILD.gn b/mojo/edk/base_edk/BUILD.gn
index 94e341ded6f985b90eaa079d1bd0c11a365e263a..8885473b471102fb96ffb5b78a0d9c5224af0d95 100644
--- a/mojo/edk/base_edk/BUILD.gn
+++ b/mojo/edk/base_edk/BUILD.gn
@@ -6,6 +6,8 @@ import("../mojo_edk.gni")
mojo_edk_source_set("base_edk") {
sources = [
+ "platform_message_loop_impl.cc",
+ "platform_message_loop_impl.h",
"platform_task_runner_impl.cc",
"platform_task_runner_impl.h",
]
@@ -16,3 +18,38 @@ mojo_edk_source_set("base_edk") {
mojo_edk_public_deps = [ "mojo/edk/platform" ]
}
+
+mojo_edk_source_set("test_base_edk") {
+ testonly = true
+
+ sources = [
+ "test_message_loop.cc",
+ ]
+
+ deps = [
+ ":base_edk",
+ ]
+
+ mojo_edk_public_deps = [
+ "mojo/edk/platform",
+ "mojo/edk/platform:test_platform",
+ ]
+}
+
+mojo_edk_unittests("mojo_edk_base_edk_unittests") {
+ sources = [
+ "platform_message_loop_impl_unittest.cc",
+ ]
+
+ deps = [
+ ":base_edk",
+ ":test_base_edk",
+ "//base",
+ "//testing/gtest",
+ ]
+
+ mojo_edk_deps = [
+ "mojo/edk/platform",
+ "mojo/edk/util",
+ ]
+}
« no previous file with comments | « mojo/edk/BUILD.gn ('k') | mojo/edk/base_edk/platform_message_loop_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698