naiveproxy/ios/chrome/browser/ui/main_content/BUILD.gn
2018-02-02 05:49:39 -05:00

81 lines
1.9 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",
]
configs += [ "//build/config/compiler:enable_arc" ]
deps = [
"//base",
"//ios/chrome/browser/ui:ui_util",
"//ios/chrome/browser/ui/broadcaster",
]
}
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",
]
}