Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: blimp/client/core/geolocation/BUILD.gn

Issue 2161223003: Adds GeolocationFeature for Blimp Geolocation project. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@engine_feature_prep
Patch Set: Addresses nyquist's #79 comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698