mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
85 lines
2.1 KiB
Plaintext
85 lines
2.1 KiB
Plaintext
# Copyright 2017 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("main_content") {
|
|
sources = [
|
|
"main_content_coordinator.h",
|
|
"main_content_coordinator.mm",
|
|
]
|
|
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
|
|
deps = [
|
|
":main_content_ui",
|
|
":main_content_ui_broadcasting_util",
|
|
"//base",
|
|
"//ios/chrome/browser/ui/browser_list",
|
|
"//ios/chrome/browser/ui/coordinators",
|
|
]
|
|
}
|
|
|
|
source_set("main_content_ui") {
|
|
sources = [
|
|
"main_content_ui.h",
|
|
"main_content_ui_state.h",
|
|
"main_content_ui_state.mm",
|
|
"web_scroll_view_main_content_ui_forwarder.h",
|
|
"web_scroll_view_main_content_ui_forwarder.mm",
|
|
]
|
|
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//ios/chrome/browser/ui:ui_util",
|
|
"//ios/chrome/browser/ui/broadcaster",
|
|
"//ios/chrome/browser/web_state_list",
|
|
"//ios/web/public",
|
|
]
|
|
}
|
|
|
|
source_set("main_content_ui_broadcasting_util") {
|
|
sources = [
|
|
"main_content_ui_broadcasting_util.h",
|
|
"main_content_ui_broadcasting_util.mm",
|
|
]
|
|
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
|
|
deps = [
|
|
":main_content_ui",
|
|
"//ios/chrome/browser/ui/broadcaster",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"main_content_coordinator_unittest.mm",
|
|
"main_content_ui_broadcasting_util_unittest.mm",
|
|
"main_content_ui_state_unittest.mm",
|
|
]
|
|
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
|
|
deps = [
|
|
":main_content",
|
|
":main_content_ui",
|
|
":main_content_ui_broadcasting_util",
|
|
"//base",
|
|
"//base/test:test_support",
|
|
"//ios/chrome/browser/ui:ui_util",
|
|
"//ios/chrome/browser/ui/broadcaster",
|
|
"//ios/chrome/browser/ui/browser_list",
|
|
"//ios/chrome/browser/ui/coordinators",
|
|
"//ios/chrome/browser/ui/coordinators:test_support",
|
|
"//ios/chrome/browser/ui/main_content/test",
|
|
"//ios/chrome/browser/web_state_list",
|
|
"//ios/chrome/test/base",
|
|
"//ios/web/public/test",
|
|
"//ios/web/public/test/fakes",
|
|
"//testing/gtest",
|
|
]
|
|
}
|