bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 1 | # Copyright (c) 2009 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. |
| 4 | |
| 5 | { |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'renderer', |
| 9 | 'type': '<(library)', |
| 10 | 'msvs_guid': '9301A569-5D2B-4D11-9332-B1E30AEACB8D', |
| 11 | 'dependencies': [ |
| 12 | 'common', |
| 13 | 'plugin', |
| 14 | 'chrome_resources', |
| 15 | 'chrome_strings', |
| 16 | '../printing/printing.gyp:printing', |
| 17 | '../skia/skia.gyp:skia', |
| 18 | '../third_party/hunspell/hunspell.gyp:hunspell', |
jshin@chromium.org | 8dc5a205 | 2010-01-19 21:32:42 | [diff] [blame] | 19 | '../third_party/cld/cld.gyp:cld', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 20 | '../third_party/icu/icu.gyp:icui18n', |
| 21 | '../third_party/icu/icu.gyp:icuuc', |
| 22 | '../third_party/npapi/npapi.gyp:npapi', |
| 23 | # TODO(yaar): Should only stop depending on webcore and depend |
| 24 | # only on webkit. |
| 25 | '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore', |
| 26 | '../third_party/WebKit/WebKit/chromium/WebKit.gyp:webkit', |
| 27 | '../webkit/webkit.gyp:glue', |
| 28 | ], |
| 29 | 'include_dirs': [ |
| 30 | '..', |
jshin@chromium.org | 8dc5a205 | 2010-01-19 21:32:42 | [diff] [blame] | 31 | '../third_party/cld', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 32 | ], |
| 33 | 'defines': [ |
| 34 | '<@(nacl_defines)', |
| 35 | ], |
gregoryd@google.com | 3b32fa6 | 2010-02-25 23:17:09 | [diff] [blame] | 36 | 'direct_dependent_settings': { |
| 37 | 'defines': [ |
| 38 | '<@(nacl_defines)', |
| 39 | ], |
| 40 | }, |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 41 | 'sources': [ |
| 42 | # TODO(jrg): to link ipc_tests, these files need to be in renderer.a. |
| 43 | # But app/ is the wrong directory for them. |
| 44 | # Better is to remove the dep of *_tests on renderer, but in the |
| 45 | # short term I'd like the build to work. |
| 46 | 'renderer/automation/dom_automation_controller.cc', |
| 47 | 'renderer/automation/dom_automation_controller.h', |
| 48 | 'renderer/extensions/bindings_utils.cc', |
| 49 | 'renderer/extensions/bindings_utils.h', |
| 50 | 'renderer/extensions/event_bindings.cc', |
| 51 | 'renderer/extensions/event_bindings.h', |
| 52 | 'renderer/extensions/extension_process_bindings.cc', |
| 53 | 'renderer/extensions/extension_process_bindings.h', |
| 54 | 'renderer/extensions/js_only_v8_extensions.cc', |
| 55 | 'renderer/extensions/js_only_v8_extensions.h', |
| 56 | 'renderer/extensions/renderer_extension_bindings.cc', |
| 57 | 'renderer/extensions/renderer_extension_bindings.h', |
apatrick@chromium.org | 6ee6972 | 2010-03-08 21:32:38 | [diff] [blame] | 58 | 'renderer/ggl/ggl.cc', |
| 59 | 'renderer/ggl/ggl.h', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 60 | 'renderer/loadtimes_extension_bindings.h', |
| 61 | 'renderer/loadtimes_extension_bindings.cc', |
| 62 | 'renderer/media/audio_renderer_impl.cc', |
| 63 | 'renderer/media/audio_renderer_impl.h', |
scherkus@chromium.org | 8400e03 | 2010-02-26 18:50:11 | [diff] [blame] | 64 | 'renderer/media/ipc_video_renderer.cc', |
| 65 | 'renderer/media/ipc_video_renderer.h', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 66 | 'renderer/net/render_dns_master.cc', |
| 67 | 'renderer/net/render_dns_master.h', |
| 68 | 'renderer/net/render_dns_queue.cc', |
| 69 | 'renderer/net/render_dns_queue.h', |
| 70 | 'renderer/resources/event_bindings.js', |
| 71 | 'renderer/resources/extension_apitest.js', |
| 72 | 'renderer/resources/extension_process_bindings.js', |
| 73 | 'renderer/resources/greasemonkey_api.js', |
| 74 | 'renderer/resources/json_schema.js', |
| 75 | 'renderer/resources/renderer_extension_bindings.js', |
| 76 | 'renderer/about_handler.cc', |
| 77 | 'renderer/about_handler.h', |
| 78 | 'renderer/audio_message_filter.cc', |
| 79 | 'renderer/audio_message_filter.h', |
darin@chromium.org | dd924193 | 2010-02-24 19:23:13 | [diff] [blame] | 80 | 'renderer/cookie_message_filter.cc', |
| 81 | 'renderer/cookie_message_filter.h', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 82 | 'renderer/devtools_agent.cc', |
| 83 | 'renderer/devtools_agent.h', |
| 84 | 'renderer/devtools_agent_filter.cc', |
| 85 | 'renderer/devtools_agent_filter.h', |
| 86 | 'renderer/devtools_client.cc', |
| 87 | 'renderer/devtools_client.h', |
| 88 | 'renderer/dom_ui_bindings.cc', |
| 89 | 'renderer/dom_ui_bindings.h', |
| 90 | 'renderer/extension_groups.h', |
| 91 | 'renderer/external_host_bindings.cc', |
| 92 | 'renderer/external_host_bindings.h', |
| 93 | 'renderer/external_extension.cc', |
| 94 | 'renderer/external_extension.h', |
jhawkins@chromium.org | 3a60d23 | 2010-02-05 01:30:49 | [diff] [blame] | 95 | 'renderer/form_manager.cc', |
| 96 | 'renderer/form_manager.h', |
bulach@chromium.org | 58c321d | 2010-02-19 12:11:28 | [diff] [blame] | 97 | 'renderer/geolocation_dispatcher.cc', |
| 98 | 'renderer/geolocation_dispatcher.h', |
apatrick@chromium.org | 246a7045 | 2010-03-05 21:53:50 | [diff] [blame] | 99 | 'renderer/gpu_channel_host.cc', |
| 100 | 'renderer/gpu_channel_host.h', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 101 | 'renderer/localized_error.cc', |
| 102 | 'renderer/localized_error.h', |
| 103 | 'renderer/navigation_state.h', |
| 104 | 'renderer/notification_provider.cc', |
| 105 | 'renderer/notification_provider.h', |
| 106 | 'renderer/paint_aggregator.cc', |
neb@chromium.org | 9e7e0e0 | 2010-01-25 23:25:16 | [diff] [blame] | 107 | 'renderer/pepper_devices.cc', |
| 108 | 'renderer/pepper_devices.h', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 109 | 'renderer/plugin_channel_host.cc', |
| 110 | 'renderer/plugin_channel_host.h', |
| 111 | 'renderer/print_web_view_helper.cc', |
| 112 | 'renderer/print_web_view_helper.h', |
| 113 | 'renderer/print_web_view_helper_linux.cc', |
| 114 | 'renderer/print_web_view_helper_mac.mm', |
| 115 | 'renderer/print_web_view_helper_win.cc', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 116 | 'renderer/render_process.h', |
brettw@chromium.org | 00c3961 | 2010-03-06 02:53:28 | [diff] [blame] | 117 | 'renderer/render_process_impl.cc', |
| 118 | 'renderer/render_process_impl.h', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 119 | 'renderer/render_thread.cc', |
| 120 | 'renderer/render_thread.h', |
| 121 | 'renderer/render_view.cc', |
| 122 | 'renderer/render_view_linux.cc', |
| 123 | 'renderer/render_view.h', |
| 124 | 'renderer/render_widget.cc', |
| 125 | 'renderer/render_widget.h', |
| 126 | 'renderer/renderer_glue.cc', |
| 127 | 'renderer/renderer_histogram_snapshots.cc', |
| 128 | 'renderer/renderer_histogram_snapshots.h', |
| 129 | 'renderer/renderer_main.cc', |
| 130 | 'renderer/renderer_main_platform_delegate.h', |
| 131 | 'renderer/renderer_main_platform_delegate_linux.cc', |
| 132 | 'renderer/renderer_main_platform_delegate_mac.mm', |
| 133 | 'renderer/renderer_main_platform_delegate_win.cc', |
| 134 | 'renderer/renderer_sandbox_support_linux.cc', |
| 135 | 'renderer/renderer_sandbox_support_linux.h', |
darin@chromium.org | b921cfd | 2010-02-25 16:57:51 | [diff] [blame] | 136 | 'renderer/renderer_webcookiejar_impl.cc', |
| 137 | 'renderer/renderer_webcookiejar_impl.h', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 138 | 'renderer/renderer_webkitclient_impl.cc', |
| 139 | 'renderer/renderer_webkitclient_impl.h', |
| 140 | 'renderer/renderer_webstoragearea_impl.cc', |
| 141 | 'renderer/renderer_webstoragearea_impl.h', |
| 142 | 'renderer/renderer_webstoragenamespace_impl.cc', |
| 143 | 'renderer/renderer_webstoragenamespace_impl.h', |
| 144 | 'renderer/renderer_web_database_observer.cc', |
| 145 | 'renderer/renderer_web_database_observer.h', |
| 146 | 'renderer/spellchecker/spellcheck.cc', |
| 147 | 'renderer/spellchecker/spellcheck.h', |
| 148 | 'renderer/spellchecker/spellcheck_worditerator.cc', |
| 149 | 'renderer/spellchecker/spellcheck_worditerator.h', |
jcampan@chromium.org | 0bedb8a | 2010-01-14 19:36:32 | [diff] [blame] | 150 | 'renderer/translate/text_translator.h', |
| 151 | 'renderer/translate/text_translator_impl.cc', |
| 152 | 'renderer/translate/text_translator_impl.h', |
| 153 | 'renderer/translate/page_translator.cc', |
| 154 | 'renderer/translate/page_translator.h', |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 155 | 'renderer/user_script_idle_scheduler.cc', |
| 156 | 'renderer/user_script_idle_scheduler.h', |
| 157 | 'renderer/user_script_slave.cc', |
| 158 | 'renderer/user_script_slave.h', |
| 159 | 'renderer/visitedlink_slave.cc', |
| 160 | 'renderer/visitedlink_slave.h', |
| 161 | 'renderer/webplugin_delegate_proxy.cc', |
| 162 | 'renderer/webplugin_delegate_proxy.h', |
| 163 | 'renderer/webplugin_delegate_pepper.cc', |
| 164 | 'renderer/webplugin_delegate_pepper.h', |
| 165 | 'renderer/websharedworker_proxy.cc', |
| 166 | 'renderer/websharedworker_proxy.h', |
| 167 | 'renderer/websharedworkerrepository_impl.cc', |
| 168 | 'renderer/websharedworkerrepository_impl.h', |
| 169 | 'renderer/webworker_base.cc', |
| 170 | 'renderer/webworker_base.h', |
| 171 | 'renderer/webworker_proxy.cc', |
| 172 | 'renderer/webworker_proxy.h', |
| 173 | ], |
| 174 | 'link_settings': { |
| 175 | 'mac_bundle_resources': [ |
| 176 | 'renderer/renderer.sb', |
| 177 | ], |
| 178 | }, |
| 179 | 'conditions': [ |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 180 | ['disable_nacl!=1', { |
| 181 | 'dependencies': [ |
| 182 | 'nacl', |
| 183 | ], |
| 184 | }], |
| 185 | # Linux-specific rules. |
| 186 | ['OS=="linux"', { |
willchan@chromium.org | 42808d1 | 2010-03-12 19:10:32 | [diff] [blame] | 187 | 'conditions': [ |
| 188 | [ 'linux_use_tcmalloc==1', { |
| 189 | 'dependencies': [ |
| 190 | '../base/allocator/allocator.gyp:allocator', |
| 191 | ], |
| 192 | }, |
| 193 | ], |
| 194 | ], |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 195 | 'dependencies': [ |
| 196 | '../build/linux/system.gyp:gtk', |
| 197 | '../sandbox/sandbox.gyp:sandbox', |
| 198 | ], |
| 199 | }], |
pvalchev@google.com | 6981f7f | 2010-03-09 00:53:03 | [diff] [blame] | 200 | # BSD-specific rules. |
| 201 | ['OS=="openbsd" or OS=="freebsd"', { |
| 202 | 'dependencies': [ |
| 203 | '../build/linux/system.gyp:gtk', |
| 204 | ], |
| 205 | }], |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 206 | # Windows-specific rules. |
| 207 | ['OS=="win"', { |
| 208 | 'include_dirs': [ |
tony@chromium.org | cd134c8c | 2010-03-09 05:23:12 | [diff] [blame] | 209 | '<(DEPTH)/third_party/wtl/include', |
jshin@chromium.org | fd2a9927 | 2010-01-19 21:23:27 | [diff] [blame] | 210 | ], |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 211 | 'conditions': [ |
| 212 | ['win_use_allocator_shim==1', { |
| 213 | 'dependencies': [ |
| 214 | '<(allocator_target)', |
| 215 | ], |
| 216 | 'export_dependent_settings': [ |
| 217 | '<(allocator_target)', |
| 218 | ], |
| 219 | }], |
piman@chromium.org | 4049046 | 2010-01-05 03:07:07 | [diff] [blame] | 220 | ], |
| 221 | }], |
kbr@google.com | 43f28f83 | 2010-02-03 02:28:48 | [diff] [blame] | 222 | ['enable_gpu==1', { |
apatrick@chromium.org | 6ee6972 | 2010-03-08 21:32:38 | [diff] [blame] | 223 | 'dependencies': [ |
| 224 | '../gpu/gpu.gyp:gles2_c_lib', |
| 225 | ], |
piman@chromium.org | be4f188 | 2010-01-06 04:38:55 | [diff] [blame] | 226 | 'sources': [ |
| 227 | 'renderer/command_buffer_proxy.cc', |
| 228 | 'renderer/command_buffer_proxy.h', |
| 229 | ], |
| 230 | }], |
bradnelson@google.com | c8719b4 | 2009-12-07 22:19:30 | [diff] [blame] | 231 | ], |
| 232 | }, |
| 233 | ], |
| 234 | } |
| 235 | |
| 236 | # Local Variables: |
| 237 | # tab-width:2 |
| 238 | # indent-tabs-mode:nil |
| 239 | # End: |
| 240 | # vim: set expandtab tabstop=2 shiftwidth=2: |