naiveproxy/ios/chrome/browser/ui/contextual_search/settings/BUILD.gn
2018-01-29 00:30:36 +08:00

49 lines
1.5 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("settings") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"contextual_search_collection_view_controller.h",
"contextual_search_collection_view_controller.mm",
]
deps = [
"//base",
"//components/google/core/browser",
"//components/prefs",
"//components/strings:components_strings_grit",
"//ios/chrome/app/strings:ios_strings_grit",
"//ios/chrome/browser",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/ui/collection_view",
"//ios/chrome/browser/ui/contextual_search",
"//ios/chrome/browser/ui/settings",
"//ios/third_party/material_components_ios",
"//ui/base:base",
]
libs = [ "UIKit.framework" ]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"contextual_search_collection_view_controller_unittest.mm",
]
deps = [
":settings",
"//base",
"//base/test:test_support",
"//components/strings:components_strings_grit",
"//ios/chrome/app/strings:ios_strings_grit",
"//ios/chrome/browser/browser_state:test_support",
"//ios/chrome/browser/ui/collection_view:test_support",
"//ios/chrome/browser/ui/contextual_search",
"//ios/third_party/material_components_ios",
"//ios/web/public/test",
"//testing/gtest",
"//ui/base:base",
]
}