Skip to content

Commit 9a77497

Browse files
paulb777granluo
authored andcommitted
Consolidate GDT and GDTCCT to a single pod (#5902)
1 parent fa45368 commit 9a77497

File tree

136 files changed

+107
-315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+107
-315
lines changed

.github/workflows/datatransport.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
pull_request:
55
paths:
66
- 'GoogleDataTransport**'
7-
- 'GoogleDataTransportCCTSupport**'
87
- '.github/workflows/datatransport.yml'
98
- 'Gemfile'
109
schedule:
@@ -27,40 +26,33 @@ jobs:
2726
- name: PodLibLint DataTransport
2827
run: |
2928
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb GoogleDataTransport.podspec --platforms=${{ matrix.target }}
30-
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb GoogleDataTransportCCTSupport.podspec --platforms=${{ matrix.target }}
3129
3230
catalyst:
3331
# Don't run on private repo unless it is a PR.
3432
if: github.repository != 'FirebasePrivate/firebase-ios-sdk' || github.event_name == 'pull_request'
3533

3634
runs-on: macOS-latest
37-
strategy:
38-
matrix:
39-
pod: [GoogleDataTransport, GoogleDataTransportCCTSupport]
4035
steps:
4136
- uses: actions/checkout@v2
4237
- name: Setup Bundler
4338
run: scripts/setup_bundler.sh
4439
- name: Setup project and Test Catalyst
4540
# Only build the unit tests on Catalyst. Test stopped working when GHA moved to Xcode 11.4.1.
46-
run: scripts/third_party/travis/retry.sh scripts/test_catalyst.sh ${{ matrix.pod }} build
41+
run: scripts/third_party/travis/retry.sh scripts/test_catalyst.sh GoogleDataTransport build
4742

4843
watchos-testapp:
4944
# Don't run on private repo unless it is a PR.
5045
if: github.repository != 'FirebasePrivate/firebase-ios-sdk' || github.event_name == 'pull_request'
5146

5247
runs-on: macOS-latest
53-
strategy:
54-
matrix:
55-
pod: [GoogleDataTransport, GoogleDataTransportCCTSupport]
5648
steps:
5749
- uses: actions/checkout@v2
5850
- name: Setup Bundler
5951
run: scripts/setup_bundler.sh
6052
- name: Prereqs
61-
run: scripts/install_prereqs.sh ${{ matrix.pod }} watchOS xcodebuild
53+
run: scripts/install_prereqs.sh GoogleDataTransport watchOS xcodebuild
6254
- name: Setup project and build watchOS test app
63-
run: scripts/third_party/travis/retry.sh scripts/build.sh ${{ matrix.pod }} watchOS xcodebuild
55+
run: scripts/third_party/travis/retry.sh scripts/build.sh GoogleDataTransport watchOS xcodebuild
6456

6557
# Scheduled jobs
6658

@@ -84,4 +76,3 @@ jobs:
8476
- name: PodLibLint DataTransport Cron
8577
run: |
8678
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb GoogleDataTransport.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
87-
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb GoogleDataTransportCCTSupport.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ jobs:
231231
- PROJECT=GoogleDataTransport METHOD=pod-lib-lint
232232
script:
233233
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb GoogleDataTransport.podspec --platforms=ios
234-
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb GoogleDataTransportCCTSupport.podspec --platforms=ios
235234

236235
# Validate Cocoapods configurations
237236
# This may take long time, so we would like to run it only once all other tests pass

CocoapodsIntegrationTest/TestEnvironments/Cocoapods1_6_1_frameworks/Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ target 'CocoapodsIntegrationTest' do
1919
pod 'FirebaseMessaging', :path => '../'
2020
pod 'FirebaseStorage', :path => '../'
2121
pod 'GoogleDataTransport', :path => '../'
22-
pod 'GoogleDataTransportCCTSupport', :path => '../'
2322
pod 'GoogleUtilities', :path => '../'
2423
end

CocoapodsIntegrationTest/TestEnvironments/Cocoapods1_6_1_staticLibs/Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ target 'CocoapodsIntegrationTest' do
1717
pod 'FirebaseMessaging', :path => '../'
1818
pod 'FirebaseStorage', :path => '../'
1919
pod 'GoogleDataTransport', :path => '../'
20-
pod 'GoogleDataTransportCCTSupport', :path => '../'
2120
pod 'GoogleUtilities', :path => '../'
2221
end

CocoapodsIntegrationTest/TestEnvironments/Cocoapods1_7_0_frameworks/Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ target 'CocoapodsIntegrationTest' do
1818
pod 'FirebaseMessaging', :path => '../'
1919
pod 'FirebaseStorage', :path => '../'
2020
pod 'GoogleDataTransport', :path => '../'
21-
pod 'GoogleDataTransportCCTSupport', :path => '../'
2221
pod 'GoogleUtilities', :path => '../'
2322
end

CocoapodsIntegrationTest/TestEnvironments/Cocoapods1_7_0_multiprojects_frameworks/Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ target 'CocoapodsIntegrationTest' do
1919
pod 'FirebaseMessaging', :path => '../'
2020
pod 'FirebaseStorage', :path => '../'
2121
pod 'GoogleDataTransport', :path => '../'
22-
pod 'GoogleDataTransportCCTSupport', :path => '../'
2322
pod 'GoogleUtilities', :path => '../'
2423
end
2524

CocoapodsIntegrationTest/TestEnvironments/Cocoapods1_7_0_multiprojects_staticLibs/Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ target 'CocoapodsIntegrationTest' do
1717
pod 'FirebaseMessaging', :path => '../'
1818
pod 'FirebaseStorage', :path => '../'
1919
pod 'GoogleDataTransport', :path => '../'
20-
pod 'GoogleDataTransportCCTSupport', :path => '../'
2120
pod 'GoogleUtilities', :path => '../'
2221
end
2322

CocoapodsIntegrationTest/TestEnvironments/Cocoapods1_7_0_staticLibs/Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ target 'CocoapodsIntegrationTest' do
1717
pod 'FirebaseMessaging', :path => '../'
1818
pod 'FirebaseStorage', :path => '../'
1919
pod 'GoogleDataTransport', :path => '../'
20-
pod 'GoogleDataTransportCCTSupport', :path => '../'
2120
pod 'GoogleUtilities', :path => '../'
2221
end

CoreOnly/Tests/FirebasePodTest/FirebasePodTest.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@
300300
"\"${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.framework/Headers\"",
301301
"\"${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInstanceID/FirebaseInstanceID.framework/Headers\"",
302302
"\"${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport/GoogleDataTransport.framework/Headers\"",
303-
"\"${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransportCCTSupport/GoogleDataTransportCCTSupport.framework/Headers\"",
304303
"\"${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilities/GoogleUtilities.framework/Headers\"",
305304
"\"${PODS_CONFIGURATION_BUILD_DIR}/nanopb/nanopb.framework/Headers\"",
306305
"\"${PODS_ROOT}/Headers/Public\"",
@@ -331,7 +330,6 @@
331330
"\"${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.framework/Headers\"",
332331
"\"${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInstanceID/FirebaseInstanceID.framework/Headers\"",
333332
"\"${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport/GoogleDataTransport.framework/Headers\"",
334-
"\"${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransportCCTSupport/GoogleDataTransportCCTSupport.framework/Headers\"",
335333
"\"${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilities/GoogleUtilities.framework/Headers\"",
336334
"\"${PODS_CONFIGURATION_BUILD_DIR}/nanopb/nanopb.framework/Headers\"",
337335
"\"${PODS_ROOT}/Headers/Public\"",

CoreOnly/Tests/FirebasePodTest/Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ target 'FirebasePodTest' do
2828
# Get dependent pods from the repo also
2929
pod 'FirebaseCoreDiagnostics', :path => '../../../'
3030
pod 'GoogleDataTransport', :path => '../../../'
31-
pod 'GoogleDataTransportCCTSupport', :path => '../../../'
3231
pod 'GoogleUtilities', :path => '../../../'
3332

3433
pod 'FirebaseAnalytics' # Analytics is not open source

0 commit comments

Comments
 (0)