diff --git a/Package.swift b/Package.swift index 2743d1bb..d8854de3 100644 --- a/Package.swift +++ b/Package.swift @@ -28,93 +28,93 @@ let package = Package( // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( - name: "google_toolbox_for_mac", - path: "third_party/google_toolbox_for_mac", + name: "google-toolbox-for-mac", + path: "third_party/google-toolbox-for-mac", exclude: [ - "google_toolbox_for_mac/Foundation/GTMNSString+HTMLTest.m", - "google_toolbox_for_mac/Foundation/GTMSystemVersionTest.m", - "google_toolbox_for_mac/Foundation/GTMNSFileHandle+UniqueName.m", - "google_toolbox_for_mac/Foundation/GTMLoggerRingBufferWriterTest.m", - "google_toolbox_for_mac/Foundation/GTMNSData+zlib.m", - "google_toolbox_for_mac/Foundation/GTMNSNumber+64BitTest.m", - "google_toolbox_for_mac/Foundation/GTMScriptRunnerTest.m", - "google_toolbox_for_mac/Foundation/GTMSystemVersion.m", - "google_toolbox_for_mac/Foundation/GTMFileSystemKQueueTest.m", - "google_toolbox_for_mac/Foundation/GTMFileSystemKQueue.m", - "google_toolbox_for_mac/Foundation/GTMGeometryUtilsTest.m", - "google_toolbox_for_mac/Foundation/GTMLocalizedStringTest.m", - "google_toolbox_for_mac/Foundation/BUILD", - "google_toolbox_for_mac/Foundation/GTMSQLite.m", - "google_toolbox_for_mac/Foundation/GTMLoggerRingBufferWriter.m", - "google_toolbox_for_mac/Foundation/GTMStringEncoding.m", - "google_toolbox_for_mac/Foundation/GTMNSFileHandle+UniqueNameTest.m", - "google_toolbox_for_mac/Foundation/GTMLogger+ASLTest.m", - "google_toolbox_for_mac/Foundation/GTMNSObject+KeyValueObservingTest.m", - "google_toolbox_for_mac/Foundation/GTMNSString+XMLTest.m", - "google_toolbox_for_mac/Foundation/GTMNSThread+BlocksTest.m", - "google_toolbox_for_mac/Foundation/GTMNSString+HTML.m", - "google_toolbox_for_mac/Foundation/GTMSignalHandlerTest.m", - "google_toolbox_for_mac/Foundation/GTMURLBuilderTest.m", - "google_toolbox_for_mac/Foundation/GTMLoggerTest.m", - "google_toolbox_for_mac/Foundation/GTMServiceManagementTestingHarness.c", - "google_toolbox_for_mac/Foundation/GTMSQLiteTest.m", - "google_toolbox_for_mac/Foundation/GTMTimeUtilsTest.m", - "google_toolbox_for_mac/Foundation/GTMNSFileManager+PathTest.m", - "google_toolbox_for_mac/Foundation/GTMServiceManagement.c", - "google_toolbox_for_mac/Foundation/GTMNSString+URLArgumentsTest.m", - "google_toolbox_for_mac/Foundation/GTMRegexTest.m", - "google_toolbox_for_mac/Foundation/GTMNSThread+Blocks.m", - "google_toolbox_for_mac/Foundation/GTMNSScanner+JSONTest.m", - "google_toolbox_for_mac/Foundation/GTMNSData+zlibTest.m", - "google_toolbox_for_mac/Foundation/GTMNSDictionary+URLArgumentsTest.m", - "google_toolbox_for_mac/Foundation/GTMLogger+ASL.m", - "google_toolbox_for_mac/Foundation/GTMServiceManagementTest.m", - "google_toolbox_for_mac/Foundation/GTMNSString+URLArguments.m", - "google_toolbox_for_mac/Foundation/GTMNSNumber+64Bit.m", - "google_toolbox_for_mac/Foundation/GTMNSScanner+JSON.m", - "google_toolbox_for_mac/Foundation/GTMGeometryUtils.m", - "google_toolbox_for_mac/Foundation/GTMRegex.m", - "google_toolbox_for_mac/Foundation/GTMScriptRunner.m", - "google_toolbox_for_mac/Foundation/GTMStackTrace.m", - "google_toolbox_for_mac/Foundation/GTMURLBuilder.m", - "google_toolbox_for_mac/Foundation/GTMNSString+FindFolderTest.m", - "google_toolbox_for_mac/Foundation/GTMObjC2Runtime.m", - "google_toolbox_for_mac/Foundation/GTMNSString+FindFolder.m", - "google_toolbox_for_mac/Foundation/GTMNSDictionary+URLArguments.m", - "google_toolbox_for_mac/Foundation/GTMStackTraceTest.m", - "google_toolbox_for_mac/Foundation/GTMLightweightProxyTest.m", - "google_toolbox_for_mac/Foundation/GTMNSFileManager+Path.m", - "google_toolbox_for_mac/Foundation/GTMStringEncodingTest.m", - "google_toolbox_for_mac/Foundation/GTMNSObject+KeyValueObserving.m", - "google_toolbox_for_mac/Foundation/GTMTimeUtils.m", - "google_toolbox_for_mac/Foundation/GTMSignalHandler.m", - "google_toolbox_for_mac/Foundation/GTMNSString+XML.m", - "google_toolbox_for_mac/Foundation/GTMLightweightProxy.m", - "google_toolbox_for_mac/AppKit", - "google_toolbox_for_mac/DebugUtils", - "google_toolbox_for_mac/LICENSE", - "google_toolbox_for_mac/WORKSPACE", - "google_toolbox_for_mac/BUILD", - "google_toolbox_for_mac/GTMiPhone-Info.plist", - "google_toolbox_for_mac/README.md", - "google_toolbox_for_mac/XcodeConfig", - "google_toolbox_for_mac/BuildingAndUsing.txt", - "google_toolbox_for_mac/GTM-Info.plist", - "google_toolbox_for_mac/GTMiPhone.xcodeproj", - "google_toolbox_for_mac/UnitTest-Info.plist", - "google_toolbox_for_mac/bazel_support", - "google_toolbox_for_mac/CONTRIBUTING.md", - "google_toolbox_for_mac/GTM.xcodeproj", - "google_toolbox_for_mac/GoogleToolboxForMac.podspec", - "google_toolbox_for_mac/UnitTesting", - "google_toolbox_for_mac/iPhone", + "google-toolbox-for-mac/Foundation/GTMNSString+HTMLTest.m", + "google-toolbox-for-mac/Foundation/GTMSystemVersionTest.m", + "google-toolbox-for-mac/Foundation/GTMNSFileHandle+UniqueName.m", + "google-toolbox-for-mac/Foundation/GTMLoggerRingBufferWriterTest.m", + "google-toolbox-for-mac/Foundation/GTMNSData+zlib.m", + "google-toolbox-for-mac/Foundation/GTMNSNumber+64BitTest.m", + "google-toolbox-for-mac/Foundation/GTMScriptRunnerTest.m", + "google-toolbox-for-mac/Foundation/GTMSystemVersion.m", + "google-toolbox-for-mac/Foundation/GTMFileSystemKQueueTest.m", + "google-toolbox-for-mac/Foundation/GTMFileSystemKQueue.m", + "google-toolbox-for-mac/Foundation/GTMGeometryUtilsTest.m", + "google-toolbox-for-mac/Foundation/GTMLocalizedStringTest.m", + "google-toolbox-for-mac/Foundation/BUILD", + "google-toolbox-for-mac/Foundation/GTMSQLite.m", + "google-toolbox-for-mac/Foundation/GTMLoggerRingBufferWriter.m", + "google-toolbox-for-mac/Foundation/GTMStringEncoding.m", + "google-toolbox-for-mac/Foundation/GTMNSFileHandle+UniqueNameTest.m", + "google-toolbox-for-mac/Foundation/GTMLogger+ASLTest.m", + "google-toolbox-for-mac/Foundation/GTMNSObject+KeyValueObservingTest.m", + "google-toolbox-for-mac/Foundation/GTMNSString+XMLTest.m", + "google-toolbox-for-mac/Foundation/GTMNSThread+BlocksTest.m", + "google-toolbox-for-mac/Foundation/GTMNSString+HTML.m", + "google-toolbox-for-mac/Foundation/GTMSignalHandlerTest.m", + "google-toolbox-for-mac/Foundation/GTMURLBuilderTest.m", + "google-toolbox-for-mac/Foundation/GTMLoggerTest.m", + "google-toolbox-for-mac/Foundation/GTMServiceManagementTestingHarness.c", + "google-toolbox-for-mac/Foundation/GTMSQLiteTest.m", + "google-toolbox-for-mac/Foundation/GTMTimeUtilsTest.m", + "google-toolbox-for-mac/Foundation/GTMNSFileManager+PathTest.m", + "google-toolbox-for-mac/Foundation/GTMServiceManagement.c", + "google-toolbox-for-mac/Foundation/GTMNSString+URLArgumentsTest.m", + "google-toolbox-for-mac/Foundation/GTMRegexTest.m", + "google-toolbox-for-mac/Foundation/GTMNSThread+Blocks.m", + "google-toolbox-for-mac/Foundation/GTMNSScanner+JSONTest.m", + "google-toolbox-for-mac/Foundation/GTMNSData+zlibTest.m", + "google-toolbox-for-mac/Foundation/GTMNSDictionary+URLArgumentsTest.m", + "google-toolbox-for-mac/Foundation/GTMLogger+ASL.m", + "google-toolbox-for-mac/Foundation/GTMServiceManagementTest.m", + "google-toolbox-for-mac/Foundation/GTMNSString+URLArguments.m", + "google-toolbox-for-mac/Foundation/GTMNSNumber+64Bit.m", + "google-toolbox-for-mac/Foundation/GTMNSScanner+JSON.m", + "google-toolbox-for-mac/Foundation/GTMGeometryUtils.m", + "google-toolbox-for-mac/Foundation/GTMRegex.m", + "google-toolbox-for-mac/Foundation/GTMScriptRunner.m", + "google-toolbox-for-mac/Foundation/GTMStackTrace.m", + "google-toolbox-for-mac/Foundation/GTMURLBuilder.m", + "google-toolbox-for-mac/Foundation/GTMNSString+FindFolderTest.m", + "google-toolbox-for-mac/Foundation/GTMObjC2Runtime.m", + "google-toolbox-for-mac/Foundation/GTMNSString+FindFolder.m", + "google-toolbox-for-mac/Foundation/GTMNSDictionary+URLArguments.m", + "google-toolbox-for-mac/Foundation/GTMStackTraceTest.m", + "google-toolbox-for-mac/Foundation/GTMLightweightProxyTest.m", + "google-toolbox-for-mac/Foundation/GTMNSFileManager+Path.m", + "google-toolbox-for-mac/Foundation/GTMStringEncodingTest.m", + "google-toolbox-for-mac/Foundation/GTMNSObject+KeyValueObserving.m", + "google-toolbox-for-mac/Foundation/GTMTimeUtils.m", + "google-toolbox-for-mac/Foundation/GTMSignalHandler.m", + "google-toolbox-for-mac/Foundation/GTMNSString+XML.m", + "google-toolbox-for-mac/Foundation/GTMLightweightProxy.m", + "google-toolbox-for-mac/AppKit", + "google-toolbox-for-mac/DebugUtils", + "google-toolbox-for-mac/LICENSE", + "google-toolbox-for-mac/WORKSPACE", + "google-toolbox-for-mac/BUILD", + "google-toolbox-for-mac/GTMiPhone-Info.plist", + "google-toolbox-for-mac/README.md", + "google-toolbox-for-mac/XcodeConfig", + "google-toolbox-for-mac/BuildingAndUsing.txt", + "google-toolbox-for-mac/GTM-Info.plist", + "google-toolbox-for-mac/GTMiPhone.xcodeproj", + "google-toolbox-for-mac/UnitTest-Info.plist", + "google-toolbox-for-mac/bazel_support", + "google-toolbox-for-mac/CONTRIBUTING.md", + "google-toolbox-for-mac/GTM.xcodeproj", + "google-toolbox-for-mac/GoogleToolboxForMac.podspec", + "google-toolbox-for-mac/UnitTesting", + "google-toolbox-for-mac/iPhone", ], sources: [ - "google_toolbox_for_mac/Foundation/GTMLogger.m" + "google-toolbox-for-mac/Foundation/GTMLogger.m" ], publicHeadersPath: "include", cSettings: [ - .headerSearchPath("google_toolbox_for_mac/"), + .headerSearchPath("google-toolbox-for-mac/"), .unsafeFlags(["-fno-objc-arc"]), ] ), @@ -361,7 +361,7 @@ let package = Package( .target( name: "NearbyConnections", dependencies: [ - "google_toolbox_for_mac", + "google-toolbox-for-mac", "smhasher", "ukey2", "protobuf",