| 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..58234b28d698f605da4bae9ac106b6b2bf50833e
|
| --- /dev/null
|
| +++ b/blimp/client/core/geolocation/BUILD.gn
|
| @@ -0,0 +1,62 @@
|
| +# 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 = [
|
| + ":geolocation",
|
| + "//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:test_support",
|
| + "//net",
|
| + "//net:test_support",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
|
|