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 # Library of basic things not provided by the C/C++ standard libraries. (These | 7 # Library of basic things not provided by the C/C++ standard libraries. (These |
8 # are mostly platform independent. Note: This must not depend on | 8 # are mostly platform independent. Note: This must not depend on |
9 # //mojo/edk/platform. TODO(vtl): Maybe the things that aren't really platform | 9 # //mojo/edk/platform. TODO(vtl): Maybe the things that aren't really platform |
10 # independent should be moved to //mojo/edk/platform.) | 10 # independent should be moved to //mojo/edk/platform.) |
(...skipping 14 matching lines...) Expand all Loading... |
25 "ref_ptr_internal.h", | 25 "ref_ptr_internal.h", |
26 "scoped_file.h", | 26 "scoped_file.h", |
27 "string_number_conversions.cc", | 27 "string_number_conversions.cc", |
28 "string_number_conversions.h", | 28 "string_number_conversions.h", |
29 "string_printf.cc", | 29 "string_printf.cc", |
30 "string_printf.h", | 30 "string_printf.h", |
31 "thread_annotations.h", | 31 "thread_annotations.h", |
32 "thread_checker.h", | 32 "thread_checker.h", |
33 "waitable_event.cc", | 33 "waitable_event.cc", |
34 "waitable_event.h", | 34 "waitable_event.h", |
| 35 "weak_ptr.h", |
| 36 "weak_ptr_internal.cc", |
| 37 "weak_ptr_internal.h", |
35 ] | 38 ] |
36 | 39 |
37 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] | 40 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] |
38 } | 41 } |
39 | 42 |
40 # Unit tests for :util. For testing purposes, allow dependence on | 43 # Unit tests for :util. For testing purposes, allow dependence on |
41 # //mojo/edk/platform; however, using //mojo/edk/platform requires choosing an | 44 # //mojo/edk/platform; however, using //mojo/edk/platform requires choosing an |
42 # implementation to get a test binary, which is done below in | 45 # implementation to get a test binary, which is done below in |
43 # :mojo_edk_util_unittests. | 46 # :mojo_edk_util_unittests. |
44 mojo_edk_source_set("unittests") { | 47 mojo_edk_source_set("unittests") { |
45 testonly = true | 48 testonly = true |
46 | 49 |
47 sources = [ | 50 sources = [ |
48 "command_line_unittest.cc", | 51 "command_line_unittest.cc", |
49 "cond_var_unittest.cc", | 52 "cond_var_unittest.cc", |
50 "mutex_unittest.cc", | 53 "mutex_unittest.cc", |
51 "ref_counted_unittest.cc", | 54 "ref_counted_unittest.cc", |
52 "string_number_conversions_unittest.cc", | 55 "string_number_conversions_unittest.cc", |
53 "string_printf_unittest.cc", | 56 "string_printf_unittest.cc", |
54 "thread_annotations_unittest.cc", | 57 "thread_annotations_unittest.cc", |
55 "thread_checker_unittest.cc", | 58 "thread_checker_unittest.cc", |
56 "waitable_event_unittest.cc", | 59 "waitable_event_unittest.cc", |
| 60 "weak_ptr_unittest.cc", |
57 ] | 61 ] |
58 | 62 |
59 deps = [ | 63 deps = [ |
60 ":util", | 64 ":util", |
61 "//testing/gtest", | 65 "//testing/gtest", |
62 ] | 66 ] |
63 | 67 |
64 mojo_sdk_deps = [ "mojo/public/cpp/system" ] | 68 mojo_sdk_deps = [ "mojo/public/cpp/system" ] |
65 | 69 |
66 mojo_edk_deps = [ | 70 mojo_edk_deps = [ |
(...skipping 25 matching lines...) Expand all Loading... |
92 ":util", | 96 ":util", |
93 "//testing/gtest", | 97 "//testing/gtest", |
94 ] | 98 ] |
95 | 99 |
96 mojo_edk_deps = [ | 100 mojo_edk_deps = [ |
97 "mojo/edk/platform:test_platform", | 101 "mojo/edk/platform:test_platform", |
98 "mojo/edk/system/test", | 102 "mojo/edk/system/test", |
99 "mojo/edk/system/test:perf", | 103 "mojo/edk/system/test:perf", |
100 ] | 104 ] |
101 } | 105 } |
OLD | NEW |