OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 mojom("authenticator") { | 7 source_set("authenticator") { |
8 sources = [ | 8 sources = [ |
9 "authenticator.mojom", | 9 "authenticator_impl.cc", |
| 10 "authenticator_impl.h", |
| 11 "authenticator_web_contents_manager.cc", |
| 12 "authenticator_web_contents_manager.h", |
10 ] | 13 ] |
11 | 14 |
12 public_deps = [ | 15 deps = [ |
13 "//mojo/common:common_custom_types", | 16 "//base", |
| 17 "//content/public/browser", |
| 18 "//mojo/common", |
| 19 "//mojo/public/cpp/bindings", |
| 20 "//third_party/WebKit/public:blink_headers", |
14 ] | 21 ] |
15 } | 22 } |
| 23 |
| 24 source_set("unit_tests") { |
| 25 testonly = true |
| 26 sources = [ |
| 27 "authenticator_impl_unittest.cc", |
| 28 "authenticator_web_contents_manager_unittest.cc", |
| 29 ] |
| 30 deps = [ |
| 31 ":authenticator", |
| 32 "//base/test:test_support", |
| 33 "//content/test:test_support", |
| 34 "//mojo/common", |
| 35 "//mojo/public/cpp/bindings", |
| 36 "//testing/gmock", |
| 37 "//testing/gtest", |
| 38 "//third_party/WebKit/public:blink_headers", |
| 39 ] |
| 40 } |
OLD | NEW |