mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
66 lines
2.0 KiB
Plaintext
66 lines
2.0 KiB
Plaintext
# Copyright 2015 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.
|
|
|
|
# Currently, GuestViews are only used by extensions, so we have this
|
|
# assert to prevent the accidental building of GuestViews on mobile
|
|
# platforms. If you're now using GuestViews on mobile, go ahead and
|
|
# remove this assert.
|
|
assert(!is_android && !is_ios)
|
|
|
|
static_library("browser") {
|
|
output_name = "guest_view_browser"
|
|
sources = [
|
|
"//components/guest_view/browser/bad_message.cc",
|
|
"//components/guest_view/browser/bad_message.h",
|
|
"//components/guest_view/browser/guest_view.h",
|
|
"//components/guest_view/browser/guest_view_base.cc",
|
|
"//components/guest_view/browser/guest_view_base.h",
|
|
"//components/guest_view/browser/guest_view_event.cc",
|
|
"//components/guest_view/browser/guest_view_event.h",
|
|
"//components/guest_view/browser/guest_view_manager.cc",
|
|
"//components/guest_view/browser/guest_view_manager.h",
|
|
"//components/guest_view/browser/guest_view_manager_delegate.cc",
|
|
"//components/guest_view/browser/guest_view_manager_delegate.h",
|
|
"//components/guest_view/browser/guest_view_manager_factory.h",
|
|
"//components/guest_view/browser/guest_view_message_filter.cc",
|
|
"//components/guest_view/browser/guest_view_message_filter.h",
|
|
]
|
|
|
|
public_deps = [
|
|
"//base",
|
|
"//components/guest_view/common",
|
|
]
|
|
deps = [
|
|
"//components/zoom",
|
|
"//content/public/browser",
|
|
"//content/public/common",
|
|
"//ipc",
|
|
"//url",
|
|
]
|
|
}
|
|
|
|
static_library("test_support") {
|
|
testonly = true
|
|
sources = [
|
|
"//components/guest_view/browser/test_guest_view_manager.cc",
|
|
"//components/guest_view/browser/test_guest_view_manager.h",
|
|
]
|
|
|
|
public_deps = [
|
|
":browser",
|
|
"//content/test:test_support",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"guest_view_manager_unittest.cc",
|
|
]
|
|
deps = [
|
|
":test_support",
|
|
"//testing/gtest",
|
|
]
|
|
}
|