| 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",
|
| + ]
|
| +}
|
|
|