| 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 # "Completes" the implementation of //mojo/edk/platform (i.e., implements those | 7 # "Completes" the implementation of //mojo/edk/platform (i.e., implements those |
| 8 # things that //mojo/edk/platform declares but doesn't define), using //base. | 8 # things that //mojo/edk/platform declares but doesn't define), using //base. |
| 9 mojo_edk_source_set("base_edk") { | 9 mojo_edk_source_set("base_edk") { |
| 10 sources = [ | 10 sources = [ |
| 11 "io_thread.cc", | 11 "io_thread.cc", |
| 12 "platform_handle_watcher_impl.cc", | 12 "platform_handle_watcher_impl.cc", |
| 13 "platform_handle_watcher_impl.h", | 13 "platform_handle_watcher_impl.h", |
| 14 "platform_message_loop_for_io_impl.cc", | 14 "platform_message_loop_for_io_impl.cc", |
| 15 "platform_message_loop_for_io_impl.h", | 15 "platform_message_loop_for_io_impl.h", |
| 16 "platform_message_loop_impl.cc", | 16 "platform_message_loop_impl.cc", |
| 17 "platform_message_loop_impl.h", | 17 "platform_message_loop_impl.h", |
| 18 "platform_task_runner_impl.cc", | 18 "platform_task_runner_impl.cc", |
| 19 "platform_task_runner_impl.h", | 19 "platform_task_runner_impl.h", |
| 20 "thread_utils.cc", |
| 20 ] | 21 ] |
| 21 | 22 |
| 22 deps = [ | 23 deps = [ |
| 23 "//base", | 24 "//base", |
| 24 ] | 25 ] |
| 25 | 26 |
| 26 mojo_edk_public_deps = [ "mojo/edk/platform" ] | 27 mojo_edk_public_deps = [ "mojo/edk/platform" ] |
| 27 } | 28 } |
| 28 | 29 |
| 29 # "Completes" the implementation of //mojo/edk/platform:test_platform. | 30 # "Completes" the implementation of //mojo/edk/platform:test_platform. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 # Tests //mojo/edk/platform and //mojo/edk/platform:test_platform using the | 71 # Tests //mojo/edk/platform and //mojo/edk/platform:test_platform using the |
| 71 # implementation of :platform provided by :base_edk and :test_base_edk. | 72 # implementation of :platform provided by :base_edk and :test_base_edk. |
| 72 mojo_edk_unittests("mojo_edk_platform_unittests") { | 73 mojo_edk_unittests("mojo_edk_platform_unittests") { |
| 73 deps = [ | 74 deps = [ |
| 74 ":base_edk", | 75 ":base_edk", |
| 75 ":test_base_edk", | 76 ":test_base_edk", |
| 76 ] | 77 ] |
| 77 | 78 |
| 78 mojo_edk_deps = [ "mojo/edk/platform:unittests" ] | 79 mojo_edk_deps = [ "mojo/edk/platform:unittests" ] |
| 79 } | 80 } |
| OLD | NEW |