naiveproxy/ios/chrome/browser/ui/external_search/BUILD.gn
2018-02-02 05:49:39 -05:00

47 lines
1.1 KiB
Plaintext

# Copyright 2017 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("external_search") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"external_search_coordinator.h",
"external_search_coordinator.mm",
"external_search_mediator.h",
"external_search_mediator.mm",
]
deps = [
"//base",
"//ios/chrome/browser",
"//ios/chrome/browser/ui/commands",
"//ios/public/provider/chrome/browser",
"//ios/public/provider/chrome/browser/external_search",
]
}
source_set("features") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"features.cc",
"features.h",
]
deps = [
"//base",
]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"external_search_coordinator_unittest.mm",
"external_search_mediator_unittest.mm",
]
deps = [
":external_search",
"//ios/chrome/browser/ui/commands",
"//testing/gtest",
"//third_party/ocmock",
]
}