X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/8a50f688fe9358387648fb83fbfecbefe8d32669..84aacf34eae6543be9f0280b2015385f91e5c2c6:/xcconfig/PlatformLibraries.xcconfig diff --git a/xcconfig/PlatformLibraries.xcconfig b/xcconfig/PlatformLibraries.xcconfig index 3d2828a7..27829467 100644 --- a/xcconfig/PlatformLibraries.xcconfig +++ b/xcconfig/PlatformLibraries.xcconfig @@ -1,5 +1,5 @@ -AOSKIT_FRAMEWORK[sdk=macosx*] = -framework AOSAccounts +AOSKIT_FRAMEWORK[sdk=macosx*] = -weak_framework AOSAccounts -weak_framework AOSAccountsLite APPLE_AKS_LIBRARY[sdk=macosx*] = -L$(SDKROOT)/usr/local/lib -laks -framework MobileKeyBag APPLE_AKS_LIBRARY[sdk=iphoneos*] = -L$(SDKROOT)/usr/local/lib -laks -framework MobileKeyBag APPLE_AKS_LIBRARY[sdk=watchos*] = -L$(SDKROOT)/usr/local/lib -laks -framework MobileKeyBag @@ -11,6 +11,12 @@ OTHER_LDFLAGS_DIAGNOSTICSMESSAGESCLIENT[sdk=macosx*] = -lDiagnosticMessagesClien OTHER_LDFLAGS_LIBCMS[sdk=embedded*] = -lCMS OTHER_LDFLAGS_MOBILEGESTALT[sdk=embedded*] = -lMobileGestalt +OTHER_LDFLAGS_CRASHREPORTER[sdk=embedded] = -framework CrashReporterSupport +OTHER_LDFLAGS_CRASHREPORTER[sdk=macos*] = -framework CrashReporterSupport + +OTHER_CODE_SIGN_FLAGS_LIBRARY_VALIDATION = -o library +OTHER_CODE_SIGN_FLAGS_LIBRARY_VALIDATION[sdk=*simulator*] = + // // Play games to avoid issues with bridge trains // @@ -27,6 +33,22 @@ OTHER_LDFLAGS_CLOUDKIT_BRIDGE_NO = -framework CloudKit OTHER_LDFLAGS_CLOUDKIT_BRIDGE_YES = OTHER_LDFLAGS_CLOUDKIT = $(OTHER_LDFLAGS_CLOUDKIT_BRIDGE_$(BRIDGE)) +OTHER_LDFLAGS_PREQUELITE_BRIDGE_NO = -l prequelite +OTHER_LDFLAGS_PREQUELITE_BRIDGE_YES = +OTHER_LDFLAGS_PREQUELITE = $(OTHER_LDFLAGS_PREQUELITE_BRIDGE_$(BRIDGE)) + +OTHER_LDFLAGS_ACCOUNTS_BRIDGE_NO = -framework Accounts +OTHER_LDFLAGS_ACCOUNTS_BRIDGE_YES = +OTHER_LDFLAGS_ACCOUNTS = $(OTHER_LDFLAGS_ACCOUNTS_BRIDGE_$(BRIDGE)) + +OTHER_LDFLAGS_APPLEACCOUNT_IOS_NO = -framework AppleAccount +OTHER_LDFLAGS_APPLEACCOUNT_IOS_YES = + +OTHER_LDFLAGS_APPLEACCOUNT[sdk=iphoneos*] = $(OTHER_LDFLAGS_APPLEACCOUNT_IOS_$(BRIDGE)) +OTHER_LDFLAGS_APPLEACCOUNT[sdk=iphonesimulator*] = $(OTHER_LDFLAGS_APPLEACCOUNT_IOS_$(BRIDGE)) +OTHER_LDFLAGS_APPLEACCOUNT[sdk=appletv*] = $(OTHER_LDFLAGS_APPLEACCOUNT_IOS_$(BRIDGE)) +OTHER_LDFLAGS_APPLEACCOUNT[sdk=watchos*] = $(OTHER_LDFLAGS_APPLEACCOUNT_IOS_$(BRIDGE)) + // The bridge appears to support protocol buffers. OTHER_LDFLAGS_PROTOBUF = -framework ProtocolBuffer @@ -52,3 +74,9 @@ OTHER_LDFLAGS_MOBILEASSET = $(OTHER_LDFLAGS_MOBILEASSET_BRIDGE_$(BRIDGE)) OTHER_LDFLAGS_SECURITYFOUNDATION_BRIDGE_NO = -framework SecurityFoundation OTHER_LDFLAGS_SECURITYFOUNDATION_BRIDGE_YES = OTHER_LDFLAGS_SECURITYFOUNDATION = $(OTHER_LDFLAGS_SECURITYFOUNDATION_BRIDGE_$(BRIDGE)) + +// Breaks the BaseSystem: fixing in Re-enable IMCore autosysdiagnose capture to securityd +//OTHER_LDFLAGS_IMCORE_BRIDGE_NO = -framework IMCore +//OTHER_LDFLAGS_IMCORE_BRIDGE_YES = +OTHER_LDFLAGS_IMCORE = $(OTHER_LDFLAGS_IMCORE_BRIDGE_$(BRIDGE)) +OTHER_LDFLAGS_IMCORE[sdk=appletv*] =