summaryrefslogtreecommitdiffstats
path: root/remoting/remoting.gyp
diff options
context:
space:
mode:
authorlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-14 20:54:45 +0000
committerlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-14 20:54:45 +0000
commit0333290378df304cfa2cd7de5ef90e8162e94dd1 (patch)
tree09dfc8562f15d7a508b1264af3d3774e292e6ea3 /remoting/remoting.gyp
parent0ab582571bc165d4bdf9f1e8b6d2bb2beb2d03a1 (diff)
downloadchromium_src-0333290378df304cfa2cd7de5ef90e8162e94dd1.zip
chromium_src-0333290378df304cfa2cd7de5ef90e8162e94dd1.tar.gz
chromium_src-0333290378df304cfa2cd7de5ef90e8162e94dd1.tar.bz2
Build pref-pane as universal binary on Mac OS X
BUG=125116 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10383204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142214 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/remoting.gyp')
-rw-r--r--remoting/remoting.gyp28
1 files changed, 18 insertions, 10 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index d5fa23b..c636c86 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -386,10 +386,6 @@
'type': 'loadable_module',
'mac_bundle': 1,
'product_extension': 'prefPane',
- 'dependencies': [
- 'remoting_base',
- 'remoting_host',
- ],
'defines': [
'JSON_USE_EXCEPTION=0',
],
@@ -397,13 +393,20 @@
'../third_party/jsoncpp/overrides/include/',
'../third_party/jsoncpp/source/include/',
'../third_party/jsoncpp/source/src/lib_json/',
- ],
+ ],
+
+ # These source files are included directly, instead of adding target
+ # dependencies, because the targets are not yet built for 64-bit on
+ # Mac OS X - http://crbug.com/125116.
+ #
+ # TODO(lambroslambrou): Fix this when Chrome supports building for
+ # Mac OS X 64-bit - http://crbug.com/128122.
'sources': [
- # The jsoncpp target is not yet built for Mac OS X 64-bit, so
- # include the files directly, instead of depending on the target.
- '../third_party/jsoncpp/source/src/lib_json/json_reader.cpp',
- '../third_party/jsoncpp/source/src/lib_json/json_writer.cpp',
- '../third_party/modp_b64/modp_b64.cc',
+ '../third_party/jsoncpp/source/src/lib_json/json_reader.cpp',
+ '../third_party/jsoncpp/overrides/src/lib_json/json_value.cpp',
+ '../third_party/jsoncpp/source/src/lib_json/json_writer.cpp',
+ '../third_party/modp_b64/modp_b64.cc',
+ 'host/host_config.cc',
'host/me2me_preference_pane.h',
'host/me2me_preference_pane.mm',
'host/me2me_preference_pane_confirm_pin.h',
@@ -413,10 +416,15 @@
],
'link_settings': {
'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
+ '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
'$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework',
+ '$(SDKROOT)/System/Library/Frameworks/Security.framework',
],
},
'xcode_settings': {
+ 'ARCHS': ['i386', 'x86_64'],
+ 'GCC_ENABLE_OBJC_GC': 'supported',
'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)" PREF_PANE_ICON_LABEL="<(pref_pane_icon_label)"',