mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-05 03:36:08 +03:00
104 lines
3.0 KiB
Plaintext
104 lines
3.0 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("tab_grid") {
|
||
|
sources = [
|
||
|
"tab_grid_container_coordinator.h",
|
||
|
"tab_grid_container_coordinator.mm",
|
||
|
"tab_grid_coordinator.h",
|
||
|
"tab_grid_coordinator.mm",
|
||
|
"tab_grid_mediator.h",
|
||
|
"tab_grid_mediator.mm",
|
||
|
]
|
||
|
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
|
||
|
deps = [
|
||
|
":tab_grid_ui",
|
||
|
"//base",
|
||
|
"//ios/chrome/browser/browser_state",
|
||
|
"//ios/chrome/browser/snapshots",
|
||
|
"//ios/chrome/browser/ui/browser_list",
|
||
|
"//ios/chrome/browser/ui/commands",
|
||
|
"//ios/chrome/browser/ui/coordinators",
|
||
|
"//ios/chrome/browser/ui/tools_menu:configuration",
|
||
|
"//ios/chrome/browser/web_state_list",
|
||
|
"//ios/clean/chrome/browser",
|
||
|
"//ios/clean/chrome/browser/ui/commands",
|
||
|
"//ios/clean/chrome/browser/ui/dialogs/context_menu",
|
||
|
"//ios/clean/chrome/browser/ui/overlays",
|
||
|
"//ios/clean/chrome/browser/ui/settings",
|
||
|
"//ios/clean/chrome/browser/ui/tab",
|
||
|
"//ios/clean/chrome/browser/ui/tab:features",
|
||
|
"//ios/clean/chrome/browser/ui/tab_collection",
|
||
|
"//ios/clean/chrome/browser/ui/tab_collection:tab_collection_ui",
|
||
|
"//ios/clean/chrome/browser/ui/tools",
|
||
|
"//ios/web",
|
||
|
"//net",
|
||
|
"//ui/base",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("tab_grid_ui") {
|
||
|
sources = [
|
||
|
"mdc_floating_button+cr_tab_grid.h",
|
||
|
"mdc_floating_button+cr_tab_grid.mm",
|
||
|
"tab_grid_collection_view_layout.h",
|
||
|
"tab_grid_collection_view_layout.mm",
|
||
|
"tab_grid_consumer.h",
|
||
|
"tab_grid_container_view_controller.h",
|
||
|
"tab_grid_container_view_controller.mm",
|
||
|
"tab_grid_toolbar.h",
|
||
|
"tab_grid_toolbar.mm",
|
||
|
"tab_grid_toolbar_commands.h",
|
||
|
"tab_grid_view_controller.h",
|
||
|
"tab_grid_view_controller.mm",
|
||
|
"ui_button+cr_tab_grid.h",
|
||
|
"ui_button+cr_tab_grid.mm",
|
||
|
]
|
||
|
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//ios/chrome/app/strings",
|
||
|
"//ios/chrome/browser/ui",
|
||
|
"//ios/chrome/browser/ui/colors",
|
||
|
"//ios/chrome/browser/ui/tab_switcher",
|
||
|
"//ios/clean/chrome/browser/ui/actions",
|
||
|
"//ios/clean/chrome/browser/ui/commands",
|
||
|
"//ios/clean/chrome/browser/ui/tab_collection:tab_collection_ui",
|
||
|
"//ios/clean/chrome/browser/ui/transitions/animators",
|
||
|
"//ios/third_party/material_components_ios:material_components_ios",
|
||
|
"//ui/base",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("unit_tests") {
|
||
|
testonly = true
|
||
|
|
||
|
sources = [
|
||
|
"tab_grid_container_coordinator_unittest.mm",
|
||
|
"tab_grid_mediator_unittest.mm",
|
||
|
]
|
||
|
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
|
||
|
deps = [
|
||
|
":tab_grid",
|
||
|
":tab_grid_ui",
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//ios/chrome/browser/ui/coordinators",
|
||
|
"//ios/chrome/browser/ui/coordinators:test_support",
|
||
|
"//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",
|
||
|
]
|
||
|
}
|