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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 source_set("router") { | 8 source_set("router") { |
9 deps = [ | 9 deps = [ |
10 ":router_core", | 10 ":router_core", |
(...skipping 25 matching lines...) Expand all Loading... | |
36 "media_routes_observer.cc", | 36 "media_routes_observer.cc", |
37 "media_routes_observer.h", | 37 "media_routes_observer.h", |
38 "media_sink.cc", | 38 "media_sink.cc", |
39 "media_sink.h", | 39 "media_sink.h", |
40 "media_sinks_observer.cc", | 40 "media_sinks_observer.cc", |
41 "media_sinks_observer.h", | 41 "media_sinks_observer.h", |
42 "media_source.cc", | 42 "media_source.cc", |
43 "media_source.h", | 43 "media_source.h", |
44 "media_source_helper.cc", | 44 "media_source_helper.cc", |
45 "media_source_helper.h", | 45 "media_source_helper.h", |
46 "presentation_helper.cc", | |
47 "presentation_helper.h", | |
46 "presentation_media_sinks_observer.cc", | 48 "presentation_media_sinks_observer.cc", |
47 "presentation_media_sinks_observer.h", | 49 "presentation_media_sinks_observer.h", |
50 "presentation_service_delegate_impl.cc", | |
51 "presentation_service_delegate_impl.h", | |
48 "route_id_manager.cc", | 52 "route_id_manager.cc", |
49 "route_id_manager.h", | 53 "route_id_manager.h", |
50 ] | 54 ] |
51 } | 55 } |
52 | 56 |
53 source_set("unit_tests") { | 57 source_set("unit_tests") { |
54 testonly = true | 58 testonly = true |
55 deps = [ | 59 deps = [ |
56 ":router_core", | 60 ":router_core", |
57 ":unit_tests_support", | 61 ":unit_tests_support", |
58 "//base/test:test_support", | 62 "//base/test:test_support", |
59 "//chrome/test:test_support", | 63 "//chrome/test:test_support", |
60 "//testing/gmock", | 64 "//testing/gmock", |
61 "//testing/gtest", | 65 "//testing/gtest", |
62 "//third_party/cld_2:cld2_static", | 66 "//third_party/cld_2:cld2_static", |
63 "//third_party/mojo/src/mojo/public/cpp/bindings", | 67 "//third_party/mojo/src/mojo/public/cpp/bindings", |
64 ] | 68 ] |
65 sources = [ | 69 sources = [ |
66 "media_route_unittest.cc", | 70 "media_route_unittest.cc", |
67 "media_router_type_converters_unittest.cc", | 71 "media_router_type_converters_unittest.cc", |
68 "media_sink_unittest.cc", | 72 "media_sink_unittest.cc", |
69 "media_source_unittest.cc", | 73 "media_source_unittest.cc", |
70 "presentation_media_sinks_observer_unittest.cc", | 74 "presentation_media_sinks_observer_unittest.cc", |
75 "presentation_service_delegate_impl_unittest.cc", | |
imcheng (use chromium acct)
2015/05/18 20:54:06
You will need to rebase because the unit_tests tar
haibinlu
2015/05/18 23:40:46
Done.
| |
71 "route_id_manager_unittest.cc", | 76 "route_id_manager_unittest.cc", |
72 ] | 77 ] |
73 } | 78 } |
74 | 79 |
75 source_set("unit_tests_support") { | 80 source_set("unit_tests_support") { |
76 testonly = true | 81 testonly = true |
77 deps = [ | 82 deps = [ |
78 ":router_core", | 83 ":router_core", |
79 "//testing/gmock", | 84 "//testing/gmock", |
80 ] | 85 ] |
(...skipping 14 matching lines...) Expand all Loading... | |
95 # Optional standalone test binary, for faster isolated builds. | 100 # Optional standalone test binary, for faster isolated builds. |
96 test("unit_tests_main") { | 101 test("unit_tests_main") { |
97 deps = [ | 102 deps = [ |
98 ":unit_tests", | 103 ":unit_tests", |
99 "//testing/gmock:gmock_main", | 104 "//testing/gmock:gmock_main", |
100 ] | 105 ] |
101 sources = [ | 106 sources = [ |
102 ":unittest_files", | 107 ":unittest_files", |
103 ] | 108 ] |
104 } | 109 } |
OLD | NEW |