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 27 matching lines...) Expand all Loading... |
38 "test_location_manager.h", | 38 "test_location_manager.h", |
39 "test_location_manager.mm", | 39 "test_location_manager.mm", |
40 ] | 40 ] |
41 deps = [ | 41 deps = [ |
42 ":geolocation", | 42 ":geolocation", |
43 "//base", | 43 "//base", |
44 ] | 44 ] |
45 } | 45 } |
46 | 46 |
47 source_set("unit_tests") { | 47 source_set("unit_tests") { |
| 48 configs += [ "//build/config/compiler:enable_arc" ] |
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 |