OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 static_library("renderer") { | 5 static_library("renderer") { |
6 sources = [ | 6 sources = [ |
7 "credential_manager_client.cc", | 7 "credential_manager_client.cc", |
8 "credential_manager_client.h", | 8 "credential_manager_client.h", |
9 ] | 9 ] |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 "//components/strings", | 13 "//components/strings", |
14 "//ipc", | 14 "//ipc", |
15 "//third_party/WebKit/public:blink", | 15 "//third_party/WebKit/public:blink", |
16 "//url", | 16 "//url", |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 static_library("test_support") { | 20 source_set("browser_tests") { |
21 sources = [ | 21 sources = [ |
22 "test_credential_manager_client.cc", | 22 "credential_manager_client_browsertest.cc" |
23 "test_credential_manager_client.h", | |
24 ] | |
25 | |
26 deps = [ | |
27 "//testing/gmock", | |
28 "//third_party/WebKit/public:blink", | |
29 ] | |
30 } | |
31 | |
32 source_set("unit_tests") { | |
33 sources = [ | |
34 "credential_manager_client_unittest.cc" | |
35 ] | 23 ] |
36 | 24 |
37 deps = [ | 25 deps = [ |
38 ":renderer", | 26 ":renderer", |
39 ":test_support", | |
40 "//testing/gmock", | 27 "//testing/gmock", |
41 "//testing/gtest", | 28 "//testing/gtest", |
42 "//third_party/WebKit/public:blink", | 29 "//third_party/WebKit/public:blink", |
43 ] | 30 ] |
44 } | 31 } |
45 | 32 |
OLD | NEW |