Skip to content

Commit a43892b

Browse files
committed
Merge remote-tracking branch 'origin/main' into tomandersen/or_query
# Conflicts: # release_build_files/readme.md
2 parents 6f3fc73 + 71371d3 commit a43892b

File tree

284 files changed

+3338
-2270
lines changed

Some content is hidden

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

284 files changed

+3338
-2270
lines changed

.github/workflows/cpp-packaging.yml

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,51 @@ jobs:
759759
name: firebase_cpp_sdk.zip
760760
path: firebase_cpp_sdk.zip
761761

762+
create_windows_only_package:
763+
name: create-windows-only-package
764+
runs-on: ubuntu-20.04
765+
needs: [merge_packages]
766+
steps:
767+
- name: download SDK zip
768+
uses: actions/download-artifact@v3
769+
with:
770+
name: firebase_cpp_sdk.zip
771+
- name: unzip SDK and remove non-Windows files
772+
run: |
773+
set -x
774+
unzip -q firebase_cpp_sdk.zip -d windows-sdk
775+
cd windows-sdk
776+
# Rename the top-level directory.
777+
mv firebase_cpp_sdk firebase_cpp_sdk_windows
778+
cd firebase_cpp_sdk_windows
779+
# Remove all non-Windows files.
780+
rm -rf xcframeworks frameworks libs/linux libs/ios libs/tvos libs/darwin libs/android Android
781+
cat > readme_windows.md <<EOF
782+
# Firebase C++ SDK - Windows only
783+
784+
This package contains only the subset of the Firebase C++ SDK needed for use on
785+
Windows. For general SDK information, see the accompanying readme.md file.
786+
EOF
787+
cd ..
788+
zip -9 -r -y ../firebase_cpp_sdk_windows.zip firebase_cpp_sdk_windows
789+
cd ..
790+
- name: compute Windows SDK hash
791+
shell: bash
792+
run: |
793+
${{ env.hashCommand }} --tag firebase_cpp_sdk_windows.zip > firebase_cpp_sdk_windows_hash.txt
794+
echo "::warning ::$(cat firebase_cpp_sdk_windows_hash.txt)"
795+
- name: upload Windows hash
796+
uses: actions/upload-artifact@v3
797+
with:
798+
name: firebase_cpp_sdk_windows_hash.txt
799+
path: firebase_cpp_sdk_windows_hash.txt
800+
- name: upload Windows SDK zip
801+
uses: actions/upload-artifact@v3
802+
with:
803+
name: firebase_cpp_sdk_windows.zip
804+
path: firebase_cpp_sdk_windows.zip
805+
806+
762807
cleanup_packaging_artifacts:
763808
# Clean up intermediate artifacts from packaging step.
764809
# This can happen after the final package merge is finished.
@@ -782,7 +827,7 @@ jobs:
782827

783828
trigger_integration_tests:
784829
# Trigger the integration_tests workflow.
785-
needs: [merge_packages, download_sdk_package, cleanup_packaging_artifacts]
830+
needs: [merge_packages, download_sdk_package, create_windows_only_package, cleanup_packaging_artifacts]
786831
if: (github.event.inputs.skipIntegrationTests == 0 || github.event.inputs.skipIntegrationTests == '') && !cancelled() && !failure()
787832
runs-on: ubuntu-20.04
788833
steps:

Android/firebase_dependencies.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def firebaseDependenciesMap = [
2727
'dynamic_links' : ['com.google.firebase:firebase-dynamic-links'],
2828
'firestore' : ['com.google.firebase:firebase-firestore'],
2929
'functions' : ['com.google.firebase:firebase-functions'],
30-
'gma' : ['com.google.android.gms:play-services-ads:22.1.0'],
30+
'gma' : ['com.google.android.gms:play-services-ads:22.2.0'],
3131
'installations' : ['com.google.firebase:firebase-installations'],
3232
'invites' : ['com.google.firebase:firebase-invites'],
3333
// Messaging has an additional local dependency to include.
@@ -158,7 +158,7 @@ project.afterEvaluate {
158158

159159
// Add the bill-of-materials
160160
project.dependencies {
161-
implementation platform('com.google.firebase:firebase-bom:32.1.1')
161+
implementation platform('com.google.firebase:firebase-bom:32.2.0')
162162
}
163163
for (String lib : firebaseCpp.dependencies.libSet) {
164164
// Generate and include the proguard file

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ directories to your PATH as needed.
5353
Note: Once python is installed you can use the following commands to install
5454
required packages:
5555

56-
* python -m ensurepip --default-pip
57-
* python -m pip install --user absl-py
56+
* python3 -m ensurepip --default-pip
57+
* python3 -m pip install --user absl-py
5858

5959
### Prerequisites for Desktop
6060
The following prerequisites are required when building the libraries for
@@ -203,7 +203,7 @@ deliverable for both iOS and tvOS targets in the same XCode project.
203203
``` bash
204204
# Install prereqs (like cocoapods)
205205
./build_scripts/tvos/install_prereqs.sh
206-
python scripts/gha/build_ios_tvos.py -s . -b ios_tvos_build
206+
python3 scripts/gha/build_ios_tvos.py -s . -b ios_tvos_build
207207
```
208208

209209

analytics/integration_test/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ use_frameworks! :linkage => :static
55

66
target 'integration_test' do
77
platform :ios, '11.0'
8-
pod 'Firebase/Analytics', '10.11.0'
8+
pod 'Firebase/Analytics', '10.12.0'
99
end
1010

1111
target 'integration_test_tvos' do
1212
platform :tvos, '12.0'
13-
pod 'Firebase/Analytics', '10.11.0'
13+
pod 'Firebase/Analytics', '10.12.0'
1414
end
1515

1616
post_install do |installer|

analytics/integration_test/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ apply plugin: 'com.google.gms.google-services'
8484
task copyIntegrationTestFiles(type:Exec) {
8585
// If this is running form inside the SDK directory, run the setup script.
8686
if (project.file('../../setup_integration_tests.py').exists()) {
87-
commandLine 'python', '../../setup_integration_tests.py', project.projectDir.toString()
87+
commandLine 'python3', '../../setup_integration_tests.py', project.projectDir.toString()
8888
}
8989
else {
9090
commandLine 'echo', ''

analytics/ios_headers/FIREventNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2023 Google LLC
22

3-
// Copied from Firebase Analytics iOS SDK 10.11.0.
3+
// Copied from Firebase Analytics iOS SDK 10.12.0.
44

55
/// @file FIREventNames.h
66
///

analytics/ios_headers/FIRParameterNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2023 Google LLC
22

3-
// Copied from Firebase Analytics iOS SDK 10.11.0.
3+
// Copied from Firebase Analytics iOS SDK 10.12.0.
44

55
/// @file FIRParameterNames.h
66
///

analytics/ios_headers/FIRUserPropertyNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2023 Google LLC
22

3-
// Copied from Firebase Analytics iOS SDK 10.11.0.
3+
// Copied from Firebase Analytics iOS SDK 10.12.0.
44

55
/// @file FIRUserPropertyNames.h
66
///

app/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ set(FLATBUFFERS_FLATC_SCHEMA_EXTRA_ARGS
5959
"--no-union-value-namespacing"
6060
"--gen-generated"
6161
"--gen-object-api"
62-
"--cpp-ptr-type" "flatbuffers::unique_ptr")
62+
"--cpp-ptr-type" "std::unique_ptr")
6363
# Because of a bug in the version of Flatbuffers we are pinned to,
6464
# additional flags need to be set.
6565
set(FLATC_ARGS "${FLATBUFFERS_FLATC_SCHEMA_EXTRA_ARGS}")
@@ -180,7 +180,7 @@ set(FLATBUFFERS_FLATC_SCHEMA_EXTRA_ARGS
180180
"--no-union-value-namespacing"
181181
"--gen-generated"
182182
"--gen-object-api"
183-
"--cpp-ptr-type" "flatbuffers::unique_ptr")
183+
"--cpp-ptr-type" "std::unique_ptr")
184184
# Because of a bug in the version of Flatbuffers we are pinned to,
185185
# additional flags need to be set.
186186
# also see if app_generated_includes will conflict
@@ -351,10 +351,6 @@ add_library(firebase_app STATIC
351351
${utility_HDRS}
352352
${app_platform_HDRS}
353353
${FIREBASE_GEN_FILE_DIR}/app/google_services_generated.h
354-
memory/atomic.h
355-
meta/move.h
356-
memory/unique_ptr.h
357-
memory/shared_ptr.h
358354
${app_flatbuffers_srcs})
359355

360356
set_property(TARGET firebase_app PROPERTY FOLDER "Firebase Cpp")

app/app_resources/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ android {
5050
}
5151

5252
dependencies {
53-
implementation platform('com.google.firebase:firebase-bom:32.1.1')
53+
implementation platform('com.google.firebase:firebase-bom:32.2.0')
5454
implementation 'com.google.firebase:firebase-analytics'
5555
}
5656

app/google_api_resources/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ android {
5353
}
5454

5555
dependencies {
56-
implementation platform('com.google.firebase:firebase-bom:32.1.1')
56+
implementation platform('com.google.firebase:firebase-bom:32.2.0')
5757
implementation 'com.google.firebase:firebase-analytics'
5858
implementation 'com.google.android.gms:play-services-base:18.2.0'
5959
implementation project(':app:app_resources')

app/integration_test/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ platform :ios, '11.0'
44
use_frameworks! :linkage => :static
55

66
target 'integration_test' do
7-
pod 'Firebase/Analytics', '10.11.0'
7+
pod 'Firebase/Analytics', '10.12.0'
88
end
99

1010
post_install do |installer|

app/integration_test/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ apply plugin: 'com.google.gms.google-services'
8484
task copyIntegrationTestFiles(type:Exec) {
8585
// If this is running form inside the SDK directory, run the setup script.
8686
if (project.file('../../setup_integration_tests.py').exists()) {
87-
commandLine 'python', '../../setup_integration_tests.py', project.projectDir.toString()
87+
commandLine 'python3', '../../setup_integration_tests.py', project.projectDir.toString()
8888
}
8989
else {
9090
commandLine 'echo', ''

app/invites_resources/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ android {
4949
}
5050

5151
dependencies {
52-
implementation platform('com.google.firebase:firebase-bom:32.1.1')
52+
implementation platform('com.google.firebase:firebase-bom:32.2.0')
5353
implementation 'com.google.firebase:firebase-analytics'
5454
implementation 'com.google.firebase:firebase-dynamic-links'
5555
implementation project(':app:app_resources')

app/memory/atomic.h

Lines changed: 0 additions & 149 deletions
This file was deleted.

0 commit comments

Comments
 (0)