Chromium Code Reviews| Index: blimp/client/core/geolocation/BUILD.gn |
| diff --git a/blimp/client/core/geolocation/BUILD.gn b/blimp/client/core/geolocation/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..65e72e108c0e7bd35837e9b2ccbc354311aace57 |
| --- /dev/null |
| +++ b/blimp/client/core/geolocation/BUILD.gn |
| @@ -0,0 +1,61 @@ |
| +# Copyright 2016 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +if (is_android) { |
| + import("//build/config/android/config.gni") |
| + import("//build/config/android/rules.gni") |
| +} |
| + |
| +source_set("geolocation") { |
| + visibility = [ |
| + "//blimp/client/core", |
| + "//blimp/engine:browser_tests", |
| + ] |
| + |
| + sources = [ |
| + "geolocation_feature.cc", |
| + "geolocation_feature.h", |
| + ] |
| + |
| + deps = [ |
| + "//base:base", |
| + "//blimp/common", |
| + "//cc", |
| + "//cc/proto", |
| + "//net:net", |
| + ] |
| + |
| + public_deps = [ |
| + "//blimp/common/proto", |
| + "//blimp/net", |
| + "//device/geolocation:device_geolocation", |
| + ] |
| +} |
| + |
| +source_set("unit_tests") { |
| + visibility = [ "//blimp/client/core:unit_tests" ] |
| + |
| + testonly = true |
| + |
| + sources = [ |
| + "geolocation_feature_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//base/test:test_support", |
| + "//blimp/common", |
| + "//blimp/common/proto", |
| + "//blimp/net", |
| + "//blimp/net:test_support", |
| + "//blimp/test:support", |
| + "//cc/proto", |
| + "//device/geolocation:device_geolocation", |
| + "//device/geolocation:unittests", |
|
Kevin M
2016/08/19 22:16:26
Remove this entry.
Including other unit test grou
CJ
2016/08/19 22:50:06
It's needed so that device/geolocation/mock_locati
|
| + "//net", |
| + "//net:test_support", |
| + "//testing/gmock", |
| + "//testing/gtest", |
| + ] |
| +} |