naiveproxy/ios/chrome/browser/ui/external_search/BUILD.gn

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-12-10 05:59:24 +03:00
# 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("feature_flags") {
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",
]
}