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 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "CLLocation+OmniboxGeolocation.h", | 8 "CLLocation+OmniboxGeolocation.h", |
9 "CLLocation+OmniboxGeolocation.mm", | 9 "CLLocation+OmniboxGeolocation.mm", |
10 "CLLocation+XGeoHeader.h", | 10 "CLLocation+XGeoHeader.h", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 "//base", | 60 "//base", |
61 "//components/prefs:test_support", | 61 "//components/prefs:test_support", |
62 "//ios/chrome/test:test_support", | 62 "//ios/chrome/test:test_support", |
63 "//ios/public/provider/chrome/browser", | 63 "//ios/public/provider/chrome/browser", |
64 "//testing/gtest", | 64 "//testing/gtest", |
65 "//third_party/ocmock", | 65 "//third_party/ocmock", |
66 ] | 66 ] |
67 } | 67 } |
68 | 68 |
69 source_set("geolocation_internal") { | 69 source_set("geolocation_internal") { |
| 70 configs += [ "//build/config/compiler:enable_arc" ] |
70 sources = [ | 71 sources = [ |
71 "omnibox_geolocation_controller+Testing.h", | 72 "omnibox_geolocation_controller+Testing.h", |
72 "omnibox_geolocation_controller.h", | 73 "omnibox_geolocation_controller.h", |
73 "omnibox_geolocation_controller.mm", | 74 "omnibox_geolocation_controller.mm", |
74 ] | 75 ] |
75 deps = [ | 76 deps = [ |
76 ":geolocation", | 77 ":geolocation", |
77 "//base", | 78 "//base", |
78 "//components/google/core/browser", | 79 "//components/google/core/browser", |
79 "//components/version_info", | 80 "//components/version_info", |
80 "//ios/chrome/browser/browser_state", | 81 "//ios/chrome/browser/browser_state", |
81 "//ios/chrome/browser/tabs", | 82 "//ios/chrome/browser/tabs", |
82 "//ios/web", | 83 "//ios/web", |
83 "//ui/base", | 84 "//ui/base", |
84 "//url", | 85 "//url", |
85 ] | 86 ] |
86 libs = [ | 87 libs = [ |
87 "CoreLocation.framework", | 88 "CoreLocation.framework", |
88 "UIKit.framework", | 89 "UIKit.framework", |
89 ] | 90 ] |
90 } | 91 } |
OLD | NEW |