OLD | NEW |
---|---|
(Empty) | |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 static_library("renderer") { | |
6 sources = [ | |
7 "credential_manager_dispatcher.cc", | |
8 "credential_manager_dispatcher.h", | |
9 ] | |
10 | |
11 deps = [ | |
12 "//base", | |
13 "//components/strings", | |
14 "//ipc", | |
15 "//third_party/WebKit/public:blink", | |
16 "//url", | |
17 ] | |
18 | |
19 if (is_win) { | |
20 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
21 cflags = [ "/wd4267" ] | |
22 } | |
Ilya Sherman
2014/08/19 23:55:51
Could we avoid introducing size_t to int truncatio
Mike West
2014/08/20 13:17:19
I think I can drop this, actually. Thanks for poin
| |
23 } | |
24 | |
25 static_library("test_support") { | |
26 sources = [ | |
27 "test_credential_manager_dispatcher.cc", | |
28 "test_credential_manager_dispatcher.h", | |
29 ] | |
30 | |
31 deps = [ | |
32 "//testing/gmock", | |
33 "//third_party/WebKit/public:blink", | |
34 ] | |
35 } | |
36 | |
37 source_set("unit_tests") { | |
38 sources = [ | |
39 "credential_manager_dispatcher_unittest.cc" | |
40 ] | |
41 | |
42 deps = [ | |
43 ":renderer", | |
44 ":test_support", | |
45 "//testing/gmock", | |
46 "//testing/gtest", | |
47 "//third_party/WebKit/public:blink", | |
48 ] | |
49 } | |
50 | |
OLD | NEW |