| 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("platform") { | 7 mojo_edk_source_set("platform") { |
| 8 sources = [ | 8 sources = [ |
| 9 "message_loop.h", | 9 "message_loop.h", |
| 10 "message_loop_for_io.h", | 10 "message_loop_for_io.h", |
| 11 "platform_handle.cc", |
| 12 "platform_handle.h", |
| 13 "scoped_platform_handle.h", |
| 11 "task_runner.h", | 14 "task_runner.h", |
| 12 ] | 15 ] |
| 13 | 16 |
| 14 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] | 17 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] |
| 15 | 18 |
| 16 mojo_edk_public_deps = [ "mojo/edk/util" ] | 19 mojo_edk_public_deps = [ "mojo/edk/util" ] |
| 17 | 20 |
| 18 # TODO(vtl): Remove this dependency. | 21 # TODO(vtl): Remove this dependency. |
| 19 deps = [ | 22 deps = [ |
| 20 "//base", | 23 "//base", |
| 21 ] | 24 ] |
| 22 } | 25 } |
| 23 | 26 |
| 24 mojo_edk_source_set("test_platform") { | 27 mojo_edk_source_set("test_platform") { |
| 25 testonly = true | 28 testonly = true |
| 26 sources = [ | 29 sources = [ |
| 27 "test_message_loops.h", | 30 "test_message_loops.h", |
| 28 ] | 31 ] |
| 29 | 32 |
| 30 mojo_edk_public_deps = [ "mojo/edk/util" ] | 33 mojo_edk_public_deps = [ "mojo/edk/util" ] |
| 31 | 34 |
| 32 public_deps = [ | 35 public_deps = [ |
| 33 ":platform", | 36 ":platform", |
| 34 ] | 37 ] |
| 35 } | 38 } |
| OLD | NEW |