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