build: remove TARGET_SDKS from the runtime

The runtime and stubs are built for ALL targets, not specific ones.  This allows
us to configure when cross-compiling to Windows again.  Collapse the dual
addition of the swiftRuntime into a single build.  This unifies the runtime
build for the apple and non-Apple SDKs.  The difference here was the ObjC
interop sources.  In order to deal with that unification add a CPP macro to
indicate whether the interop sources should be included or not.
This commit is contained in:
Saleem Abdulrasool
2016-11-27 16:44:38 -08:00
parent 5d3dad62ef
commit c67a33fbc7
13 changed files with 37 additions and 63 deletions

View File

@@ -14,6 +14,7 @@
//
//===----------------------------------------------------------------------===//
#if !defined(__APPLE__)
#include "swift/Basic/Lazy.h"
#include "swift/Runtime/Config.h"
#include "swift/Runtime/Debug.h"
@@ -283,3 +284,5 @@ swift::_swift_stdlib_unicode_strToLower(uint16_t *Destination,
}
swift::Lazy<ASCIICollation> ASCIICollation::theTable;
#endif