chromium/ios/chrome/browser/geolocation/model/BUILD.gn

# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("model") {
  sources = [
    "geolocation_manager.h",
    "geolocation_manager.mm",
  ]
  deps = [
    ":util",
    "//base",
  ]
  frameworks = [ "CoreLocation.framework" ]
}

source_set("util") {
  sources = [
    "authorization_status_cache_util.h",
    "authorization_status_cache_util.mm",
  ]
  deps = [ "//base" ]
  frameworks = [ "CoreLocation.framework" ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "geolocation_manager_unittest.mm" ]
  deps = [
    ":model",
    ":util",
    "//base",
    "//base/test:test_support",
    "//testing/gtest",
  ]
  frameworks = [ "CoreLocation.framework" ]
}