OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//extensions/features/features.gni") | 5 # Currently, GuestViews are only used by extensions, so we have this |
6 | 6 # assert to prevent the accidental building of GuestViews on mobile |
7 assert(enable_extensions) | 7 # platforms. If you're now using GuestViews on mobile, go ahead and |
| 8 # remove this assert. |
| 9 assert(!is_android && !is_ios) |
8 | 10 |
9 static_library("renderer") { | 11 static_library("renderer") { |
10 sources = [ | 12 sources = [ |
11 "guest_view_container.cc", | 13 "guest_view_container.cc", |
12 "guest_view_container.h", | 14 "guest_view_container.h", |
13 "guest_view_container_dispatcher.cc", | 15 "guest_view_container_dispatcher.cc", |
14 "guest_view_container_dispatcher.h", | 16 "guest_view_container_dispatcher.h", |
15 "guest_view_request.cc", | 17 "guest_view_request.cc", |
16 "guest_view_request.h", | 18 "guest_view_request.h", |
17 "iframe_guest_view_container.cc", | 19 "iframe_guest_view_container.cc", |
18 "iframe_guest_view_container.h", | 20 "iframe_guest_view_container.h", |
19 "iframe_guest_view_request.cc", | 21 "iframe_guest_view_request.cc", |
20 "iframe_guest_view_request.h", | 22 "iframe_guest_view_request.h", |
21 ] | 23 ] |
22 | 24 |
23 deps = [ | 25 deps = [ |
24 "//base", | 26 "//base", |
25 "//components/guest_view/common", | 27 "//components/guest_view/common", |
26 "//content/public/common", | 28 "//content/public/common", |
27 "//content/public/renderer", | 29 "//content/public/renderer", |
28 "//third_party/WebKit/public:blink", | 30 "//third_party/WebKit/public:blink", |
29 "//v8", | 31 "//v8", |
30 ] | 32 ] |
31 | 33 |
32 public_deps = [ | 34 public_deps = [ |
33 "//ipc", | 35 "//ipc", |
34 ] | 36 ] |
35 } | 37 } |
OLD | NEW |