OLD | NEW |
| (Empty) |
1 # Copyright 2016 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 source_set("render_widget") { | |
6 visibility = [ "//blimp/client/core/*" ] | |
7 | |
8 sources = [ | |
9 "blimp_document.cc", | |
10 "blimp_document.h", | |
11 "blimp_document_manager.cc", | |
12 "blimp_document_manager.h", | |
13 "render_widget_feature.cc", | |
14 "render_widget_feature.h", | |
15 ] | |
16 | |
17 deps = [ | |
18 "//blimp/common", | |
19 "//cc/proto", | |
20 "//net", | |
21 ] | |
22 | |
23 public_deps = [ | |
24 "//base", | |
25 "//blimp/client/core/compositor", | |
26 "//blimp/client/core/input", | |
27 "//blimp/client/core/switches", | |
28 "//blimp/net", | |
29 ] | |
30 } | |
31 | |
32 source_set("test_support") { | |
33 visibility = [ | |
34 "//blimp/client/core/render_widget:unit_tests", | |
35 "//blimp/client/core/compositor:unit_tests", | |
36 ] | |
37 | |
38 testonly = true | |
39 | |
40 sources = [ | |
41 "mock_render_widget_feature.cc", | |
42 "mock_render_widget_feature.h", | |
43 "mock_render_widget_feature_delegate.cc", | |
44 "mock_render_widget_feature_delegate.h", | |
45 ] | |
46 | |
47 public_deps = [ | |
48 ":render_widget", | |
49 "//testing/gmock", | |
50 ] | |
51 | |
52 deps = [ | |
53 "//cc/proto", | |
54 ] | |
55 } | |
56 | |
57 source_set("unit_tests") { | |
58 visibility = [ "//blimp/client/core:unit_tests" ] | |
59 | |
60 testonly = true | |
61 | |
62 sources = [ | |
63 "blimp_document_manager_unittest.cc", | |
64 "blimp_document_unittest.cc", | |
65 "render_widget_feature_unittest.cc", | |
66 ] | |
67 | |
68 deps = [ | |
69 ":render_widget", | |
70 ":test_support", | |
71 "//base", | |
72 "//blimp/client/test/compositor", | |
73 "//blimp/common", | |
74 "//blimp/net:test_support", | |
75 "//cc/proto", | |
76 "//cc/surfaces", | |
77 "//net", | |
78 "//net:test_support", | |
79 "//testing/gtest", | |
80 ] | |
81 } | |
OLD | NEW |