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

Unified Diff: ios/chrome/browser/geolocation/BUILD.gn

Issue 2443373002: Split //ios/chrome/browser in multiple targets. (Closed)
Patch Set: Rebase Created 4 years, 2 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
« no previous file with comments | « ios/chrome/browser/first_run/BUILD.gn ('k') | ios/chrome/browser/google/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/geolocation/BUILD.gn
diff --git a/ios/chrome/browser/geolocation/BUILD.gn b/ios/chrome/browser/geolocation/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..1fdb8a8bb2a6e2623b2936ae98c73cc8bdf598c8
--- /dev/null
+++ b/ios/chrome/browser/geolocation/BUILD.gn
@@ -0,0 +1,64 @@
+# 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.
+
+source_set("geolocation") {
+ sources = [
+ "CLLocation+OmniboxGeolocation.h",
+ "CLLocation+OmniboxGeolocation.mm",
+ "CLLocation+XGeoHeader.h",
+ "CLLocation+XGeoHeader.mm",
+ "location_manager+Testing.h",
+ "location_manager.h",
+ "location_manager.mm",
+ "omnibox_geolocation_authorization_alert.h",
+ "omnibox_geolocation_authorization_alert.mm",
+ "omnibox_geolocation_config.h",
+ "omnibox_geolocation_config.mm",
+ "omnibox_geolocation_local_state.h",
+ "omnibox_geolocation_local_state.mm",
+ ]
+ deps = [
+ "//base",
+ "//components/prefs",
+ "//components/strings",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/browser:browser_no_public_deps",
+ "//ios/chrome/browser/updatable_config",
+ "//ios/public/provider/chrome/browser",
+ "//third_party/google_toolbox_for_mac",
+ "//ui/base",
+ "//url",
+ ]
+ libs = [ "CoreLocation.framework" ]
+}
+
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "test_location_manager.h",
+ "test_location_manager.mm",
+ ]
+ deps = [
+ ":geolocation",
+ "//base",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "CLLocation+XGeoHeaderTest.mm",
+ "location_manager_unittest.mm",
+ "omnibox_geolocation_local_state_unittest.mm",
+ ]
+ deps = [
+ ":geolocation",
+ "//base",
+ "//components/prefs:test_support",
+ "//ios/chrome/test:test_support",
+ "//ios/public/provider/chrome/browser",
+ "//testing/gtest",
+ "//third_party/ocmock",
+ ]
+}
« no previous file with comments | « ios/chrome/browser/first_run/BUILD.gn ('k') | ios/chrome/browser/google/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698