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