| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("../mojo_edk.gni") | 5 import("../mojo_edk.gni") |
| 6 | 6 |
| 7 mojo_edk_source_set("base_edk") { | 7 mojo_edk_source_set("base_edk") { |
| 8 sources = [ | 8 sources = [ |
| 9 "platform_message_loop_impl.cc", |
| 10 "platform_message_loop_impl.h", |
| 9 "platform_task_runner_impl.cc", | 11 "platform_task_runner_impl.cc", |
| 10 "platform_task_runner_impl.h", | 12 "platform_task_runner_impl.h", |
| 11 ] | 13 ] |
| 12 | 14 |
| 13 deps = [ | 15 deps = [ |
| 14 "//base", | 16 "//base", |
| 15 ] | 17 ] |
| 16 | 18 |
| 17 mojo_edk_public_deps = [ "mojo/edk/platform" ] | 19 mojo_edk_public_deps = [ "mojo/edk/platform" ] |
| 18 } | 20 } |
| 21 |
| 22 mojo_edk_source_set("test_base_edk") { |
| 23 testonly = true |
| 24 |
| 25 sources = [ |
| 26 "test_message_loop.cc", |
| 27 ] |
| 28 |
| 29 deps = [ |
| 30 ":base_edk", |
| 31 ] |
| 32 |
| 33 mojo_edk_public_deps = [ |
| 34 "mojo/edk/platform", |
| 35 "mojo/edk/platform:test_platform", |
| 36 ] |
| 37 } |
| 38 |
| 39 mojo_edk_unittests("mojo_edk_base_edk_unittests") { |
| 40 sources = [ |
| 41 "platform_message_loop_impl_unittest.cc", |
| 42 ] |
| 43 |
| 44 deps = [ |
| 45 ":base_edk", |
| 46 ":test_base_edk", |
| 47 "//base", |
| 48 "//testing/gtest", |
| 49 ] |
| 50 |
| 51 mojo_edk_deps = [ |
| 52 "mojo/edk/platform", |
| 53 "mojo/edk/util", |
| 54 ] |
| 55 } |
| OLD | NEW |