naiveproxy/ios/chrome/browser/omaha/BUILD.gn
2018-08-14 22:19:20 +00:00

57 lines
1.4 KiB
Plaintext

# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("omaha") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"omaha_service.h",
"omaha_service.mm",
]
deps = [
"//base",
"//base:i18n",
"//components/metrics",
"//components/prefs",
"//components/profile_metrics",
"//components/version_info",
"//ios/chrome/browser",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/browser_state_metrics",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/upgrade",
"//ios/chrome/common",
"//ios/public/provider/chrome/browser",
"//ios/public/provider/chrome/browser/omaha",
"//ios/web",
"//net",
"//third_party/libxml",
"//url",
]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"omaha_service_unittest.mm",
]
deps = [
":omaha",
"//base",
"//components/metrics",
"//components/prefs",
"//components/version_info",
"//ios/chrome/browser",
"//ios/chrome/browser/browser_state:test_support",
"//ios/chrome/common",
"//ios/chrome/test:test_support",
"//ios/public/provider/chrome/browser",
"//ios/public/provider/chrome/browser/omaha",
"//ios/web",
"//ios/web/public/test",
"//net:test_support",
"//testing/gtest",
]
}