X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/3f0f0d49a9b6c2c6d459239f5926d59314cdeacf..ecaf5866106b8f08bdb7c1b4f489ef4dfd01278a:/xcconfig/PlatformLibraries.xcconfig diff --git a/xcconfig/PlatformLibraries.xcconfig b/xcconfig/PlatformLibraries.xcconfig index 3d2828a7..3a36cf4c 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,26 @@ 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)) + +OTHER_LDFLAGS_CORECDP_BRIDGE_NO = -framework CoreCDP +OTHER_LDFLAGS_CORECDP_BRIDGE_YES = +OTHER_LDFLAGS_CORECDP = $(OTHER_LDFLAGS_CORECDP_BRIDGE_$(BRIDGE)) + // The bridge appears to support protocol buffers. OTHER_LDFLAGS_PROTOBUF = -framework ProtocolBuffer @@ -52,3 +78,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*] =