| 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("test") { | 7 mojo_edk_source_set("test") { |
| 8 testonly = true | 8 testonly = true |
| 9 | 9 |
| 10 sources = [ | 10 sources = [ |
| 11 "random.cc", | 11 "random.cc", |
| 12 "random.h", | 12 "random.h", |
| 13 "scoped_test_dir.cc", |
| 14 "scoped_test_dir.h", |
| 13 "simple_test_thread.cc", | 15 "simple_test_thread.cc", |
| 14 "simple_test_thread.h", | 16 "simple_test_thread.h", |
| 15 "sleep.cc", | 17 "sleep.cc", |
| 16 "sleep.h", | 18 "sleep.h", |
| 17 "stopwatch.cc", | 19 "stopwatch.cc", |
| 18 "stopwatch.h", | 20 "stopwatch.h", |
| 21 "test_io_thread.cc", |
| 22 "test_io_thread.h", |
| 19 "timeouts.cc", | 23 "timeouts.cc", |
| 20 "timeouts.h", | 24 "timeouts.h", |
| 21 ] | 25 ] |
| 22 | 26 |
| 23 mojo_sdk_public_deps = [ | 27 mojo_sdk_public_deps = [ |
| 24 "mojo/public/c/system", | 28 "mojo/public/c/system", |
| 25 "mojo/public/cpp/system", | 29 "mojo/public/cpp/system", |
| 26 ] | 30 ] |
| 27 | 31 |
| 28 deps = [ | 32 deps = [ |
| 29 "//base", | 33 "//base", |
| 30 "//base/test:test_support", | 34 "//base/test:test_support", |
| 31 ] | 35 ] |
| 32 | 36 |
| 33 mojo_edk_deps = [ "mojo/edk/embedder:platform" ] | 37 mojo_edk_deps = [ |
| 38 "mojo/edk/embedder:platform", |
| 39 "mojo/edk/util", |
| 40 ] |
| 34 } | 41 } |
| 35 | 42 |
| 36 mojo_edk_source_set("unittests") { | 43 mojo_edk_source_set("unittests") { |
| 37 testonly = true | 44 testonly = true |
| 38 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ] | 45 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ] |
| 39 | 46 |
| 40 sources = [ | 47 sources = [ |
| 41 "random_unittest.cc", | 48 "random_unittest.cc", |
| 42 ] | 49 ] |
| 43 | 50 |
| 44 deps = [ | 51 deps = [ |
| 45 ":test", | 52 ":test", |
| 46 "//testing/gtest", | 53 "//testing/gtest", |
| 47 ] | 54 ] |
| 48 } | 55 } |
| OLD | NEW |