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 if (is_android) { | |
6 import("//build/config/android/config.gni") | |
7 import("//build/config/android/rules.gni") | |
8 } | |
9 | |
10 source_set("session") { | |
11 visibility = [ "//blimp/client/core/*" ] | |
12 | |
13 sources = [ | |
14 "assignment_source.cc", | |
15 "assignment_source.h", | |
16 "client_network_components.cc", | |
17 "client_network_components.h", | |
18 "connection_status.cc", | |
19 "connection_status.h", | |
20 "cross_thread_network_event_observer.cc", | |
21 "cross_thread_network_event_observer.h", | |
22 "identity_source.cc", | |
23 "identity_source.h", | |
24 "network_event_observer.h", | |
25 ] | |
26 | |
27 public_deps = [ | |
28 "//base", | |
29 "//blimp/client/public:public_headers", | |
30 "//blimp/net", | |
31 "//components/safe_json", | |
32 "//google_apis", | |
33 "//net", | |
34 "//url", | |
35 ] | |
36 | |
37 deps = [ | |
38 "//blimp/client/core/switches", | |
39 "//blimp/common", | |
40 ] | |
41 } | |
42 | |
43 source_set("unit_tests") { | |
44 visibility = [ "//blimp/client/core:unit_tests" ] | |
45 | |
46 testonly = true | |
47 | |
48 sources = [ | |
49 "identity_source_unittest.cc", | |
50 ] | |
51 | |
52 deps = [ | |
53 ":session", | |
54 "//base", | |
55 "//blimp/client/test:test", | |
56 "//google_apis:test_support", | |
57 "//testing/gmock", | |
58 "//testing/gtest", | |
59 ] | |
60 | |
61 data = [] | |
62 | |
63 sources += [ "assignment_source_unittest.cc" ] | |
64 | |
65 deps += [ | |
66 "//blimp/client/core/switches", | |
67 "//blimp/common", | |
68 "//blimp/common:test_support", | |
69 "//components/safe_json:test_support", | |
70 "//net:test_support", | |
71 "//url", | |
72 ] | |
73 | |
74 data += [ | |
75 "test_selfsigned_cert.pem", | |
76 "//blimp/test/data/test_client_token", | |
77 ] | |
78 } | |
OLD | NEW |