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

64 lines
1.8 KiB
Plaintext
Raw Normal View History

2018-08-11 08:35:24 +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("side_swipe") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"card_side_swipe_view.h",
"card_side_swipe_view.mm",
"history_side_swipe_provider.h",
"history_side_swipe_provider.mm",
"side_swipe_controller.h",
"side_swipe_controller.mm",
"side_swipe_navigation_view.h",
"side_swipe_navigation_view.mm",
"side_swipe_util.h",
"side_swipe_util.mm",
]
deps = [
"resources:side_swipe_navigation_back",
"resources:side_swipe_navigation_content_shadow",
"//base",
"//components/reading_list/core",
"//ios/chrome/app/theme",
"//ios/chrome/browser",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/reading_list",
"//ios/chrome/browser/snapshots",
"//ios/chrome/browser/tabs",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/ui:feature_flags",
"//ios/chrome/browser/ui/fullscreen",
"//ios/chrome/browser/ui/ntp",
"//ios/chrome/browser/ui/tabs/requirements",
"//ios/chrome/browser/ui/toolbar/public",
"//ios/chrome/browser/web",
"//ios/chrome/common",
"//ios/web/public",
"//ui/base",
"//url",
]
public_deps = [
"//ios/chrome/browser/infobars",
]
libs = [ "UIKit.framework" ]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"side_swipe_controller_unittest.mm",
]
deps = [
":side_swipe",
"//base",
"//ios/chrome/browser/browser_state:test_support",
"//ios/chrome/browser/ui/toolbar",
"//ios/web/public/test",
"//testing/gtest",
"//third_party/ocmock",
]
}