| 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 | |
| 86 } | 84 } |
| 87 | 85 |
| 88 static_library("test_support") { | 86 static_library("test_support") { |
| 89 testonly = true | 87 testonly = true |
| 90 deps = [ | 88 deps = [ |
| 91 ":router", | 89 ":router", |
| 92 "//chrome/test:test_support", | 90 "//chrome/test:test_support", |
| 93 "//testing/gmock", | 91 "//testing/gmock", |
| 94 ] | 92 ] |
| 95 sources = [ | 93 sources = [ |
| 96 "mock_media_router.cc", | 94 "mock_media_router.cc", |
| 97 "mock_media_router.h", | 95 "mock_media_router.h", |
| 98 "mock_screen_availability_listener.cc", | 96 "mock_screen_availability_listener.cc", |
| 99 "mock_screen_availability_listener.h", | 97 "mock_screen_availability_listener.h", |
| 100 "test_helper.cc", | 98 "test_helper.cc", |
| 101 "test_helper.h", | 99 "test_helper.h", |
| 102 ] | 100 ] |
| 103 | 101 |
| 104 if (!is_android) { | 102 if (!is_android) { |
| 105 deps += [ | 103 deps += [ |
| 106 ":mojo_bindings", | 104 ":mojo_bindings", |
| 107 "//extensions/common", | 105 "//extensions/common", |
| 108 ] | 106 ] |
| 109 sources += [ | 107 sources += [ |
| 110 "mojo/media_router_mojo_test.cc", | 108 "mojo/media_router_mojo_test.cc", |
| 111 "mojo/media_router_mojo_test.h", | 109 "mojo/media_router_mojo_test.h", |
| 112 ] | 110 ] |
| 113 } | 111 } |
| 114 } | 112 } |
| OLD | NEW |