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("geolocation") { | |
11 visibility = [ "//blimp/client/core/*" ] | |
12 | |
13 sources = [ | |
14 "geolocation_feature.cc", | |
15 "geolocation_feature.h", | |
16 ] | |
17 | |
18 deps = [ | |
19 "//base:base", | |
20 "//blimp/common", | |
21 "//cc", | |
22 "//cc/proto", | |
23 "//net:net", | |
24 ] | |
25 | |
26 public_deps = [ | |
27 "//blimp/common/proto", | |
28 "//blimp/net", | |
29 "//device/geolocation", | |
30 ] | |
31 } | |
32 | |
33 source_set("unit_tests") { | |
34 visibility = [ "//blimp/client/core:unit_tests" ] | |
35 | |
36 testonly = true | |
37 | |
38 sources = [ | |
39 "geolocation_feature_unittest.cc", | |
40 ] | |
41 | |
42 deps = [ | |
43 ":geolocation", | |
44 "//base", | |
45 "//base/test:test_support", | |
46 "//blimp/common", | |
47 "//blimp/common/proto", | |
48 "//blimp/net", | |
49 "//blimp/net:test_support", | |
50 "//blimp/test:support", | |
51 "//cc/proto", | |
52 "//device/geolocation", | |
53 "//device/geolocation:test_support", | |
54 "//net", | |
55 "//net:test_support", | |
56 "//testing/gmock", | |
57 "//testing/gtest", | |
58 ] | |
59 } | |
OLD | NEW |