mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
147 lines
4.2 KiB
Plaintext
147 lines
4.2 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("stack_view") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
sources = [
|
||
|
"card_set.h",
|
||
|
"card_set.mm",
|
||
|
"card_stack_layout_manager.h",
|
||
|
"card_stack_layout_manager.mm",
|
||
|
"card_stack_pinch_gesture_recognizer.h",
|
||
|
"card_stack_pinch_gesture_recognizer.mm",
|
||
|
"card_view.h",
|
||
|
"card_view.mm",
|
||
|
"close_button.h",
|
||
|
"close_button.mm",
|
||
|
"page_animation_util.h",
|
||
|
"page_animation_util.mm",
|
||
|
"stack_card.h",
|
||
|
"stack_card.mm",
|
||
|
"stack_view_controller.h",
|
||
|
"stack_view_controller.mm",
|
||
|
"stack_view_controller_private.h",
|
||
|
"stack_view_toolbar_controller.h",
|
||
|
"stack_view_toolbar_controller.mm",
|
||
|
"title_label.h",
|
||
|
"title_label.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
"resources:border_frame_bottom",
|
||
|
"resources:border_frame_incognito_bottom",
|
||
|
"resources:border_frame_incognito_left",
|
||
|
"resources:border_frame_incognito_right",
|
||
|
"resources:border_frame_incognito_top",
|
||
|
"resources:border_frame_left",
|
||
|
"resources:border_frame_right",
|
||
|
"resources:border_frame_top",
|
||
|
"resources:card_close_button",
|
||
|
"resources:card_close_button_incognito",
|
||
|
"resources:card_close_button_pressed",
|
||
|
"resources:card_frame_shadow",
|
||
|
"resources:stack_view_background_noise",
|
||
|
"//base",
|
||
|
"//components/favicon/ios",
|
||
|
"//components/feature_engagement",
|
||
|
"//components/strings",
|
||
|
"//ios/chrome/app/strings",
|
||
|
"//ios/chrome/browser",
|
||
|
"//ios/chrome/browser/feature_engagement",
|
||
|
"//ios/chrome/browser/tabs",
|
||
|
"//ios/chrome/browser/ui",
|
||
|
"//ios/chrome/browser/ui/commands",
|
||
|
"//ios/chrome/browser/ui/keyboard",
|
||
|
"//ios/chrome/browser/ui/ntp",
|
||
|
"//ios/chrome/browser/ui/ntp:ntp_internal",
|
||
|
"//ios/chrome/browser/ui/tab_switcher",
|
||
|
"//ios/chrome/browser/ui/toolbar",
|
||
|
"//ios/chrome/browser/ui/toolbar/public",
|
||
|
"//ios/chrome/browser/ui/toolbar/public:toolbar_base_feature",
|
||
|
"//ios/chrome/browser/ui/tools_menu",
|
||
|
"//ios/chrome/browser/ui/tools_menu:configuration",
|
||
|
"//ios/chrome/browser/ui/tools_menu/public",
|
||
|
"//ios/chrome/common",
|
||
|
"//ios/third_party/material_components_ios",
|
||
|
"//ios/web",
|
||
|
"//net",
|
||
|
"//ui/base",
|
||
|
"//ui/gfx",
|
||
|
]
|
||
|
libs = [
|
||
|
"CoreGraphics.framework",
|
||
|
"QuartzCore.framework",
|
||
|
"UIKit.framework",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("unit_tests") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"card_set_unittest.mm",
|
||
|
"card_stack_layout_manager_unittest.mm",
|
||
|
"stack_card_unittest.mm",
|
||
|
"stack_view_controller_unittest.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
":stack_view",
|
||
|
"//base",
|
||
|
"//ios/chrome/browser/tabs",
|
||
|
"//ios/chrome/browser/ui",
|
||
|
"//ios/chrome/test:test_support",
|
||
|
"//ios/testing:ocmock_support",
|
||
|
"//ios/web/public/test/fakes",
|
||
|
"//testing/gtest",
|
||
|
"//third_party/ocmock",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("eg_tests") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"stack_view_egtest.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
":stack_view",
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//ios/chrome/browser",
|
||
|
"//ios/chrome/browser/browser_state",
|
||
|
"//ios/chrome/browser/tabs",
|
||
|
"//ios/chrome/browser/ui:ui_internal",
|
||
|
"//ios/chrome/browser/ui/toolbar/public",
|
||
|
"//ios/chrome/browser/ui/tools_menu/public",
|
||
|
"//ios/chrome/test/app:test_support",
|
||
|
"//ios/chrome/test/earl_grey:test_support",
|
||
|
"//ios/testing:ios_test_support",
|
||
|
"//ios/testing/earl_grey:earl_grey_support",
|
||
|
"//ios/web/public/test/http_server",
|
||
|
]
|
||
|
libs = [ "XCTest.framework" ]
|
||
|
}
|
||
|
|
||
|
source_set("perf_tests") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"stack_view_controller_perftest.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
":stack_view",
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//ios/chrome/browser/snapshots",
|
||
|
"//ios/chrome/browser/tabs",
|
||
|
"//ios/chrome/browser/test:perf_test_support",
|
||
|
"//ios/chrome/browser/ui",
|
||
|
"//ios/chrome/browser/ui:ui_internal",
|
||
|
"//ios/chrome/browser/ui/fullscreen",
|
||
|
"//ios/chrome/browser/ui/fullscreen:legacy_fullscreen",
|
||
|
"//ios/web",
|
||
|
"//net",
|
||
|
]
|
||
|
libs = [ "UIKit.framework" ]
|
||
|
}
|