Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / guest_view.gypi
blob930c9a1370ef2d6cda11d2114a921dfa8b220171
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
3 # found in the LICENSE file.
5   'conditions': [
6     ['OS != "ios"', {
7       'targets': [
8         {
9           'target_name': 'guest_view_browser',
10           'type': 'static_library',
11           'dependencies': [
12             '../base/base.gyp:base',
13             '../content/content.gyp:content_browser',
14             '../content/content.gyp:content_common',
15             'guest_view_common'
16           ],
17           'include_dirs': [
18             '..',
19           ],
20           'sources': [
21             'guest_view/browser/guest_view.h',
22             'guest_view/browser/guest_view_base.cc',
23             'guest_view/browser/guest_view_base.h',
24             'guest_view/browser/guest_view_event.cc',
25             'guest_view/browser/guest_view_event.h',
26             'guest_view/browser/guest_view_manager.cc',
27             'guest_view/browser/guest_view_manager.h',
28             'guest_view/browser/guest_view_manager_delegate.cc',
29             'guest_view/browser/guest_view_manager_delegate.h',
30             'guest_view/browser/guest_view_manager_factory.h',
31             'guest_view/browser/guest_view_message_filter.cc',
32             'guest_view/browser/guest_view_message_filter.h',
33           ],
34         },
35         {
36           'target_name': 'guest_view_common',
37           'type': 'static_library',
38           'dependencies': [
39             '../base/base.gyp:base',
40             '../ipc/ipc.gyp:ipc',
41           ],
42           'include_dirs': [
43             '..',
44           ],
45           'sources': [
46             'guest_view/common/guest_view_constants.cc',
47             'guest_view/common/guest_view_constants.h',
48             'guest_view/common/guest_view_message_generator.cc',
49             'guest_view/common/guest_view_message_generator.h',
50             'guest_view/common/guest_view_messages.h',
51           ]
52         },
53         {
54           'target_name': 'guest_view_renderer',
55           'type': 'static_library',
56           'dependencies': [
57             '../base/base.gyp:base',
58             '../content/content.gyp:content_common',
59             '../content/content.gyp:content_renderer',
60             '../third_party/WebKit/public/blink.gyp:blink',
61             '../v8/tools/gyp/v8.gyp:v8',
62             'guest_view_common'
63           ],
64           'include_dirs': [
65             '..',
66           ],
67           'sources': [
68             'guest_view/renderer/guest_view_container_dispatcher.cc',
69             'guest_view/renderer/guest_view_container_dispatcher.h',
70             'guest_view/renderer/guest_view_container.cc',
71             'guest_view/renderer/guest_view_container.h',
72             'guest_view/renderer/guest_view_request.cc',
73             'guest_view/renderer/guest_view_request.h',
74             'guest_view/renderer/iframe_guest_view_container.cc',
75             'guest_view/renderer/iframe_guest_view_container.h',
76             'guest_view/renderer/iframe_guest_view_request.cc',
77             'guest_view/renderer/iframe_guest_view_request.h',
78           ],
79         },
80         {
81           'target_name': 'guest_view_test_support',
82           'type': 'static_library',
83           'dependencies': [
84             '../base/base.gyp:base',
85             '../content/content_shell_and_tests.gyp:test_support_content',
86             'guest_view_browser',
87           ],
88           'include_dirs': [
89             '..',
90           ],
91           'sources': [
92             'guest_view/browser/test_guest_view_manager.h',
93             'guest_view/browser/test_guest_view_manager.cc',
94           ],
95         }
96       ],
97         }]
98       ]