Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 # TODO(dmaclach): can we pick this up some other way? Right now it's | 7 # TODO(dmaclach): can we pick this up some other way? Right now it's |
| 8 # duplicated from chrome.gyp | 8 # duplicated from chrome.gyp |
| 9 'chromium_code': 1, | 9 'chromium_code': 1, |
| 10 # Use a consistent MIME-type independent of branding. | 10 # Use a consistent MIME-type independent of branding. |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 160 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)', | 160 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)', |
| 161 ], | 161 ], |
| 162 'dependencies': [ | 162 'dependencies': [ |
| 163 'remoting_base', | 163 'remoting_base', |
| 164 'remoting_host', | 164 'remoting_host', |
| 165 'remoting_jingle_glue', | 165 'remoting_jingle_glue', |
| 166 '../third_party/libvpx/libvpx.gyp:libvpx_lib', | 166 '../third_party/libvpx/libvpx.gyp:libvpx_lib', |
| 167 '../third_party/npapi/npapi.gyp:npapi', | 167 '../third_party/npapi/npapi.gyp:npapi', |
| 168 ], | 168 ], |
| 169 'sources': [ | 169 'sources': [ |
| 170 'host/continue_window.h', | 170 'host/continue_window.h', |
|
Sergey Ulanov
2011/06/21 18:19:31
I think these UI bits should be moved to the remot
| |
| 171 'host/continue_window_mac.mm', | 171 'host/continue_window_mac.mm', |
| 172 'host/continue_window_linux.cc', | 172 'host/continue_window_linux.cc', |
| 173 'host/continue_window_win.cc', | 173 'host/continue_window_win.cc', |
| 174 'host/disconnect_window_linux.cc', | 174 'host/disconnect_window_linux.cc', |
| 175 'host/disconnect_window_mac.h', | 175 'host/disconnect_window_mac.h', |
| 176 'host/disconnect_window_mac.mm', | 176 'host/disconnect_window_mac.mm', |
| 177 'host/disconnect_window_win.cc', | 177 'host/disconnect_window_win.cc', |
| 178 'host/host_plugin.cc', | 178 'host/plugin/host_plugin.cc', |
| 179 'host/host_plugin.def', | 179 'host/plugin/host_plugin.def', |
| 180 'host/host_plugin.rc', | 180 'host/plugin/host_plugin.rc', |
| 181 'host/host_plugin_resource.h', | 181 'host/plugin/host_plugin_resource.h', |
| 182 'host/host_plugin_utils.cc', | 182 'host/plugin/host_plugin_utils.cc', |
| 183 'host/host_plugin_utils.h', | 183 'host/plugin/host_plugin_utils.h', |
| 184 'host/host_script_object.cc', | 184 'host/plugin/host_script_object.cc', |
| 185 'host/host_script_object.h', | 185 'host/plugin/host_script_object.h', |
| 186 ], | 186 ], |
| 187 'conditions': [ | 187 'conditions': [ |
| 188 ['OS=="mac"', { | 188 ['OS=="mac"', { |
| 189 'mac_bundle': 1, | 189 'mac_bundle': 1, |
| 190 'xcode_settings': { | 190 'xcode_settings': { |
| 191 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 191 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
| 192 'INFOPLIST_FILE': 'host/host_plugin-Info.plist', | 192 'INFOPLIST_FILE': 'host/host_plugin-Info.plist', |
| 193 'INFOPLIST_PREPROCESS': 'YES', | 193 'INFOPLIST_PREPROCESS': 'YES', |
| 194 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE=<(host_ plugin_mime_type)', | 194 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE=<(host_ plugin_mime_type)', |
| 195 'WRAPPER_EXTENSION': '<(plugin_extension)', | 195 'WRAPPER_EXTENSION': '<(plugin_extension)', |
| 196 'OTHER_LDFLAGS': [ # TODO(wez): Remove if libvpx gets PIC-fixed. | 196 'OTHER_LDFLAGS': [ # TODO(wez): Remove if libvpx gets PIC-fixed. |
| 197 # This is needed because at least part of libvpx is not | 197 # This is needed because at least part of libvpx is not |
| 198 # PIC-friendly, thus we need to instruct the linker to allow | 198 # PIC-friendly, thus we need to instruct the linker to allow |
| 199 # relocations for read-only segments for this target to be able | 199 # relocations for read-only segments for this target to be able |
| 200 # to generated the shared library on Mac. | 200 # to generated the shared library on Mac. |
| 201 # | 201 # |
| 202 # This hack is cribbed from ffmpeg.gyp, and makes someone called | 202 # This hack is cribbed from ffmpeg.gyp, and makes someone called |
| 203 # Mark sad, so at least I'm not alone. | 203 # Mark sad, so at least I'm not alone. |
| 204 '-Wl,-read_only_relocs,suppress', | 204 '-Wl,-read_only_relocs,suppress', |
| 205 ], | 205 ], |
| 206 }, | 206 }, |
| 207 # TODO(mark): Come up with a fancier way to do this. It should | 207 # TODO(mark): Come up with a fancier way to do this. It should |
| 208 # only be necessary to list framework-Info.plist once, not the | 208 # only be necessary to list framework-Info.plist once, not the |
| 209 # three times it is listed here. | 209 # three times it is listed here. |
| 210 'mac_bundle_resources': [ | 210 'mac_bundle_resources': [ |
| 211 'host/disconnect_window.xib', | 211 'host/disconnect_window.xib', |
| 212 'host/host_plugin-Info.plist', | 212 'host/plugin/host_plugin-Info.plist', |
| 213 ], | 213 ], |
| 214 'mac_bundle_resources!': [ | 214 'mac_bundle_resources!': [ |
| 215 'host/host_plugin-Info.plist', | 215 'host/plugin/host_plugin-Info.plist', |
| 216 ], | 216 ], |
| 217 }], | 217 }], |
| 218 ['OS=="win"', { # TODO(wez): Remove if libvpx is built by MSVC. | 218 ['OS=="win"', { # TODO(wez): Remove if libvpx is built by MSVC. |
| 219 'msvs_settings': { | 219 'msvs_settings': { |
| 220 'VCLinkerTool': { | 220 'VCLinkerTool': { |
| 221 'AdditionalOptions!': [ | 221 'AdditionalOptions!': [ |
| 222 '/safeseh', | 222 '/safeseh', |
| 223 ], | 223 ], |
| 224 }, | 224 }, |
| 225 }, | 225 }, |
| 226 }], | 226 }], |
| 227 ['OS!="win"', { | 227 ['OS!="win"', { |
| 228 'sources!': [ | 228 'sources!': [ |
| 229 'host/host_plugin.def', | 229 'host/plugin/host_plugin.def', |
| 230 'host/host_plugin.rc', | 230 'host/plugin/host_plugin.rc', |
| 231 ], | 231 ], |
| 232 }], | 232 }], |
| 233 ], | 233 ], |
| 234 }, # end of target 'remoting_host_plugin' | 234 }, # end of target 'remoting_host_plugin' |
| 235 { | 235 { |
| 236 'target_name': 'webapp_it2me', | 236 'target_name': 'webapp_it2me', |
| 237 'type': 'none', | 237 'type': 'none', |
| 238 'dependencies': [ | 238 'dependencies': [ |
| 239 'remoting_host_plugin', | 239 'remoting_host_plugin', |
| 240 ], | 240 ], |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 783 ], # end of 'conditions' | 783 ], # end of 'conditions' |
| 784 }, # end of target 'remoting_unittests' | 784 }, # end of target 'remoting_unittests' |
| 785 ], # end of targets | 785 ], # end of targets |
| 786 } | 786 } |
| 787 | 787 |
| 788 # Local Variables: | 788 # Local Variables: |
| 789 # tab-width:2 | 789 # tab-width:2 |
| 790 # indent-tabs-mode:nil | 790 # indent-tabs-mode:nil |
| 791 # End: | 791 # End: |
| 792 # vim: set expandtab tabstop=2 shiftwidth=2: | 792 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |