| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 source_set("geolocation") { | 5 source_set("geolocation") { |
| 6 sources = [ | 6 sources = [ |
| 7 "CLLocation+OmniboxGeolocation.h", | 7 "CLLocation+OmniboxGeolocation.h", |
| 8 "CLLocation+OmniboxGeolocation.mm", | 8 "CLLocation+OmniboxGeolocation.mm", |
| 9 "CLLocation+XGeoHeader.h", | 9 "CLLocation+XGeoHeader.h", |
| 10 "CLLocation+XGeoHeader.mm", | 10 "CLLocation+XGeoHeader.mm", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 "//ios/chrome/browser", | 26 "//ios/chrome/browser", |
| 27 "//ios/public/provider/chrome/browser", | 27 "//ios/public/provider/chrome/browser", |
| 28 "//third_party/google_toolbox_for_mac", | 28 "//third_party/google_toolbox_for_mac", |
| 29 "//ui/base", | 29 "//ui/base", |
| 30 "//url", | 30 "//url", |
| 31 ] | 31 ] |
| 32 libs = [ "CoreLocation.framework" ] | 32 libs = [ "CoreLocation.framework" ] |
| 33 } | 33 } |
| 34 | 34 |
| 35 source_set("test_support") { | 35 source_set("test_support") { |
| 36 configs += [ "//build/config/compiler:enable_arc" ] |
| 36 testonly = true | 37 testonly = true |
| 37 sources = [ | 38 sources = [ |
| 38 "test_location_manager.h", | 39 "test_location_manager.h", |
| 39 "test_location_manager.mm", | 40 "test_location_manager.mm", |
| 40 ] | 41 ] |
| 41 deps = [ | 42 deps = [ |
| 42 ":geolocation", | 43 ":geolocation", |
| 43 "//base", | 44 "//base", |
| 44 ] | 45 ] |
| 45 } | 46 } |
| 46 | 47 |
| 47 source_set("unit_tests") { | 48 source_set("unit_tests") { |
| 48 testonly = true | 49 testonly = true |
| 49 sources = [ | 50 sources = [ |
| 50 "CLLocation+XGeoHeaderTest.mm", | 51 "CLLocation+XGeoHeaderTest.mm", |
| 51 "location_manager_unittest.mm", | 52 "location_manager_unittest.mm", |
| 52 "omnibox_geolocation_local_state_unittest.mm", | 53 "omnibox_geolocation_local_state_unittest.mm", |
| 53 ] | 54 ] |
| 54 deps = [ | 55 deps = [ |
| 55 ":geolocation", | 56 ":geolocation", |
| 56 "//base", | 57 "//base", |
| 57 "//components/prefs:test_support", | 58 "//components/prefs:test_support", |
| 58 "//ios/chrome/test:test_support", | 59 "//ios/chrome/test:test_support", |
| 59 "//ios/public/provider/chrome/browser", | 60 "//ios/public/provider/chrome/browser", |
| 60 "//testing/gtest", | 61 "//testing/gtest", |
| 61 "//third_party/ocmock", | 62 "//third_party/ocmock", |
| 62 ] | 63 ] |
| 63 } | 64 } |
| OLD | NEW |