naiveproxy/ios/clean/chrome/browser/ui/tab_collection/BUILD.gn

71 lines
1.9 KiB
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
# 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("tab_collection") {
sources = [
"tab_collection_mediator.h",
"tab_collection_mediator.mm",
]
deps = [
":tab_collection_ui",
"//base",
"//ios/chrome/browser/snapshots",
"//ios/chrome/browser/web",
"//ios/chrome/browser/web_state_list",
"//ios/web",
"//ui/gfx",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("tab_collection_ui") {
sources = [
"tab_collection_consumer.h",
"tab_collection_item.h",
"tab_collection_item.mm",
"tab_collection_tab_cell.h",
"tab_collection_tab_cell.mm",
"tab_collection_view_controller.h",
"tab_collection_view_controller.mm",
]
deps = [
"//base",
"//components/strings:components_strings_grit",
"//ios/chrome/app/theme:theme_grit",
"//ios/chrome/browser/snapshots",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/ui/tab_switcher",
"//ios/clean/chrome/browser/ui/commands",
"//ui/base",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("unit_tests") {
sources = [
"tab_collection_mediator_unittest.mm",
"tab_collection_tab_cell_unittest.mm",
"tab_collection_view_controller_unittest.mm",
]
deps = [
":tab_collection",
":tab_collection_ui",
"//base",
"//base/test:test_support",
"//ios/chrome/browser/snapshots",
"//ios/chrome/browser/ui/tab_switcher",
"//ios/chrome/browser/web",
"//ios/chrome/browser/web_state_list",
"//ios/chrome/browser/web_state_list:test_support",
"//ios/chrome/test/base",
"//ios/web/public/test/fakes",
"//testing/gtest",
"//third_party/ocmock",
"//ui/base:test_support",
"//url:url",
]
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
}