Updating trunk VERSION from 804.0 to 805.0
[chromium-blink-merge.git] / chrome / chrome_renderer.gypi
blobd5c8523a106889ca9a23154af05bceb216255b5c
1 # Copyright (c) 2011 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.
6   'targets': [
7     {
8       'target_name': 'renderer',
9       'type': 'static_library',
10       'dependencies': [
11         'common',
12         'common_net',
13         'chrome_resources',
14         'chrome_strings',
15         '../content/content.gyp:content_renderer',
16         '../content/content.gyp:content_plugin',
17         '../net/net.gyp:net',
18         '../ppapi/ppapi_internal.gyp:ppapi_proxy',
19         '../printing/printing.gyp:printing',
20         '../skia/skia.gyp:skia',
21         '../third_party/cld/cld.gyp:cld',
22         '../third_party/hunspell/hunspell.gyp:hunspell',
23         '../third_party/icu/icu.gyp:icui18n',
24         '../third_party/icu/icu.gyp:icuuc',
25         '../third_party/npapi/npapi.gyp:npapi',
26         '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
27         '../ui/gfx/surface/surface.gyp:surface',
28         '../webkit/support/webkit_support.gyp:glue',
29         '../webkit/support/webkit_support.gyp:webkit_gpu',
30         '../webkit/support/webkit_support.gyp:webkit_resources',
31       ],
32       'include_dirs': [
33         '..',
34         '../third_party/cld',
35       ],
36       'defines': [
37         '<@(nacl_defines)',
38       ],
39       'direct_dependent_settings': {
40         'defines': [
41           '<@(nacl_defines)',
42         ],
43       },
44       'sources': [
45         'renderer/autofill/autofill_agent.cc',
46         'renderer/autofill/autofill_agent.h',
47         'renderer/autofill/form_manager.cc',
48         'renderer/autofill/form_manager.h',
49         'renderer/autofill/password_autofill_manager.cc',
50         'renderer/autofill/password_autofill_manager.h',
51         'renderer/automation/automation_renderer_helper.cc',
52         'renderer/automation/automation_renderer_helper.h',
53         'renderer/automation/dom_automation_controller.cc',
54         'renderer/automation/dom_automation_controller.h',
55         'renderer/automation/dom_automation_v8_extension.cc',
56         'renderer/automation/dom_automation_v8_extension.h',
57         'renderer/extensions/bindings_utils.cc',
58         'renderer/extensions/bindings_utils.h',
59         'renderer/extensions/chrome_app_bindings.cc',
60         'renderer/extensions/chrome_app_bindings.h',
61         'renderer/extensions/event_bindings.cc',
62         'renderer/extensions/event_bindings.h',
63         'renderer/extensions/extension_dispatcher.cc',
64         'renderer/extensions/extension_dispatcher.h',
65         'renderer/extensions/extension_groups.h',
66         'renderer/extensions/extension_helper.cc',
67         'renderer/extensions/extension_helper.h',
68         'renderer/extensions/extension_process_bindings.cc',
69         'renderer/extensions/extension_process_bindings.h',
70         'renderer/extensions/extension_resource_request_policy.cc',
71         'renderer/extensions/extension_resource_request_policy.h',
72         'renderer/extensions/js_only_v8_extensions.cc',
73         'renderer/extensions/js_only_v8_extensions.h',
74         'renderer/extensions/renderer_extension_bindings.cc',
75         'renderer/extensions/renderer_extension_bindings.h',
76         'renderer/extensions/user_script_idle_scheduler.cc',
77         'renderer/extensions/user_script_idle_scheduler.h',
78         'renderer/extensions/user_script_slave.cc',
79         'renderer/extensions/user_script_slave.h',
80         'renderer/loadtimes_extension_bindings.h',
81         'renderer/loadtimes_extension_bindings.cc',
82         'renderer/net/predictor_queue.cc',
83         'renderer/net/predictor_queue.h',
84         'renderer/net/renderer_net_predictor.cc',
85         'renderer/net/renderer_net_predictor.h',
86         'renderer/resources/event_bindings.js',
87         'renderer/resources/extension_apitest.js',
88         'renderer/resources/extension_process_bindings.js',
89         'renderer/resources/greasemonkey_api.js',
90         'renderer/resources/json_schema.js',
91         'renderer/resources/renderer_extension_bindings.js',
92         'renderer/about_handler.cc',
93         'renderer/about_handler.h',
94         'renderer/blocked_plugin.cc',
95         'renderer/blocked_plugin.h',
96         'renderer/chrome_content_renderer_client.cc',
97         'renderer/chrome_content_renderer_client.h',
98         'renderer/chrome_ppapi_interfaces.cc',
99         'renderer/chrome_ppapi_interfaces.h',
100         'renderer/chrome_ppb_pdf_impl.cc',
101         'renderer/chrome_ppb_pdf_impl.h',
102         'renderer/chrome_render_process_observer.cc',
103         'renderer/chrome_render_process_observer.h',
104         'renderer/chrome_render_view_observer.cc',
105         'renderer/chrome_render_view_observer.h',
106         'renderer/content_settings_observer.cc',
107         'renderer/content_settings_observer.h',
108         'renderer/devtools_agent.cc',
109         'renderer/devtools_agent.h',
110         'renderer/devtools_agent_filter.cc',
111         'renderer/devtools_agent_filter.h',
112         'renderer/devtools_client.cc',
113         'renderer/devtools_client.h',
114         'renderer/external_host_bindings.cc',
115         'renderer/external_host_bindings.h',
116         'renderer/external_extension.cc',
117         'renderer/external_extension.h',
118         'renderer/localized_error.cc',
119         'renderer/localized_error.h',
120         'renderer/mhtml_generator.cc',
121         'renderer/mhtml_generator.h',
122         'renderer/page_click_listener.h',
123         'renderer/page_click_tracker.cc',
124         'renderer/page_click_tracker.h',
125         'renderer/page_load_histograms.cc',
126         'renderer/page_load_histograms.h',
127         'renderer/prerender/prerender_helper.cc',
128         'renderer/prerender/prerender_helper.h',
129         'renderer/print_web_view_helper.cc',
130         'renderer/print_web_view_helper.h',
131         'renderer/print_web_view_helper_linux.cc',
132         'renderer/print_web_view_helper_mac.mm',
133         'renderer/print_web_view_helper_win.cc',
134         'renderer/renderer_histogram_snapshots.cc',
135         'renderer/renderer_histogram_snapshots.h',
136         'renderer/safe_browsing/feature_extractor_clock.cc',
137         'renderer/safe_browsing/feature_extractor_clock.h',
138         'renderer/safe_browsing/features.cc',
139         'renderer/safe_browsing/features.h',
140         'renderer/safe_browsing/malware_dom_details.cc',
141         'renderer/safe_browsing/malware_dom_details.h',
142         'renderer/safe_browsing/phishing_classifier.cc',
143         'renderer/safe_browsing/phishing_classifier.h',
144         'renderer/safe_browsing/phishing_classifier_delegate.cc',
145         'renderer/safe_browsing/phishing_classifier_delegate.h',
146         'renderer/safe_browsing/phishing_dom_feature_extractor.cc',
147         'renderer/safe_browsing/phishing_dom_feature_extractor.h',
148         'renderer/safe_browsing/phishing_term_feature_extractor.cc',
149         'renderer/safe_browsing/phishing_term_feature_extractor.h',
150         'renderer/safe_browsing/phishing_thumbnailer.cc',
151         'renderer/safe_browsing/phishing_thumbnailer.h',
152         'renderer/safe_browsing/phishing_url_feature_extractor.cc',
153         'renderer/safe_browsing/phishing_url_feature_extractor.h',
154         'renderer/safe_browsing/scorer.cc',
155         'renderer/safe_browsing/scorer.h',
156         'renderer/search_extension.cc',
157         'renderer/search_extension.h',
158         'renderer/searchbox.cc',
159         'renderer/searchbox.h',
160         'renderer/searchbox_extension.cc',
161         'renderer/searchbox_extension.h',
162         'renderer/security_filter_peer.cc',
163         'renderer/security_filter_peer.h',
164         'renderer/spellchecker/spellcheck_provider.cc',
165         'renderer/spellchecker/spellcheck_provider.h',
166         'renderer/spellchecker/spellcheck.cc',
167         'renderer/spellchecker/spellcheck.h',
168         'renderer/spellchecker/spellcheck_worditerator.cc',
169         'renderer/spellchecker/spellcheck_worditerator.h',
170         'renderer/translate_helper.cc',
171         'renderer/translate_helper.h',
172         'renderer/text_input_client_observer.cc',
173         'renderer/text_input_client_observer.h',
174         'renderer/visitedlink_slave.cc',
175         'renderer/visitedlink_slave.h',
176       ],
177       'conditions': [
178         ['disable_nacl!=1', {
179           'dependencies': [
180             'nacl',
181           ],
182           'sources': [
183             'renderer/nacl_desc_wrapper_chrome.cc',
184           ],
185         }],
186         ['OS=="mac"', {
187           'dependencies': [
188             '../third_party/mach_override/mach_override.gyp:mach_override',
189           ],
190         }],
191         ['toolkit_uses_gtk == 1', {
192           'conditions': [
193             [ 'linux_use_tcmalloc==1', {
194                 'dependencies': [
195                   '../base/allocator/allocator.gyp:allocator',
196                 ],
197               },
198             ],
199           ],
200           'dependencies': [
201             '../build/linux/system.gyp:gtk',
202             '../sandbox/sandbox.gyp:sandbox',
203           ],
204         }],
205         ['OS=="win"', {
206           'include_dirs': [
207             '<(DEPTH)/third_party/wtl/include',
208           ],
209           'conditions': [
210             ['win_use_allocator_shim==1', {
211               'dependencies': [
212                 '<(allocator_target)',
213               ],
214               'export_dependent_settings': [
215                 '<(allocator_target)',
216               ],
217             }],
218           ],
219         }],
220       ],
221     },
222   ],
225 # Local Variables:
226 # tab-width:2
227 # indent-tabs-mode:nil
228 # End:
229 # vim: set expandtab tabstop=2 shiftwidth=2: