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 | 5 |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 static_library("router") { | 9 static_library("router") { |
10 deps = [ | 10 deps = [ |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 "mojo/media_router_type_converters.cc", | 74 "mojo/media_router_type_converters.cc", |
75 "mojo/media_router_type_converters.h", | 75 "mojo/media_router_type_converters.h", |
76 ] | 76 ] |
77 } | 77 } |
78 } | 78 } |
79 | 79 |
80 mojom("mojo_bindings") { | 80 mojom("mojo_bindings") { |
81 sources = [ | 81 sources = [ |
82 "mojo/media_router.mojom", | 82 "mojo/media_router.mojom", |
83 ] | 83 ] |
| 84 |
| 85 use_new_wrapper_types = false |
84 } | 86 } |
85 | 87 |
86 static_library("test_support") { | 88 static_library("test_support") { |
87 testonly = true | 89 testonly = true |
88 deps = [ | 90 deps = [ |
89 ":router", | 91 ":router", |
90 "//chrome/test:test_support", | 92 "//chrome/test:test_support", |
91 "//testing/gmock", | 93 "//testing/gmock", |
92 ] | 94 ] |
93 sources = [ | 95 sources = [ |
94 "mock_media_router.cc", | 96 "mock_media_router.cc", |
95 "mock_media_router.h", | 97 "mock_media_router.h", |
96 "mock_screen_availability_listener.cc", | 98 "mock_screen_availability_listener.cc", |
97 "mock_screen_availability_listener.h", | 99 "mock_screen_availability_listener.h", |
98 "test_helper.cc", | 100 "test_helper.cc", |
99 "test_helper.h", | 101 "test_helper.h", |
100 ] | 102 ] |
101 | 103 |
102 if (!is_android) { | 104 if (!is_android) { |
103 deps += [ | 105 deps += [ |
104 ":mojo_bindings", | 106 ":mojo_bindings", |
105 "//extensions/common", | 107 "//extensions/common", |
106 ] | 108 ] |
107 sources += [ | 109 sources += [ |
108 "mojo/media_router_mojo_test.cc", | 110 "mojo/media_router_mojo_test.cc", |
109 "mojo/media_router_mojo_test.h", | 111 "mojo/media_router_mojo_test.h", |
110 ] | 112 ] |
111 } | 113 } |
112 } | 114 } |
OLD | NEW |