| 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. |
| 11 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', | 11 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', |
| 12 'conditions': [ | 12 'conditions': [ |
| 13 ['OS=="mac"', { | 13 ['OS=="mac"', { |
| 14 'conditions': [ | 14 'conditions': [ |
| 15 ['branding=="Chrome"', { | 15 ['branding=="Chrome"', { |
| 16 'mac_bundle_id': 'com.google.Chrome', | 16 'mac_bundle_id': 'com.google.Chrome', |
| 17 'mac_creator': 'rimZ', | 17 'mac_creator': 'rimZ', |
| 18 }, { # else: branding!="Chrome" | 18 }, { # else: branding!="Chrome" |
| 19 'mac_bundle_id': 'org.chromium.Chromium', | 19 'mac_bundle_id': 'org.chromium.Chromium', |
| 20 'mac_creator': 'Cr24', | 20 'mac_creator': 'Cr24', |
| 21 }], # branding | 21 }], # branding |
| 22 ], # conditions | 22 ], # conditions |
| 23 'plugin_extension': 'plugin', | 23 'plugin_extension': 'plugin', |
| 24 'plugin_prefix': '', | 24 'plugin_prefix': '', |
| 25 'name_suffix': '- Mac', | 25 'name_suffix': '- Mac', |
| 26 'remoting_it2me_os_files': [ | 26 'remoting_it2me_os_files': [ |
| 27 'resources/mac/chromoting128.png', | 27 # Empty for now, may be used in future. |
| 28 'resources/mac/chromoting16.png', | |
| 29 ], | 28 ], |
| 30 }], | 29 }], |
| 31 ['os_posix == 1 and OS != "mac"', { | 30 ['os_posix == 1 and OS != "mac"', { |
| 32 'plugin_extension': 'so', | 31 'plugin_extension': 'so', |
| 33 'plugin_prefix': 'lib', | 32 'plugin_prefix': 'lib', |
| 34 }], | 33 }], |
| 35 ['OS=="linux" and chromeos==1', { | 34 ['OS=="linux" and chromeos==1', { |
| 36 'name_suffix': '- Chromebook', | 35 'name_suffix': '- Chromebook', |
| 37 'remoting_it2me_os_files': [ | 36 'remoting_it2me_os_files': [ |
| 38 'resources/chromeos/chromoting128.png', | 37 # Empty for now, may be used in future. |
| 39 'resources/chromeos/chromoting16.png', | |
| 40 ], | 38 ], |
| 41 }], | 39 }], |
| 42 ['OS=="linux" and chromeos==0 and target_arch=="x64"', { | 40 ['OS=="linux" and chromeos==0 and target_arch=="x64"', { |
| 43 'name_suffix': '- Linux - 64', | 41 'name_suffix': '- Linux - 64', |
| 44 'remoting_it2me_os_files': [ | 42 'remoting_it2me_os_files': [ |
| 45 'resources/linux/chromoting128.png', | 43 # Empty for now, may be used in future. |
| 46 'resources/linux/chromoting16.png', | |
| 47 ], | 44 ], |
| 48 }], | 45 }], |
| 49 ['OS=="linux" and chromeos==0 and target_arch!="x64"', { | 46 ['OS=="linux" and chromeos==0 and target_arch!="x64"', { |
| 50 'name_suffix': '- Linux', | 47 'name_suffix': '- Linux', |
| 51 'remoting_it2me_os_files': [ | 48 'remoting_it2me_os_files': [ |
| 52 'resources/linux/chromoting128.png', | 49 # Empty for now, may be used in future. |
| 53 'resources/linux/chromoting16.png', | |
| 54 ], | 50 ], |
| 55 }], | 51 }], |
| 56 ['OS=="win"', { | 52 ['OS=="win"', { |
| 57 'plugin_extension': 'dll', | 53 'plugin_extension': 'dll', |
| 58 'plugin_prefix': '', | 54 'plugin_prefix': '', |
| 59 'name_suffix': '- Windows', | 55 'name_suffix': '- Windows', |
| 60 'remoting_it2me_os_files': [ | 56 'remoting_it2me_os_files': [ |
| 61 'resources/win/chromoting128.png', | 57 # Empty for now, may be used in future. |
| 62 'resources/win/chromoting16.png', | |
| 63 ], | 58 ], |
| 64 }], | 59 }], |
| 65 ], | 60 ], |
| 66 'remoting_it2me_files': [ | 61 'remoting_it2me_files': [ |
| 67 'resources/icon_warning.png', | 62 'resources/icon_warning.png', |
| 68 'webapp/me2mom/choice.css', | 63 'webapp/me2mom/choice.css', |
| 69 'webapp/me2mom/choice.html', | 64 'webapp/me2mom/choice.html', |
| 70 'webapp/me2mom/client_session.js', | 65 'webapp/me2mom/client_session.js', |
| 71 'webapp/me2mom/cs_oauth2_trampoline.js', | 66 'webapp/me2mom/cs_oauth2_trampoline.js', |
| 72 'webapp/me2mom/debug_log.css', | 67 'webapp/me2mom/debug_log.css', |
| 73 'webapp/me2mom/debug_log.js', | 68 'webapp/me2mom/debug_log.js', |
| 74 'webapp/me2mom/dividerbottom.png', | 69 'webapp/me2mom/dividerbottom.png', |
| 75 'webapp/me2mom/dividertop.png', | 70 'webapp/me2mom/dividertop.png', |
| 76 'webapp/me2mom/l10n.js', | 71 'webapp/me2mom/l10n.js', |
| 77 'webapp/me2mom/main.css', | 72 'webapp/me2mom/main.css', |
| 78 'webapp/me2mom/manifest.json', | 73 'webapp/me2mom/manifest.json', |
| 79 'webapp/me2mom/oauth2.js', | 74 'webapp/me2mom/oauth2.js', |
| 80 'webapp/me2mom/oauth2_callback.html', | 75 'webapp/me2mom/oauth2_callback.html', |
| 81 'webapp/me2mom/plugin_settings.js', | 76 'webapp/me2mom/plugin_settings.js', |
| 82 'webapp/me2mom/remoting.js', | 77 'webapp/me2mom/remoting.js', |
| 83 'webapp/me2mom/scale-to-fit.png', | 78 'webapp/me2mom/scale-to-fit.png', |
| 84 'webapp/me2mom/spinner.gif', | 79 'webapp/me2mom/spinner.gif', |
| 85 'webapp/me2mom/toolbar.css', | 80 'webapp/me2mom/toolbar.css', |
| 86 'webapp/me2mom/xhr.js', | 81 'webapp/me2mom/xhr.js', |
| 82 'resources/chromoting128.png', |
| 83 'resources/chromoting16.png', |
| 87 ], | 84 ], |
| 88 'remoting_it2me_locale_files': [ | 85 'remoting_it2me_locale_files': [ |
| 89 'webapp/me2mom/_locales/en/messages.json', | 86 'webapp/me2mom/_locales/en/messages.json', |
| 90 ], | 87 ], |
| 91 }, | 88 }, |
| 92 | 89 |
| 93 'target_defaults': { | 90 'target_defaults': { |
| 94 'defines': [ | 91 'defines': [ |
| 95 ], | 92 ], |
| 96 'include_dirs': [ | 93 'include_dirs': [ |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 ['OS=="mac"', { | 190 ['OS=="mac"', { |
| 194 'mac_bundle': 1, | 191 'mac_bundle': 1, |
| 195 'xcode_settings': { | 192 'xcode_settings': { |
| 196 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 193 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
| 197 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', | 194 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', |
| 198 'INFOPLIST_PREPROCESS': 'YES', | 195 'INFOPLIST_PREPROCESS': 'YES', |
| 199 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE=<(host_
plugin_mime_type)', | 196 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE=<(host_
plugin_mime_type)', |
| 200 'WRAPPER_EXTENSION': '<(plugin_extension)', | 197 'WRAPPER_EXTENSION': '<(plugin_extension)', |
| 201 }, | 198 }, |
| 202 # TODO(mark): Come up with a fancier way to do this. It should | 199 # TODO(mark): Come up with a fancier way to do this. It should |
| 203 # only be necessary to list framework-Info.plist once, not the | 200 # only be necessary to list host_plugin-Info.plist once, not the |
| 204 # three times it is listed here. | 201 # three times it is listed here. |
| 205 'mac_bundle_resources': [ | 202 'mac_bundle_resources': [ |
| 206 'host/disconnect_window.xib', | 203 'host/disconnect_window.xib', |
| 207 'host/plugin/host_plugin-Info.plist', | 204 'host/plugin/host_plugin-Info.plist', |
| 208 'resources/chromoting128.png', | 205 'resources/chromoting128.png', |
| 209 ], | 206 ], |
| 210 'mac_bundle_resources!': [ | 207 'mac_bundle_resources!': [ |
| 211 'host/plugin/host_plugin-Info.plist', | 208 'host/plugin/host_plugin-Info.plist', |
| 212 ], | 209 ], |
| 213 'conditions': [ | 210 'conditions': [ |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 '../base/allocator/allocator.gyp:allocator', | 836 '../base/allocator/allocator.gyp:allocator', |
| 840 ], | 837 ], |
| 841 }, | 838 }, |
| 842 ], | 839 ], |
| 843 ], | 840 ], |
| 844 }], | 841 }], |
| 845 ], # end of 'conditions' | 842 ], # end of 'conditions' |
| 846 }, # end of target 'remoting_unittests' | 843 }, # end of target 'remoting_unittests' |
| 847 ], # end of targets | 844 ], # end of targets |
| 848 } | 845 } |
| OLD | NEW |