| Index: remoting/remoting.gyp
|
| diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
|
| index 53927b17a4bc363a73baea0b5bec96dc17d93049..8fc8581f22b26ddaf5cc3d0290fa1cab53c38275 100644
|
| --- a/remoting/remoting.gyp
|
| +++ b/remoting/remoting.gyp
|
| @@ -273,6 +273,58 @@
|
| 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist',
|
| ],
|
| }, # end of target 'remoting_host_uninstaller'
|
| + {
|
| + 'target_name': 'remoting_host_prefpane',
|
| + 'type': 'loadable_module',
|
| + 'mac_bundle': 1,
|
| + 'product_extension': 'prefPane',
|
| + 'dependencies': [
|
| + 'remoting_base',
|
| + 'remoting_host',
|
| + ],
|
| + 'sources': [
|
| + 'host/me2me_preference_pane.mm',
|
| + ],
|
| + 'link_settings': {
|
| + 'libraries': [
|
| + '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework',
|
| + ],
|
| + },
|
| + 'xcode_settings': {
|
| + 'INFOPLIST_FILE': 'host/me2me_preference_pane-Info.plist',
|
| + 'INFOPLIST_PREPROCESS': 'YES',
|
| + 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bundle_id)" COPYRIGHT_BY="<(copyright_by)"',
|
| + },
|
| + 'mac_bundle_resources': [
|
| + 'host/me2me_preference_pane.xib',
|
| + 'host/me2me_preference_pane-Info.plist',
|
| + 'resources/chromoting128.png',
|
| + ],
|
| + 'mac_bundle_resources!': [
|
| + 'host/me2me_preference_pane-Info.plist',
|
| + ],
|
| + 'conditions': [
|
| + ['mac_breakpad==1', {
|
| + 'variables': {
|
| + # A real .dSYM is needed for dump_syms to operate on.
|
| + 'mac_real_dsym': 1,
|
| + },
|
| + }],
|
| + ['branding == "Chrome"', {
|
| + 'variables': {
|
| + 'copyright_by': 'Google Inc.',
|
| + 'bundle_id': 'com.google.chromeremotedesktop.preferences',
|
| + 'bundle_name': 'Chrome Remote Desktop Host Preferences',
|
| + },
|
| + }, { # else branding!="Chrome"
|
| + 'variables': {
|
| + 'copyright_by': 'The Chromium Authors.',
|
| + 'bundle_id': 'org.chromium.remoting.preferences',
|
| + 'bundle_name': 'Chromoting Host Preferences',
|
| + },
|
| + }],
|
| + ], # conditions
|
| + }, # end of target 'remoting_host_prefpane'
|
| ], # end of 'targets'
|
| }], # 'OS=="mac"'
|
|
|
| @@ -1228,6 +1280,7 @@
|
| '<@(remoting_host_installer_mac_files)',
|
| ],
|
| 'dependencies': [
|
| + 'remoting_host_prefpane',
|
| 'remoting_host_uninstaller',
|
| ],
|
| }], # OS=="mac"
|
| @@ -1250,10 +1303,12 @@
|
| 'conditions': [
|
| ['OS=="mac"', {
|
| 'generated_files': [
|
| + '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane',
|
| '<(PRODUCT_DIR)/remoting_me2me_host',
|
| '<(PRODUCT_DIR)/remoting_host_uninstaller.app',
|
| ],
|
| 'generated_files_dst': [
|
| + 'PreferencePanes/org.chromium.chromoting.prefPane',
|
| 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host',
|
| 'Applications/<(host_uninstaller_name).app',
|
| ],
|
|
|