mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-04 19:26:09 +03:00
92 lines
2.4 KiB
Plaintext
92 lines
2.4 KiB
Plaintext
|
# Copyright 2018 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("table_view") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
sources = [
|
||
|
"chrome_table_view_consumer.h",
|
||
|
"chrome_table_view_controller.h",
|
||
|
"chrome_table_view_controller.mm",
|
||
|
"table_view_model.h",
|
||
|
"table_view_model.mm",
|
||
|
"table_view_navigation_controller.h",
|
||
|
"table_view_navigation_controller.mm",
|
||
|
"table_view_navigation_controller_constants.h",
|
||
|
"table_view_navigation_controller_constants.mm",
|
||
|
"table_view_navigation_controller_delegate.h",
|
||
|
"table_view_navigation_controller_delegate.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
":presentation",
|
||
|
":styler",
|
||
|
":views",
|
||
|
"//base",
|
||
|
"//ios/chrome/browser/ui/list_model",
|
||
|
"//ios/chrome/browser/ui/material_components",
|
||
|
"//ios/third_party/material_components_ios",
|
||
|
]
|
||
|
public_deps = [
|
||
|
"//ios/chrome/browser/ui/table_view/cells",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("styler") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
sources = [
|
||
|
"chrome_table_view_styler.h",
|
||
|
"chrome_table_view_styler.mm",
|
||
|
]
|
||
|
public_deps = [
|
||
|
"//ios/chrome/browser/ui:ui_util",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("presentation") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
sources = [
|
||
|
"table_view_animator.h",
|
||
|
"table_view_animator.mm",
|
||
|
"table_view_modal_presenting.h",
|
||
|
"table_view_presentation_controller.h",
|
||
|
"table_view_presentation_controller.mm",
|
||
|
"table_view_presentation_controller_delegate.h",
|
||
|
]
|
||
|
deps = [
|
||
|
"//ios/chrome/browser/ui:ui_util",
|
||
|
"//ios/chrome/browser/ui/image_util",
|
||
|
"//ios/chrome/browser/ui/resources:menu_shadow",
|
||
|
"//ios/chrome/common/ui_util",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("views") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
sources = [
|
||
|
"table_view_empty_view.h",
|
||
|
"table_view_empty_view.mm",
|
||
|
"table_view_loading_view.h",
|
||
|
"table_view_loading_view.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//ios/chrome/browser/ui",
|
||
|
"//ios/chrome/browser/ui/colors",
|
||
|
"//ios/chrome/browser/ui/material_components",
|
||
|
"//ios/third_party/material_components_ios",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("unit_tests") {
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"chrome_table_view_controller_unittest.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
":table_view",
|
||
|
"//ios/chrome/browser/ui/table_view/cells",
|
||
|
"//testing/gtest",
|
||
|
]
|
||
|
}
|