Skip to content

Commit 0dd8dda

Browse files
authored
GoogleUtilities - Standardize imports and add LICENSE (#4655)
1 parent 47aa9d2 commit 0dd8dda

23 files changed

+292
-33
lines changed

GoogleUtilities.podspec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ other Google CocoaPods. They're not intended for direct public usage.
99
DESC
1010

1111
s.homepage = 'https://github.com/firebase/firebase-ios-sdk/tree/master/GoogleUtilities'
12-
s.license = { :type => 'Apache', :file => 'LICENSE' }
12+
s.license = { :type => 'Apache', :file => 'GoogleUtilities/LICENSE' }
1313
s.authors = 'Google, Inc.'
1414

1515
s.source = {
@@ -25,6 +25,11 @@ other Google CocoaPods. They're not intended for direct public usage.
2525
s.cocoapods_version = '>= 1.4.0'
2626
s.prefix_header_file = false
2727

28+
s.pod_target_xcconfig = {
29+
'GCC_C_LANGUAGE_STANDARD' => 'c99',
30+
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"',
31+
}
32+
2833
s.subspec 'Environment' do |es|
2934
es.source_files = 'GoogleUtilities/Environment/**/*.[mh]'
3035
es.public_header_files = 'GoogleUtilities/Environment/**/*.h'

GoogleUtilities/AppDelegateSwizzler/GULAppDelegateSwizzler.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import "TargetConditionals.h"
15+
#import <TargetConditionals.h>
1616

1717
#import <GoogleUtilities/GULAppDelegateSwizzler.h>
1818
#import <GoogleUtilities/GULAppEnvironmentUtil.h>
1919
#import <GoogleUtilities/GULLogger.h>
2020
#import <GoogleUtilities/GULMutableDictionary.h>
21-
#import "../Common/GULLoggerCodes.h"
22-
#import "Internal/GULAppDelegateSwizzler_Private.h"
21+
#import "GoogleUtilities/AppDelegateSwizzler/Internal/GULAppDelegateSwizzler_Private.h"
22+
#import "GoogleUtilities/Common/GULLoggerCodes.h"
2323

2424
#import <objc/runtime.h>
2525

GoogleUtilities/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Unreleased
2+
- Standardized import paths. (#4655)
3+
4+
# 6.5.0
5+
- Swizzler changes.
6+
17
# 6.4.0
28
- Add function to gul secure encoding to encode multiple classes. (#4282)
39
- Add heartbeat feature. (#4098)

GoogleUtilities/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ if(APPLE)
3838
INCLUDES
3939
Private
4040
Public
41+
${PROJECT_SOURCE_DIR}
4142
DEPENDS
4243
"-framework Foundation"
4344
EXCLUDE_FROM_ALL

GoogleUtilities/Environment/GULSecureCoding.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import "Public/GULSecureCoding.h"
15+
#import "GoogleUtilities/Environment/Public/GULSecureCoding.h"
1616

1717
NSString *const kGULSecureCodingError = @"GULSecureCodingError";
1818

GoogleUtilities/Environment/third_party/GULAppEnvironmentUtil.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import "GULAppEnvironmentUtil.h"
15+
#import "GoogleUtilities/Environment/third_party/GULAppEnvironmentUtil.h"
1616

1717
#import <Foundation/Foundation.h>
1818
#import <dlfcn.h>

GoogleUtilities/Example/Tests/Network/GULNetworkTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import "GTMHTTPServer.h"
15+
#import "GoogleUtilities/Example/Tests/Network/third_party/GTMHTTPServer.h"
1616

1717
#import <OCMock/OCMock.h>
1818
#import <XCTest/XCTest.h>

GoogleUtilities/Example/Tests/Network/third_party/GTMHTTPServer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
#import <unistd.h>
5252

5353
#define GTMHTTPSERVER_DEFINE_GLOBALS
54-
#import "GTMHTTPServer.h"
54+
#import "GoogleUtilities/Example/Tests/Network/third_party/GTMHTTPServer.h"
5555

5656
// avoid some of GTM's promiscuous dependencies
5757
#ifndef _GTMDevLog

GoogleUtilities/Example/Tests/Reachability/GULReachabilityCheckerTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#import <XCTest/XCTest.h>
1818

19-
#import "GULReachabilityChecker+Internal.h"
19+
#import "GoogleUtilities/Reachability/GULReachabilityChecker+Internal.h"
2020

2121
@interface GULReachabilityCheckerTest : XCTestCase <GULReachabilityDelegate> {
2222
@private

GoogleUtilities/Example/Tests/Swizzler/GULAppDelegateSwizzlerTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
#import <GoogleUtilities/GULAppDelegateSwizzler.h>
16-
#import "GULAppDelegateSwizzler_Private.h"
16+
#import "GoogleUtilities/AppDelegateSwizzler/Internal/GULAppDelegateSwizzler_Private.h"
1717

1818
#import <OCMock/OCMock.h>
1919
#import <XCTest/XCTest.h>

0 commit comments

Comments
 (0)