Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(772)

Unified Diff: remoting/remoting.gyp

Issue 10171020: Preference Pane for chromoting on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and fix plist MainNibFile entry Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/remoting.gyp
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index d1eb38e6684ef4ff55fe319ea4a728be890b1be4..898052def07451f3bbba06ca3801a40a03b6db20 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -275,6 +275,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"'
@@ -1230,6 +1282,7 @@
'<@(remoting_host_installer_mac_files)',
],
'dependencies': [
+ 'remoting_host_prefpane',
'remoting_host_uninstaller',
],
}], # OS=="mac"
@@ -1252,10 +1305,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',
],
« remoting/host/me2me_preference_pane.mm ('K') | « remoting/host/plugin/daemon_controller_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698