| 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 source_set("geolocation") { |
| 6 sources = [ |
| 7 "CLLocation+OmniboxGeolocation.h", |
| 8 "CLLocation+OmniboxGeolocation.mm", |
| 9 "CLLocation+XGeoHeader.h", |
| 10 "CLLocation+XGeoHeader.mm", |
| 11 "location_manager+Testing.h", |
| 12 "location_manager.h", |
| 13 "location_manager.mm", |
| 14 "omnibox_geolocation_authorization_alert.h", |
| 15 "omnibox_geolocation_authorization_alert.mm", |
| 16 "omnibox_geolocation_config.h", |
| 17 "omnibox_geolocation_config.mm", |
| 18 "omnibox_geolocation_local_state.h", |
| 19 "omnibox_geolocation_local_state.mm", |
| 20 ] |
| 21 deps = [ |
| 22 "//base", |
| 23 "//components/prefs", |
| 24 "//components/strings", |
| 25 "//ios/chrome/app/strings", |
| 26 "//ios/chrome/browser:browser_no_public_deps", |
| 27 "//ios/chrome/browser/updatable_config", |
| 28 "//ios/public/provider/chrome/browser", |
| 29 "//third_party/google_toolbox_for_mac", |
| 30 "//ui/base", |
| 31 "//url", |
| 32 ] |
| 33 libs = [ "CoreLocation.framework" ] |
| 34 } |
| 35 |
| 36 source_set("test_support") { |
| 37 testonly = true |
| 38 sources = [ |
| 39 "test_location_manager.h", |
| 40 "test_location_manager.mm", |
| 41 ] |
| 42 deps = [ |
| 43 ":geolocation", |
| 44 "//base", |
| 45 ] |
| 46 } |
| 47 |
| 48 source_set("unit_tests") { |
| 49 testonly = true |
| 50 sources = [ |
| 51 "CLLocation+XGeoHeaderTest.mm", |
| 52 "location_manager_unittest.mm", |
| 53 "omnibox_geolocation_local_state_unittest.mm", |
| 54 ] |
| 55 deps = [ |
| 56 ":geolocation", |
| 57 "//base", |
| 58 "//components/prefs:test_support", |
| 59 "//ios/chrome/test:test_support", |
| 60 "//ios/public/provider/chrome/browser", |
| 61 "//testing/gtest", |
| 62 "//third_party/ocmock", |
| 63 ] |
| 64 } |
| OLD | NEW |