| 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("util") { | 7 mojo_edk_source_set("util") { |
| 8 sources = [ | 8 sources = [ |
| 9 "make_unique.h", | 9 "make_unique.h", |
| 10 "ref_counted.h", |
| 11 "ref_counted_internal.h", |
| 12 "ref_ptr.h", |
| 13 "ref_ptr_internal.h", |
| 10 "scoped_file.h", | 14 "scoped_file.h", |
| 11 ] | 15 ] |
| 12 | 16 |
| 13 mojo_edk_configs = [ "mojo/edk/system:system_config" ] | 17 mojo_edk_configs = [ "mojo/edk/system:system_config" ] |
| 18 |
| 19 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] |
| 14 } | 20 } |
| 21 |
| 22 mojo_edk_source_set("unittests") { |
| 23 testonly = true |
| 24 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ] |
| 25 |
| 26 sources = [ |
| 27 "ref_counted_unittest.cc", |
| 28 ] |
| 29 |
| 30 mojo_sdk_deps = [ "mojo/public/cpp/system" ] |
| 31 |
| 32 deps = [ |
| 33 ":util", |
| 34 "//testing/gtest", |
| 35 ] |
| 36 } |
| 37 |
| 38 mojo_edk_source_set("perftests") { |
| 39 testonly = true |
| 40 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_perftests" ] |
| 41 |
| 42 sources = [ |
| 43 "ref_counted_perftest.cc", |
| 44 ] |
| 45 |
| 46 deps = [ |
| 47 ":util", |
| 48 "//testing/gtest", |
| 49 ] |
| 50 |
| 51 mojo_edk_deps = [ |
| 52 "mojo/edk/system/test", |
| 53 "mojo/edk/system/test:perf", |
| 54 ] |
| 55 } |
| OLD | NEW |