From 97bc94bfee234d5ca93e61a55c13d864ddd79ec6 Mon Sep 17 00:00:00 2001 From: Gurmeen Bindra Date: Wed, 26 Oct 2016 14:24:04 +0100 Subject: Exclude the Notification Center code from iOS builds Test-information: Build from Xcode for iOS works. Change-Id: I77f5333839d42dcb4dd4c0e62ffc0de6b5cb4131 diff --git a/SwifTools/Notifier/SConscript b/SwifTools/Notifier/SConscript index e87312c..b3c8115 100644 --- a/SwifTools/Notifier/SConscript +++ b/SwifTools/Notifier/SConscript @@ -11,7 +11,7 @@ if swiftools_env.get("HAVE_GROWL", False) : "GrowlNotifier.mm", "GrowlNotifierDelegate.mm", ] -elif myenv["PLATFORM"] == "darwin" : +elif myenv["PLATFORM"] == "darwin" and myenv["target"] == "native" : sources += [ "NotificationCenterNotifier.mm", "NotificationCenterNotifierDelegate.mm", -- cgit v0.10.2-6-g49f6