diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml
index 05c93a6188..2d4edf6f1d 100644
--- a/.github/workflows/integration_tests.yml
+++ b/.github/workflows/integration_tests.yml
@@ -17,7 +17,7 @@ on:
required: true
apis:
description: 'CSV of apis to build and test'
- default: 'analytics,app_check,auth,database,dynamic_links,firestore,functions,gma,installations,messaging,remote_config,storage,ump'
+ default: 'analytics,app_check,auth,database,dynamic_links,firestore,functions,installations,messaging,remote_config,storage,ump'
required: true
operating_systems:
description: 'CSV of VMs to run on'
@@ -186,7 +186,7 @@ jobs:
# list. Then we can use fromJson to define the field in the matrix for the tests job.
if [[ "${{ github.event.schedule }}" == "0 9 * * *" ]]; then
# at 1am PST/2am PDT. Running integration tests and generate test report for all testapps except firestore
- apis="analytics,app_check,auth,database,dynamic_links,functions,gma,installations,messaging,remote_config,storage,ump"
+ apis="analytics,app_check,auth,database,dynamic_links,functions,installations,messaging,remote_config,storage,ump"
echo "::warning ::Running main nightly tests"
elif [[ "${{ github.event.schedule }}" == "0 10 * * *" || "${{ github.event.schedule }}" == "0 11 * * *" ]]; then
# at 2am PST/3am PDT and 3am PST/4am PDT. Running integration tests for firestore and generate test report.
diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml
index 23db829d3e..3a0fd70d48 100644
--- a/.github/workflows/update-dependencies.yml
+++ b/.github/workflows/update-dependencies.yml
@@ -8,9 +8,6 @@ on:
updateiOS:
description: 'update iOS dependencies?'
default: 1
- includeGMA:
- description: 'include GMA?'
- default: 0
triggerTests:
description: 'trigger tests on PR?'
default: 1
@@ -68,20 +65,16 @@ jobs:
- name: Run update script
run: |
- gma_flag=
- if [[ ${{ github.event.inputs.includeGMA }} -eq 1 ]]; then
- gma_flag="--include_gma"
- fi
if [[ ${{ github.event.inputs.updateiOS }} -eq 1 ]]; then
if [[ ${{ github.event.inputs.updateAndroid }} -eq 1 ]]; then
# Update both
echo "Updating all dependencies"
- python scripts/update_android_ios_dependencies.py --logfile=${UPDATE_LOGFILE} ${gma_flag}
+ python scripts/update_android_ios_dependencies.py --logfile=${UPDATE_LOGFILE}
echo "CHOSEN_DEPS=mobile" >> $GITHUB_ENV
else
# Update iOS only
echo "Updating iOS dependencies only"
- python scripts/update_android_ios_dependencies.py --skip_android --logfile=${UPDATE_LOGFILE} ${gma_flag}
+ python scripts/update_android_ios_dependencies.py --skip_android --logfile=${UPDATE_LOGFILE}
echo "CHOSEN_DEPS=iOS" >> $GITHUB_ENV
fi
# iOS: Update Firestore external version to match Firestore Cocoapod version.
@@ -165,7 +158,7 @@ jobs:
elif [[ ${{ github.event.inputs.updateAndroid }} -eq 1 ]]; then
# Update Android only
echo "Updating Android dependencies only"
- python scripts/update_android_ios_dependencies.py --skip_ios --logfile=${UPDATE_LOGFILE} ${gma_flag}
+ python scripts/update_android_ios_dependencies.py --skip_ios --logfile=${UPDATE_LOGFILE}
echo "CHOSEN_DEPS=Android" >> $GITHUB_ENV
else
echo "::error ::Neither Android nor iOS selected. Exiting."
diff --git a/Android/firebase_dependencies.gradle b/Android/firebase_dependencies.gradle
index 94b39ec52c..c7a19de54b 100644
--- a/Android/firebase_dependencies.gradle
+++ b/Android/firebase_dependencies.gradle
@@ -27,8 +27,6 @@ def firebaseDependenciesMap = [
'dynamic_links' : ['com.google.firebase:firebase-dynamic-links'],
'firestore' : ['com.google.firebase:firebase-firestore'],
'functions' : ['com.google.firebase:firebase-functions'],
- 'gma' : ['com.google.android.gms:play-services-ads:23.0.0',
- 'com.google.android.ump:user-messaging-platform:2.2.0'],
'installations' : ['com.google.firebase:firebase-installations'],
'invites' : ['com.google.firebase:firebase-invites'],
// Messaging has an additional local dependency to include.
@@ -52,7 +50,6 @@ def firebaseResourceDependenciesMap = [
'auth' : [':auth:auth_resources'],
'database' : [':database:database_resources'],
'firestore' : [':firestore:firestore_resources'],
- 'gma' : [':gma:gma_resources'],
'remote_config' : [':remote_config:remote_config_resources'],
'storage' : [':storage:storage_resources'],
'ump' : [':ump:ump_resources']
@@ -94,9 +91,6 @@ class Dependencies {
def getFirestore() {
libSet.add('firestore')
}
- def getGma() {
- libSet.add('gma')
- }
def getFunctions() {
libSet.add('functions')
}
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aea6d80a34..a5a505120e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,8 +48,6 @@ option(FIREBASE_INCLUDE_FIRESTORE
option(FIREBASE_INCLUDE_FUNCTIONS
"Include the Cloud Functions for Firebase library."
${FIREBASE_INCLUDE_LIBRARY_DEFAULT})
-option(FIREBASE_INCLUDE_GMA "Include the GMA library."
- ${FIREBASE_INCLUDE_LIBRARY_DEFAULT})
option(FIREBASE_INCLUDE_UMP "Include the UMP library."
${FIREBASE_INCLUDE_LIBRARY_DEFAULT})
option(FIREBASE_INCLUDE_INSTALLATIONS
@@ -125,9 +123,8 @@ if(FIREBASE_CPP_BUILD_TESTS OR FIREBASE_CPP_BUILD_STUB_TESTS)
endif()
if (PLATFORM STREQUAL TVOS OR PLATFORM STREQUAL SIMULATOR_TVOS)
- # GMA, UMP, and FDL are not supported on tvOS.
+ # UMP and FDL are not supported on tvOS.
set(FIREBASE_INCLUDE_DYNAMIC_LINKS OFF)
- set(FIREBASE_INCLUDE_GMA OFF)
set(FIREBASE_INCLUDE_UMP OFF)
endif()
@@ -635,9 +632,6 @@ endif()
if (FIREBASE_INCLUDE_FUNCTIONS)
add_subdirectory(functions)
endif()
-if (FIREBASE_INCLUDE_GMA)
- add_subdirectory(gma)
-endif()
if (FIREBASE_INCLUDE_UMP)
add_subdirectory(ump)
endif()
diff --git a/README.md b/README.md
index 6a829a9a07..55e38e9bab 100644
--- a/README.md
+++ b/README.md
@@ -10,9 +10,12 @@ iOS, and desktop platforms. It includes the following Firebase libraries:
|[Google Analytics for Firebase](https://firebase.google.com/docs/analytics/)|
|[Firebase Authentication](https://firebase.google.com/docs/auth/)|[Firebase Realtime Database](https://firebase.google.com/docs/database/)|
|[Firebase Dynamic Links](https://firebase.google.com/docs/dynamic-links/)|[Cloud Firestore](https://firebase.google.com/docs/firestore/)|
-|[Cloud Functions for Firebase](https://firebase.google.com/docs/functions/)|[Firebase Invites](https://firebase.google.com/docs/invites/)|
-|[Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/)|[Firebase Remote Config](https://firebase.google.com/docs/remote-config/)|
-|[Cloud Storage for Firebase](https://firebase.google.com/docs/storage/)|
+|[Cloud Functions for Firebase](https://firebase.google.com/docs/functions/)|[Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/)|
+|[Firebase Remote Config](https://firebase.google.com/docs/remote-config/)|[Cloud Storage for Firebase](https://firebase.google.com/docs/storage/)|
+
+
+
+**Note:** The Google Mobile Ads (GMA) C++ SDK has been deprecated and was removed from this SDK.
@@ -117,7 +120,6 @@ The CMake following targets are available to build and link with:
| Firebase Dynamic Links | firebase_dynamic_links |
| Cloud Firestore | firebase_firestore |
| Cloud Functions for Firebase | firebase_functions |
-| Firebase Invites | firebase_invites |
| Firebase Cloud Messaging | firebase_messaging |
| Firebase Remote Config | firebase_remote_config |
| Cloud Storage for Firebase | firebase_storage |
@@ -222,7 +224,6 @@ release version of each Firebase library is:
| Firebase Dynamic Links | :dynamic_links:assembleRelease |
| Cloud Firestore | :firestore:assembleRelease |
| Cloud Functions for Firebase | :functions:assembleRelease |
-| Firebase Invites | :invites:assembleRelease |
| Firebase Cloud Messaging | :messaging:assembleRelease |
| Firebase Remote Config | :remote_config:assembleRelease |
| Cloud Storage for Firebase | :storage:assembleRelease |
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index 9b2d0b333a..6b1108ac31 100644
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -541,17 +541,6 @@ if (IOS)
${FIREBASE_SOURCE_DIR}/functions/src/include/firebase/functions/callable_reference.h
${FIREBASE_SOURCE_DIR}/functions/src/include/firebase/functions/callable_result.h
${FIREBASE_SOURCE_DIR}/functions/src/include/firebase/functions/common.h)
- set(gma_HDRS
- ${FIREBASE_SOURCE_DIR}/gma/src/include/firebase/gma.h
- ${FIREBASE_SOURCE_DIR}/gma/src/include/firebase/gma/ad_view.h
- ${FIREBASE_SOURCE_DIR}/gma/src/include/firebase/gma/interstitial_ad.h
- ${FIREBASE_SOURCE_DIR}/gma/src/include/firebase/gma/internal/native_ad.h
- ${FIREBASE_SOURCE_DIR}/gma/src/include/firebase/gma/internal/query_info.h
- ${FIREBASE_SOURCE_DIR}/gma/src/include/firebase/gma/rewarded_ad.h
- ${FIREBASE_SOURCE_DIR}/gma/src/include/firebase/gma/types.h
- ${FIREBASE_SOURCE_DIR}/gma/src/include/firebase/gma/ump.h
- ${FIREBASE_SOURCE_DIR}/gma/src/include/firebase/gma/ump/consent_info.h
- ${FIREBASE_SOURCE_DIR}/gma/src/include/firebase/gma/ump/types.h)
set(installations_HDRS
${FIREBASE_SOURCE_DIR}/installations/src/include/firebase/installations.h)
set(messaging_HDRS
@@ -580,7 +569,6 @@ if (IOS)
${dynamic_links_HDRS}
${firestore_HDRS}
${functions_HDRS}
- ${gma_HDRS}
${installations_HDRS}
${messaging_HDRS}
${remote_config_HDRS}
diff --git a/build_scripts/ios/build.sh b/build_scripts/ios/build.sh
index c466d35af7..f21e4ff36e 100755
--- a/build_scripts/ios/build.sh
+++ b/build_scripts/ios/build.sh
@@ -27,7 +27,7 @@ readonly SUPPORTED_PLATFORMS=(device simulator)
readonly SUPPORTED_ARCHITECTURES=(arm64 x86_64)
readonly DEVICE_ARCHITECTURES=(arm64)
readonly SIMULATOR_ARCHITECTURES=(arm64 x86_64)
-readonly SUPPORTED_TARGETS=(firebase_analytics firebase_auth firebase_app_check firebase_database firebase_dynamic_links firebase_firestore firebase_functions firebase_gma firebase_installations firebase_messaging firebase_remote_config firebase_storage firebase_ump)
+readonly SUPPORTED_TARGETS=(firebase_analytics firebase_auth firebase_app_check firebase_database firebase_dynamic_links firebase_firestore firebase_functions firebase_installations firebase_messaging firebase_remote_config firebase_storage firebase_ump)
# build default value
buildpath="ios_build"
diff --git a/build_scripts/packaging.conf b/build_scripts/packaging.conf
index 8f1ee6f401..5010b2c4a2 100644
--- a/build_scripts/packaging.conf
+++ b/build_scripts/packaging.conf
@@ -2,5 +2,5 @@
# List of all Firebase products to include in the binary SDK package.
readonly -a product_list=(analytics app app_check auth database
-dynamic_links firestore functions gma installations messaging
+dynamic_links firestore functions installations messaging
remote_config storage ump)
diff --git a/docs/Doxyfile b/docs/Doxyfile
index fabb54e5da..fea93c1f66 100644
--- a/docs/Doxyfile
+++ b/docs/Doxyfile
@@ -13,7 +13,7 @@ SORT_GROUP_NAMES = YES
JAVADOC_AUTOBRIEF = YES
# Firebase-specific options.
-PREDEFINED = DOXYGEN DOXYGEN_ADMOB FIREBASE_DEPRECATED FIREBASE_NAMESPACE=firebase
+PREDEFINED = DOXYGEN FIREBASE_DEPRECATED FIREBASE_NAMESPACE=firebase
MACRO_EXPANSION = YES # Expand FIREBASE_DEPRECATED macros.
EXPAND_ONLY_PREDEF = YES # Expand FIREBASE_DEPRECATED macros.
VERBATIM_HEADERS = NO
diff --git a/gma/CMakeLists.txt b/gma/CMakeLists.txt
deleted file mode 100644
index 2b0b225740..0000000000
--- a/gma/CMakeLists.txt
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 2021 Google LLC
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# CMake file for the firebase_gma library
-
-# Common source files used by all platforms
-set(common_SRCS
- src/common/ump/consent_info.cc
- src/common/ump/consent_info_internal.cc
- src/common/gma_common.cc
- src/common/ad_view.cc
- src/common/ad_view_internal.cc
- src/common/interstitial_ad.cc
- src/common/interstitial_ad_internal.cc
- src/common/full_screen_ad_event_listener.cc
- src/common/native_ad.cc
- src/common/native_ad_internal.cc
- src/common/query_info.cc
- src/common/query_info_internal.cc
- src/common/rewarded_ad.cc
- src/common/rewarded_ad_internal.cc)
-
-# Define the resource build needed for Android
-firebase_cpp_gradle(":gma:gma_resources:generateDexJarRelease"
- "${CMAKE_CURRENT_LIST_DIR}/gma_resources/build/gma_resources_lib.jar")
-binary_to_array("gma_resources"
- "${CMAKE_CURRENT_LIST_DIR}/gma_resources/build/gma_resources_lib.jar"
- "firebase_gma"
- "${FIREBASE_GEN_FILE_DIR}/gma")
-
-# Source files used by the Android implementation.
-set(android_SRCS
- ${gma_resources_source}
- src/android/ump/consent_info_internal_android.cc
- src/android/ad_request_converter.cc
- src/android/ad_error_android.cc
- src/android/adapter_response_info_android.cc
- src/android/gma_android.cc
- src/android/ad_view_internal_android.cc
- src/android/interstitial_ad_internal_android.cc
- src/android/native_ad_image_android.cc
- src/android/native_ad_internal_android.cc
- src/android/query_info_internal_android.cc
- src/android/response_info_android.cc
- src/android/rewarded_ad_internal_android.cc)
-
-# Source files used by the iOS implementation.
-set(ios_SRCS
- src/ios/ump/consent_info_internal_ios.mm
- src/ios/FADAdSize.mm
- src/ios/FADAdView.mm
- src/ios/FADInterstitialDelegate.mm
- src/ios/FADNativeDelegate.mm
- src/ios/FADRequest.mm
- src/ios/FADRewardedAdDelegate.mm
- src/ios/ad_error_ios.mm
- src/ios/adapter_response_info_ios.mm
- src/ios/gma_ios.mm
- src/ios/ad_view_internal_ios.mm
- src/ios/interstitial_ad_internal_ios.mm
- src/ios/native_ad_image_ios.mm
- src/ios/native_ad_internal_ios.mm
- src/ios/query_info_internal_ios.mm
- src/ios/response_info_ios.mm
- src/ios/rewarded_ad_internal_ios.mm)
-
-# Source files used by the stub implementation.
-set(stub_SRCS
- src/stub/ump/consent_info_internal_stub.cc
- src/stub/ad_error_stub.cc
- src/stub/adapter_response_info_stub.cc
- src/stub/gma_stub.cc
- src/stub/native_ad_image_stub.cc
- src/stub/response_info_stub.cc)
-
-if(ANDROID)
- set(gma_platform_SRCS
- "${android_SRCS}")
-elseif(IOS)
- set(gma_platform_SRCS
- "${ios_SRCS}")
-else()
- set(gma_platform_SRCS
- "${stub_SRCS}")
-endif()
-
-add_library(firebase_gma STATIC
- ${common_SRCS}
- ${gma_platform_SRCS})
-
-set_property(TARGET firebase_gma PROPERTY FOLDER "Firebase Cpp")
-
-# Set up the dependency on Firebase App.
-target_link_libraries(firebase_gma
- PUBLIC firebase_app)
-# Public headers all refer to each other relative to the src/include directory,
-# while private headers are relative to the entire C++ SDK directory.
-target_include_directories(firebase_gma
- PUBLIC
- ${CMAKE_CURRENT_LIST_DIR}/src/include
- PRIVATE
- ${FIREBASE_CPP_SDK_ROOT_DIR}
-)
-target_compile_definitions(firebase_gma
- PRIVATE
- -DINTERNAL_EXPERIMENTAL=1
-)
-# Automatically include headers that might not be declared.
-if(MSVC)
- add_definitions(/FI"assert.h" /FI"string.h" /FI"stdint.h")
-else()
- add_definitions(-include assert.h -include string.h)
-endif()
-
-if(ANDROID)
- firebase_cpp_proguard_file(gma)
-elseif(IOS)
- # GMA for iOS uses weak references, which requires enabling Automatic
- # Reference Counting (ARC). Also enable BitCode.
- target_compile_options(firebase_gma
- PUBLIC "-fobjc-arc" "-fembed-bitcode")
- target_link_libraries(firebase_gma
- PUBLIC "-fembed-bitcode")
-
- setup_pod_headers(
- firebase_gma
- POD_NAMES
- Google-Mobile-Ads-SDK
- GoogleUserMessagingPlatform
- )
-
- # GMA expects the header files to be in a subfolder, so set up a symlink to
- # accomplish that.
- symlink_pod_headers(firebase_gma Google-Mobile-Ads-SDK GoogleMobileAds)
- symlink_pod_headers(firebase_gma GoogleUserMessagingPlatform UserMessagingPlatform)
-
- if (FIREBASE_XCODE_TARGET_FORMAT STREQUAL "frameworks")
- set_target_properties(firebase_gma PROPERTIES
- FRAMEWORK TRUE
- )
- endif()
-endif()
-
-cpp_pack_library(firebase_gma "")
-cpp_pack_public_headers()
diff --git a/gma/build.gradle b/gma/build.gradle
deleted file mode 100644
index 9b54eea9f6..0000000000
--- a/gma/build.gradle
+++ /dev/null
@@ -1,93 +0,0 @@
-// Copyright 2021 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-buildscript {
- repositories {
- google()
- mavenCentral()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:7.4.2'
- }
-}
-allprojects {
- repositories {
- google()
- mavenCentral()
- }
-}
-
-apply plugin: 'com.android.library'
-
-android {
- compileSdkVersion 34
- ndkPath System.getenv('ANDROID_NDK_HOME')
- buildToolsVersion '32.0.0'
-
- sourceSets {
- main {
- manifest.srcFile '../android_build_files/AndroidManifest.xml'
- }
- }
-
- externalNativeBuild {
- cmake {
- path '../CMakeLists.txt'
- }
- }
-
- defaultConfig {
- minSdkVersion 23
- targetSdkVersion 34
- versionCode 1
- versionName "1.0"
-
- buildTypes {
- release {
- minifyEnabled false
- }
- }
-
- externalNativeBuild {
- cmake {
- targets 'firebase_gma'
- // Args are: Re-use app library prebuilt by app gradle project.
- // Don't configure all the cmake subprojects.
- // Only include needed project.
- arguments '-DFIREBASE_CPP_USE_PRIOR_GRADLE_BUILD=ON',
- '-DFIREBASE_INCLUDE_LIBRARY_DEFAULT=OFF',
- '-DFIREBASE_INCLUDE_GMA=ON'
- }
- }
- }
-
- lintOptions {
- abortOnError false
- }
-}
-
-dependencies {
- implementation project(':app')
-}
-apply from: "$rootDir/android_build_files/android_abis.gradle"
-apply from: "$rootDir/android_build_files/extract_and_dex.gradle"
-apply from: "$rootDir/android_build_files/generate_proguard.gradle"
-project.afterEvaluate {
- generateProguardFile('gma')
- setupDexDependencies(':gma:gma_resources')
- preBuild.dependsOn(':app:build')
- project.tasks.withType(com.android.build.gradle.internal.tasks.CheckAarMetadataTask) {
- enabled = false
- }
-}
diff --git a/gma/gma_additional.pro b/gma/gma_additional.pro
deleted file mode 100644
index 57edbf9017..0000000000
--- a/gma/gma_additional.pro
+++ /dev/null
@@ -1,2 +0,0 @@
-# Additional ProGuard rules needed for the AdMob library.
--keep class com.google.ads.mediation.admob.AdMobAdapter { *; }
diff --git a/gma/integration_test/AndroidManifest.xml b/gma/integration_test/AndroidManifest.xml
deleted file mode 100644
index 8aa98a1958..0000000000
--- a/gma/integration_test/AndroidManifest.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/gma/integration_test/CMakeLists.txt b/gma/integration_test/CMakeLists.txt
deleted file mode 100644
index 29c6a6e4d1..0000000000
--- a/gma/integration_test/CMakeLists.txt
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 2021 Google LLC
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Cmake file for a single C++ integration test build.
-
-cmake_minimum_required(VERSION 2.8)
-
-find_program(FIREBASE_PYTHON_EXECUTABLE
- NAMES python3 python
- DOC "The Python interpreter to use, such as one from a venv"
- REQUIRED
-)
-
-# User settings for Firebase integration tests.
-# Path to Firebase SDK.
-# Try to read the path to the Firebase C++ SDK from an environment variable.
-if (NOT "$ENV{FIREBASE_CPP_SDK_DIR}" STREQUAL "")
- set(DEFAULT_FIREBASE_CPP_SDK_DIR "$ENV{FIREBASE_CPP_SDK_DIR}")
-else()
- if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/../../cpp_sdk_version.json")
- set(DEFAULT_FIREBASE_CPP_SDK_DIR "${CMAKE_CURRENT_LIST_DIR}/../..")
- else()
- set(DEFAULT_FIREBASE_CPP_SDK_DIR "firebase_cpp_sdk")
- endif()
-endif()
-if ("${FIREBASE_CPP_SDK_DIR}" STREQUAL "")
- set(FIREBASE_CPP_SDK_DIR ${DEFAULT_FIREBASE_CPP_SDK_DIR})
-endif()
-if(NOT EXISTS ${FIREBASE_CPP_SDK_DIR})
- message(FATAL_ERROR "The Firebase C++ SDK directory does not exist: ${FIREBASE_CPP_SDK_DIR}. See the readme.md for more information")
-endif()
-
-# Copy all prerequisite files for integration tests to run.
-if(NOT ANDROID)
- if (EXISTS ${CMAKE_CURRENT_LIST_DIR}/../../setup_integration_tests.py)
- # If this is running from inside the SDK directory, run the setup script.
- execute_process(
- COMMAND
- ${FIREBASE_PYTHON_EXECUTABLE}
- "${CMAKE_CURRENT_LIST_DIR}/../../setup_integration_tests.py"
- "${CMAKE_CURRENT_LIST_DIR}"
- RESULT_VARIABLE
- FIREBASE_PYTHON_EXECUTABLE_RESULT
- )
- if(NOT FIREBASE_PYTHON_EXECUTABLE_RESULT EQUAL 0)
- message(FATAL_ERROR "Failed to run setup_integration_tests.py")
- endif()
- endif()
-endif()
-
-# Windows runtime mode, either MD or MT depending on whether you are using
-# /MD or /MT. For more information see:
-# https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx
-set(MSVC_RUNTIME_MODE MD)
-
-project(firebase_testapp)
-
-# Integration test source files.
-set(FIREBASE_APP_FRAMEWORK_SRCS
- src/app_framework.cc
- src/app_framework.h
-)
-
-set(FIREBASE_TEST_FRAMEWORK_SRCS
- src/firebase_test_framework.h
- src/firebase_test_framework.cc
-)
-
-set(FIREBASE_INTEGRATION_TEST_SRCS
- src/integration_test.cc
-)
-
-# The include directory for the testapp.
-include_directories(src)
-
-# Firebase C++ SDK requires C++14.
-set (CMAKE_CXX_STANDARD 14)
-set (CMAKE_CXX_STANDARD_REQUIRED YES) # Don't fall back to an earlier version.
-
-# Download and unpack googletest (and googlemock) at configure time
-set(GOOGLETEST_ROOT ${CMAKE_CURRENT_LIST_DIR}/external/googletest)
-# Note: Once googletest is downloaded once, it won't be updated or
-# downloaded again unless you delete the "external/googletest"
-# directory.
-if (NOT EXISTS ${GOOGLETEST_ROOT}/src/googletest/src/gtest-all.cc)
- configure_file(googletest.cmake
- ${CMAKE_CURRENT_LIST_DIR}/external/googletest/CMakeLists.txt COPYONLY)
- execute_process(COMMAND ${CMAKE_COMMAND} .
- RESULT_VARIABLE result
- WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/external/googletest )
- if(result)
- message(FATAL_ERROR "CMake step for googletest failed: ${result}")
- endif()
- execute_process(COMMAND ${CMAKE_COMMAND} --build .
- RESULT_VARIABLE result
- WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/external/googletest )
- if(result)
- message(FATAL_ERROR "Build step for googletest failed: ${result}")
- endif()
-endif()
-
-if(ANDROID)
- # Build an Android application.
-
- # Source files used for the Android build.
- set(FIREBASE_APP_FRAMEWORK_ANDROID_SRCS
- src/android/android_app_framework.cc
- )
-
- # Source files used for the Android build.
- set(FIREBASE_TEST_FRAMEWORK_ANDROID_SRCS
- src/android/android_firebase_test_framework.cc
- )
-
- # Build native_app_glue as a static lib
- add_library(native_app_glue STATIC
- ${ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c)
-
- # Export ANativeActivity_onCreate(),
- # Refer to: https://github.com/android-ndk/ndk/issues/381.
- set(CMAKE_SHARED_LINKER_FLAGS
- "${CMAKE_SHARED_LINKER_FLAGS} -u ANativeActivity_onCreate")
-
- add_library(gtest STATIC
- ${GOOGLETEST_ROOT}/src/googletest/src/gtest-all.cc)
- target_include_directories(gtest
- PRIVATE ${GOOGLETEST_ROOT}/src/googletest
- PUBLIC ${GOOGLETEST_ROOT}/src/googletest/include)
- add_library(gmock STATIC
- ${GOOGLETEST_ROOT}/src/googlemock/src/gmock-all.cc)
- target_include_directories(gmock
- PRIVATE ${GOOGLETEST_ROOT}/src/googletest
- PRIVATE ${GOOGLETEST_ROOT}/src/googlemock
- PUBLIC ${GOOGLETEST_ROOT}/src/googletest/include
- PUBLIC ${GOOGLETEST_ROOT}/src/googlemock/include)
-
- # Define the target as a shared library, as that is what gradle expects.
- set(integration_test_target_name "android_integration_test_main")
- add_library(${integration_test_target_name} SHARED
- ${FIREBASE_APP_FRAMEWORK_SRCS}
- ${FIREBASE_APP_FRAMEWORK_ANDROID_SRCS}
- ${FIREBASE_INTEGRATION_TEST_SRCS}
- ${FIREBASE_TEST_FRAMEWORK_SRCS}
- ${FIREBASE_TEST_FRAMEWORK_ANDROID_SRCS}
- )
-
- target_include_directories(${integration_test_target_name} PRIVATE
- ${ANDROID_NDK}/sources/android/native_app_glue)
-
- set(ADDITIONAL_LIBS log android atomic native_app_glue)
-else()
- # Build a desktop application.
- add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)
-
- # Prevent overriding the parent project's compiler/linker
- # settings on Windows
- set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
-
- # Add googletest directly to our build. This defines
- # the gtest and gtest_main targets.
- add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/external/googletest/src
- ${CMAKE_CURRENT_LIST_DIR}/external/googletest/build
- EXCLUDE_FROM_ALL)
-
- # The gtest/gtest_main targets carry header search path
- # dependencies automatically when using CMake 2.8.11 or
- # later. Otherwise we have to add them here ourselves.
- if (CMAKE_VERSION VERSION_LESS 2.8.11)
- include_directories("${gtest_SOURCE_DIR}/include")
- include_directories("${gmock_SOURCE_DIR}/include")
- endif()
-
- # Windows runtime mode, either MD or MT depending on whether you are using
- # /MD or /MT. For more information see:
- # https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx
- set(MSVC_RUNTIME_MODE MD)
-
- # Platform abstraction layer for the desktop integration test.
- set(FIREBASE_APP_FRAMEWORK_DESKTOP_SRCS
- src/desktop/desktop_app_framework.cc
- src/desktop/desktop_firebase_test_framework.cc
- )
-
- set(integration_test_target_name "integration_test")
- add_executable(${integration_test_target_name}
- ${FIREBASE_APP_FRAMEWORK_SRCS}
- ${FIREBASE_APP_FRAMEWORK_DESKTOP_SRCS}
- ${FIREBASE_TEST_FRAMEWORK_SRCS}
- ${FIREBASE_INTEGRATION_TEST_SRCS}
- )
-
- if(APPLE)
- set(ADDITIONAL_LIBS
- gssapi_krb5
- pthread
- "-framework CoreFoundation"
- "-framework Foundation"
- "-framework GSS"
- "-framework Security"
- )
- elseif(MSVC)
- set(ADDITIONAL_LIBS advapi32 ws2_32 crypt32)
- else()
- set(ADDITIONAL_LIBS pthread)
- endif()
-
- # If a config file is present, copy it into the binary location so that it's
- # possible to create the default Firebase app.
- set(FOUND_JSON_FILE FALSE)
- foreach(config "google-services-desktop.json" "google-services.json")
- if (EXISTS "${CMAKE_CURRENT_LIST_DIR}/${config}")
- add_custom_command(
- TARGET ${integration_test_target_name} POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E copy
- "${CMAKE_CURRENT_LIST_DIR}/${config}" $)
- set(FOUND_JSON_FILE TRUE)
- break()
- endif()
- endforeach()
- if(NOT FOUND_JSON_FILE)
- message(WARNING "Failed to find either google-services-desktop.json or google-services.json. See the readme.md for more information.")
- endif()
-endif()
-
-# Add the Firebase libraries to the target using the function from the SDK.
-add_subdirectory(${FIREBASE_CPP_SDK_DIR} bin/ EXCLUDE_FROM_ALL)
-# Note that firebase_app needs to be last in the list.
-set(firebase_libs firebase_gma firebase_app)
-set(gtest_libs gtest gmock)
-target_link_libraries(${integration_test_target_name} ${firebase_libs}
- ${gtest_libs} ${ADDITIONAL_LIBS})
diff --git a/gma/integration_test/Images.xcassets/AppIcon.appiconset/Contents.json b/gma/integration_test/Images.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index d8db8d65fd..0000000000
--- a/gma/integration_test/Images.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "images" : [
- {
- "idiom" : "iphone",
- "size" : "20x20",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "20x20",
- "scale" : "3x"
- },
- {
- "idiom" : "iphone",
- "size" : "29x29",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "29x29",
- "scale" : "3x"
- },
- {
- "idiom" : "iphone",
- "size" : "40x40",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "40x40",
- "scale" : "3x"
- },
- {
- "idiom" : "iphone",
- "size" : "60x60",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "60x60",
- "scale" : "3x"
- },
- {
- "idiom" : "ipad",
- "size" : "20x20",
- "scale" : "1x"
- },
- {
- "idiom" : "ipad",
- "size" : "20x20",
- "scale" : "2x"
- },
- {
- "idiom" : "ipad",
- "size" : "29x29",
- "scale" : "1x"
- },
- {
- "idiom" : "ipad",
- "size" : "29x29",
- "scale" : "2x"
- },
- {
- "idiom" : "ipad",
- "size" : "40x40",
- "scale" : "1x"
- },
- {
- "idiom" : "ipad",
- "size" : "40x40",
- "scale" : "2x"
- },
- {
- "idiom" : "ipad",
- "size" : "76x76",
- "scale" : "1x"
- },
- {
- "idiom" : "ipad",
- "size" : "76x76",
- "scale" : "2x"
- },
- {
- "idiom" : "ipad",
- "size" : "83.5x83.5",
- "scale" : "2x"
- },
- {
- "idiom" : "ios-marketing",
- "size" : "1024x1024",
- "scale" : "1x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
\ No newline at end of file
diff --git a/gma/integration_test/Images.xcassets/LaunchImage.launchimage/Contents.json b/gma/integration_test/Images.xcassets/LaunchImage.launchimage/Contents.json
deleted file mode 100644
index 6f870a4629..0000000000
--- a/gma/integration_test/Images.xcassets/LaunchImage.launchimage/Contents.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "images" : [
- {
- "orientation" : "portrait",
- "idiom" : "iphone",
- "extent" : "full-screen",
- "minimum-system-version" : "7.0",
- "scale" : "2x"
- },
- {
- "orientation" : "portrait",
- "idiom" : "iphone",
- "subtype" : "retina4",
- "extent" : "full-screen",
- "minimum-system-version" : "7.0",
- "scale" : "2x"
- },
- {
- "orientation" : "portrait",
- "idiom" : "ipad",
- "extent" : "full-screen",
- "minimum-system-version" : "7.0",
- "scale" : "1x"
- },
- {
- "orientation" : "landscape",
- "idiom" : "ipad",
- "extent" : "full-screen",
- "minimum-system-version" : "7.0",
- "scale" : "1x"
- },
- {
- "orientation" : "portrait",
- "idiom" : "ipad",
- "extent" : "full-screen",
- "minimum-system-version" : "7.0",
- "scale" : "2x"
- },
- {
- "orientation" : "landscape",
- "idiom" : "ipad",
- "extent" : "full-screen",
- "minimum-system-version" : "7.0",
- "scale" : "2x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
\ No newline at end of file
diff --git a/gma/integration_test/Info.plist b/gma/integration_test/Info.plist
deleted file mode 100644
index 953571e326..0000000000
--- a/gma/integration_test/Info.plist
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- GADApplicationIdentifier
- ca-app-pub-3940256099942544~1458002511
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- 1.0
- CFBundleVersion
- 1
- LSRequiresIPhoneOS
-
- UILaunchStoryboardName
- LaunchScreen
- NSUserTrackingUsageDescription
- This identifier will be used to deliver personalized ads to you.
- CFBundleURLTypes
-
-
- CFBundleURLSchemes
-
- REPLACE_WITH_REVERSED_CLIENT_ID
- firebase-game-loop
- firebase-ui-test
-
-
-
-
-
diff --git a/gma/integration_test/LaunchScreen.storyboard b/gma/integration_test/LaunchScreen.storyboard
deleted file mode 100644
index 673e0f7e68..0000000000
--- a/gma/integration_test/LaunchScreen.storyboard
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/gma/integration_test/LibraryManifest.xml b/gma/integration_test/LibraryManifest.xml
deleted file mode 100644
index a5db8d174d..0000000000
--- a/gma/integration_test/LibraryManifest.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
diff --git a/gma/integration_test/Podfile b/gma/integration_test/Podfile
deleted file mode 100644
index c0d08178b1..0000000000
--- a/gma/integration_test/Podfile
+++ /dev/null
@@ -1,18 +0,0 @@
-source 'https://github.com/CocoaPods/Specs.git'
-platform :ios, '13.0'
-# Firebase GMA test application.
-use_frameworks! :linkage => :static
-
-target 'integration_test' do
- platform :ios, '13.0'
- pod 'Firebase/CoreOnly', '11.14.0'
- pod 'Google-Mobile-Ads-SDK', '11.2.0'
- pod 'GoogleUserMessagingPlatform', '2.3.0'
-end
-
-post_install do |installer|
- # If this is running from inside the SDK directory, run the setup script.
- system("if [[ -r ../../setup_integration_tests.py ]]; then python3 ../../setup_integration_tests.py .; fi")
- system("python3 ./download_googletest.py")
-end
-
diff --git a/gma/integration_test/build.gradle b/gma/integration_test/build.gradle
deleted file mode 100644
index 16f9d2b87e..0000000000
--- a/gma/integration_test/build.gradle
+++ /dev/null
@@ -1,108 +0,0 @@
-// Copyright 2021 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-// Top-level build file where you can add configuration options common to all sub-projects/modules.
-buildscript {
- repositories {
- mavenLocal()
- maven { url 'https://maven.google.com' }
- mavenCentral()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:7.4.2'
- // r8 on this version of the Android tools has a bug,
- // so specify a different version to use.
- classpath 'com.android.tools:r8:8.3.37'
- classpath 'com.google.gms:google-services:4.4.1'
- }
-}
-
-allprojects {
- repositories {
- mavenLocal()
- maven { url 'https://maven.google.com' }
- mavenCentral()
- }
-}
-
-apply plugin: 'com.android.application'
-
-android {
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_11
- targetCompatibility JavaVersion.VERSION_11
- }
- compileSdkVersion 34
- ndkPath System.getenv('ANDROID_NDK_HOME')
- buildToolsVersion '32.0.0'
-
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- manifest.srcFile 'AndroidManifest.xml'
- java.srcDirs = ['src/android/java']
- res.srcDirs = ['res']
- }
- }
-
- defaultConfig {
- applicationId 'com.google.android.admob.testapp'
- minSdkVersion 23
- targetSdkVersion 34
- versionCode 1
- versionName '1.0'
- externalNativeBuild.cmake {
- arguments "-DFIREBASE_CPP_SDK_DIR=$gradle.firebase_cpp_sdk_dir"
- }
- multiDexEnabled true
- }
- externalNativeBuild.cmake {
- path 'CMakeLists.txt'
- }
- buildTypes {
- release {
- minifyEnabled true
- proguardFile getDefaultProguardFile('proguard-android.txt')
- proguardFile file('proguard.pro')
- }
- }
- lintOptions {
- abortOnError false
- }
-}
-
-apply from: "$gradle.firebase_cpp_sdk_dir/Android/firebase_dependencies.gradle"
-firebaseCpp.dependencies {
- gma
-}
-
-apply plugin: 'com.google.gms.google-services'
-
-task copyIntegrationTestFiles(type:Exec) {
- // If this is running form inside the SDK directory, run the setup script.
- if (project.file('../../setup_integration_tests.py').exists()) {
- commandLine 'python3', '../../setup_integration_tests.py', project.projectDir.toString()
- }
- else {
- commandLine 'echo', ''
- }
-}
-
-build.dependsOn(copyIntegrationTestFiles)
-
-project.afterEvaluate {
- project.tasks.withType(com.android.build.gradle.internal.tasks.CheckAarMetadataTask) {
- enabled = false
- }
-}
diff --git a/gma/integration_test/empty.swift b/gma/integration_test/empty.swift
deleted file mode 100644
index b637790955..0000000000
--- a/gma/integration_test/empty.swift
+++ /dev/null
@@ -1,9 +0,0 @@
-//
-// empty.swift
-// integration_test
-//
-// Created by David Della Bitta on 5/12/22.
-// Copyright © 2022 Google. All rights reserved.
-//
-
-import Foundation
diff --git a/gma/integration_test/googletest.cmake b/gma/integration_test/googletest.cmake
deleted file mode 100644
index a643a3e2f2..0000000000
--- a/gma/integration_test/googletest.cmake
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 2021 Google LLC
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Download GoogleTest from GitHub as an external project.
-# Pin to 1.11.0 because we touch internal GoogleTest structures that could change in the future.
-
-# This CMake file is taken from:
-# https://github.com/google/googletest/blob/master/googletest/README.md#incorporating-into-an-existing-cmake-project
-
-cmake_minimum_required(VERSION 2.8.2)
-
-project(googletest-download NONE)
-
-include(ExternalProject)
-ExternalProject_Add(googletest
- GIT_REPOSITORY https://github.com/google/googletest.git
- GIT_TAG "release-1.11.0"
- SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/src"
- BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/build"
- CONFIGURE_COMMAND ""
- BUILD_COMMAND ""
- INSTALL_COMMAND ""
- TEST_COMMAND ""
-)
diff --git a/gma/integration_test/gradle.properties b/gma/integration_test/gradle.properties
deleted file mode 100644
index ac891ac594..0000000000
--- a/gma/integration_test/gradle.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-android.useAndroidX = true
-org.gradle.jvmargs=-Xmx2560m
diff --git a/gma/integration_test/gradle/wrapper/gradle-wrapper.jar b/gma/integration_test/gradle/wrapper/gradle-wrapper.jar
deleted file mode 100644
index 8c0fb64a86..0000000000
Binary files a/gma/integration_test/gradle/wrapper/gradle-wrapper.jar and /dev/null differ
diff --git a/gma/integration_test/gradle/wrapper/gradle-wrapper.properties b/gma/integration_test/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index 2eb04a3b17..0000000000
--- a/gma/integration_test/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Mon Nov 27 14:03:45 PST 2017
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https://services.gradle.org/distributions/gradle-7.5.1-all.zip
diff --git a/gma/integration_test/gradlew b/gma/integration_test/gradlew
deleted file mode 100755
index 06eaee39e2..0000000000
--- a/gma/integration_test/gradlew
+++ /dev/null
@@ -1,178 +0,0 @@
-#!/usr/bin/env bash
-#
-# Copyright 2021 Google LLC
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-##############################################################################
-##
-## Gradle start up script for UN*X
-##
-##############################################################################
-
-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-DEFAULT_JVM_OPTS=""
-
-APP_NAME="Gradle"
-APP_BASE_NAME=`basename "$0"`
-
-# Use the maximum available, or set MAX_FD != -1 to use that value.
-MAX_FD="maximum"
-
-warn ( ) {
- echo "$*"
-}
-
-die ( ) {
- echo
- echo "$*"
- echo
- exit 1
-}
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false
-msys=false
-darwin=false
-case "`uname`" in
- CYGWIN* )
- cygwin=true
- ;;
- Darwin* )
- darwin=true
- ;;
- MINGW* )
- msys=true
- ;;
-esac
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched.
-if $cygwin ; then
- [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-fi
-
-# Attempt to set APP_HOME
-# Resolve links: $0 may be a link
-PRG="$0"
-# Need this for relative symlinks.
-while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG=`dirname "$PRG"`"/$link"
- fi
-done
-SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/" >&-
-APP_HOME="`pwd -P`"
-cd "$SAVED" >&-
-
-CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
-
-# Determine the Java command to use to start the JVM.
-if [ -n "$JAVA_HOME" ] ; then
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
- # IBM's JDK on AIX uses strange locations for the executables
- JAVACMD="$JAVA_HOME/jre/sh/java"
- else
- JAVACMD="$JAVA_HOME/bin/java"
- fi
- if [ ! -x "$JAVACMD" ] ; then
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
- fi
-else
- JAVACMD="java"
- which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
-fi
-
-# Increase the maximum file descriptors if we can.
-if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ] ; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
- MAX_FD="$MAX_FD_LIMIT"
- fi
- ulimit -n $MAX_FD
- if [ $? -ne 0 ] ; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
-fi
-
-# For Darwin, add options to specify how the application appears in the dock
-if $darwin; then
- GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
-fi
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin ; then
- APP_HOME=`cygpath --path --mixed "$APP_HOME"`
- CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
-
- # We build the pattern for arguments to be converted via cygpath
- ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
- SEP=""
- for dir in $ROOTDIRSRAW ; do
- ROOTDIRS="$ROOTDIRS$SEP$dir"
- SEP="|"
- done
- OURCYGPATTERN="(^($ROOTDIRS))"
- # Add a user-defined pattern to the cygpath arguments
- if [ "$GRADLE_CYGPATTERN" != "" ] ; then
- OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
- fi
- # Now convert the arguments - kludge to limit ourselves to /bin/sh
- i=0
- for arg in "$@" ; do
- CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
- CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
-
- if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
- eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
- else
- eval `echo args$i`="\"$arg\""
- fi
- i=$((i+1))
- done
- case $i in
- (0) set -- ;;
- (1) set -- "$args0" ;;
- (2) set -- "$args0" "$args1" ;;
- (3) set -- "$args0" "$args1" "$args2" ;;
- (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
- (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
- (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
- (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
- (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
- (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
- esac
-fi
-
-# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
-function splitJvmOpts() {
- JVM_OPTS=("$@")
-}
-eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
-JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
-
-exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gma/integration_test/gradlew.bat b/gma/integration_test/gradlew.bat
deleted file mode 100644
index 51923e981d..0000000000
--- a/gma/integration_test/gradlew.bat
+++ /dev/null
@@ -1,104 +0,0 @@
-@rem Copyright 2021 Google LLC
-@rem
-@rem Licensed under the Apache License, Version 2.0 (the "License");
-@rem you may not use this file except in compliance with the License.
-@rem You may obtain a copy of the License at
-@rem
-@rem http://www.apache.org/licenses/LICENSE-2.0
-@rem
-@rem Unless required by applicable law or agreed to in writing, software
-@rem distributed under the License is distributed on an "AS IS" BASIS,
-@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@rem See the License for the specific language governing permissions and
-@rem limitations under the License.
-
-@if "%DEBUG%" == "" @echo off
-@rem ##########################################################################
-@rem
-@rem Gradle startup script for Windows
-@rem
-@rem ##########################################################################
-
-@rem Set local scope for the variables with windows NT shell
-if "%OS%"=="Windows_NT" setlocal
-
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS=
-
-set DIRNAME=%~dp0
-if "%DIRNAME%" == "" set DIRNAME=.
-set APP_BASE_NAME=%~n0
-set APP_HOME=%DIRNAME%
-
-@rem Find java.exe
-if defined JAVA_HOME goto findJavaFromJavaHome
-
-set JAVA_EXE=java.exe
-%JAVA_EXE% -version >NUL 2>&1
-if "%ERRORLEVEL%" == "0" goto init
-
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:findJavaFromJavaHome
-set JAVA_HOME=%JAVA_HOME:"=%
-set JAVA_EXE=%JAVA_HOME%/bin/java.exe
-
-if exist "%JAVA_EXE%" goto init
-
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:init
-@rem Get command-line arguments, handling Windowz variants
-
-if not "%OS%" == "Windows_NT" goto win9xME_args
-if "%@eval[2+2]" == "4" goto 4NT_args
-
-:win9xME_args
-@rem Slurp the command line arguments.
-set CMD_LINE_ARGS=
-set _SKIP=2
-
-:win9xME_args_slurp
-if "x%~1" == "x" goto execute
-
-set CMD_LINE_ARGS=%*
-goto execute
-
-:4NT_args
-@rem Get arguments from the 4NT Shell from JP Software
-set CMD_LINE_ARGS=%$
-
-:execute
-@rem Setup the command line
-
-set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
-
-@rem Execute Gradle
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
-
-:end
-@rem End local scope for the variables with windows NT shell
-if "%ERRORLEVEL%"=="0" goto mainEnd
-
-:fail
-rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
-rem the _cmd.exe /c_ return code!
-if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
-exit /b 1
-
-:mainEnd
-if "%OS%"=="Windows_NT" endlocal
-
-:omega
diff --git a/gma/integration_test/integration_test.xcodeproj/project.pbxproj b/gma/integration_test/integration_test.xcodeproj/project.pbxproj
deleted file mode 100644
index 3f0c3ff6ad..0000000000
--- a/gma/integration_test/integration_test.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,383 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 520BC0391C869159008CFBC3 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 520BC0381C869159008CFBC3 /* GoogleService-Info.plist */; };
- 529226D61C85F68000C89379 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 529226D51C85F68000C89379 /* Foundation.framework */; };
- 529226D81C85F68000C89379 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 529226D71C85F68000C89379 /* CoreGraphics.framework */; };
- 529226DA1C85F68000C89379 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 529226D91C85F68000C89379 /* UIKit.framework */; };
- D61C5F8E22BABA9C00A79141 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D61C5F8C22BABA9B00A79141 /* Images.xcassets */; };
- D61C5F9622BABAD200A79141 /* integration_test.cc in Sources */ = {isa = PBXBuildFile; fileRef = D61C5F9222BABAD100A79141 /* integration_test.cc */; };
- D62CCBC022F367140099BE9F /* gmock-all.cc in Sources */ = {isa = PBXBuildFile; fileRef = D62CCBBF22F367140099BE9F /* gmock-all.cc */; };
- D640F3172819C85800AC956E /* empty.swift in Sources */ = {isa = PBXBuildFile; fileRef = D640F3162819C85800AC956E /* empty.swift */; };
- D66B16871CE46E8900E5638A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D66B16861CE46E8900E5638A /* LaunchScreen.storyboard */; };
- D67D355822BABD2200292C1D /* gtest-all.cc in Sources */ = {isa = PBXBuildFile; fileRef = D67D355622BABD2100292C1D /* gtest-all.cc */; };
- D686A3292A8B16F20034845A /* AppTrackingTransparency.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D686A3282A8B16F20034845A /* AppTrackingTransparency.framework */; };
- D6C179E922CB322900C2651A /* ios_app_framework.mm in Sources */ = {isa = PBXBuildFile; fileRef = D6C179E722CB322900C2651A /* ios_app_framework.mm */; };
- D6C179EA22CB322900C2651A /* ios_firebase_test_framework.mm in Sources */ = {isa = PBXBuildFile; fileRef = D6C179E822CB322900C2651A /* ios_firebase_test_framework.mm */; };
- D6C179EE22CB323300C2651A /* firebase_test_framework.cc in Sources */ = {isa = PBXBuildFile; fileRef = D6C179EC22CB323300C2651A /* firebase_test_framework.cc */; };
- D6C179F022CB32A000C2651A /* app_framework.cc in Sources */ = {isa = PBXBuildFile; fileRef = D6C179EF22CB32A000C2651A /* app_framework.cc */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 520BC0381C869159008CFBC3 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; };
- 529226D21C85F68000C89379 /* integration_test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = integration_test.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 529226D51C85F68000C89379 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- 529226D71C85F68000C89379 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
- 529226D91C85F68000C89379 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
- 529226EE1C85F68000C89379 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
- D61C5F8C22BABA9B00A79141 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
- D61C5F8D22BABA9C00A79141 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- D61C5F9222BABAD100A79141 /* integration_test.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = integration_test.cc; path = src/integration_test.cc; sourceTree = ""; };
- D62CCBBF22F367140099BE9F /* gmock-all.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "gmock-all.cc"; path = "external/googletest/src/googlemock/src/gmock-all.cc"; sourceTree = ""; };
- D62CCBC122F367320099BE9F /* gmock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = gmock.h; path = external/googletest/src/googlemock/include/gmock/gmock.h; sourceTree = ""; };
- D640F3162819C85800AC956E /* empty.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = empty.swift; path = src/empty.swift; sourceTree = ""; };
- D66B16861CE46E8900E5638A /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = ""; };
- D67D355622BABD2100292C1D /* gtest-all.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "gtest-all.cc"; path = "external/googletest/src/googletest/src/gtest-all.cc"; sourceTree = ""; };
- D67D355722BABD2100292C1D /* gtest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = gtest.h; path = external/googletest/src/googletest/include/gtest/gtest.h; sourceTree = ""; };
- D686A3282A8B16F20034845A /* AppTrackingTransparency.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppTrackingTransparency.framework; path = System/Library/Frameworks/AppTrackingTransparency.framework; sourceTree = SDKROOT; };
- D6C179E722CB322900C2651A /* ios_app_framework.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = ios_app_framework.mm; path = src/ios/ios_app_framework.mm; sourceTree = ""; };
- D6C179E822CB322900C2651A /* ios_firebase_test_framework.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = ios_firebase_test_framework.mm; path = src/ios/ios_firebase_test_framework.mm; sourceTree = ""; };
- D6C179EB22CB323300C2651A /* firebase_test_framework.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = firebase_test_framework.h; path = src/firebase_test_framework.h; sourceTree = ""; };
- D6C179EC22CB323300C2651A /* firebase_test_framework.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = firebase_test_framework.cc; path = src/firebase_test_framework.cc; sourceTree = ""; };
- D6C179ED22CB323300C2651A /* app_framework.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = app_framework.h; path = src/app_framework.h; sourceTree = ""; };
- D6C179EF22CB32A000C2651A /* app_framework.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = app_framework.cc; path = src/app_framework.cc; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 529226CF1C85F68000C89379 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 529226D81C85F68000C89379 /* CoreGraphics.framework in Frameworks */,
- D686A3292A8B16F20034845A /* AppTrackingTransparency.framework in Frameworks */,
- 529226DA1C85F68000C89379 /* UIKit.framework in Frameworks */,
- 529226D61C85F68000C89379 /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 529226C91C85F68000C89379 = {
- isa = PBXGroup;
- children = (
- D61C5F8C22BABA9B00A79141 /* Images.xcassets */,
- D61C5F8D22BABA9C00A79141 /* Info.plist */,
- D66B16861CE46E8900E5638A /* LaunchScreen.storyboard */,
- 520BC0381C869159008CFBC3 /* GoogleService-Info.plist */,
- 5292271D1C85FB5500C89379 /* src */,
- 529226D41C85F68000C89379 /* Frameworks */,
- 529226D31C85F68000C89379 /* Products */,
- );
- sourceTree = "";
- };
- 529226D31C85F68000C89379 /* Products */ = {
- isa = PBXGroup;
- children = (
- 529226D21C85F68000C89379 /* integration_test.app */,
- );
- name = Products;
- sourceTree = "";
- };
- 529226D41C85F68000C89379 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- D686A3282A8B16F20034845A /* AppTrackingTransparency.framework */,
- 529226D51C85F68000C89379 /* Foundation.framework */,
- 529226D71C85F68000C89379 /* CoreGraphics.framework */,
- 529226D91C85F68000C89379 /* UIKit.framework */,
- 529226EE1C85F68000C89379 /* XCTest.framework */,
- );
- name = Frameworks;
- sourceTree = "";
- };
- 5292271D1C85FB5500C89379 /* src */ = {
- isa = PBXGroup;
- children = (
- D640F3162819C85800AC956E /* empty.swift */,
- D62CCBC122F367320099BE9F /* gmock.h */,
- D62CCBBF22F367140099BE9F /* gmock-all.cc */,
- D67D355622BABD2100292C1D /* gtest-all.cc */,
- D67D355722BABD2100292C1D /* gtest.h */,
- D6C179EF22CB32A000C2651A /* app_framework.cc */,
- D6C179ED22CB323300C2651A /* app_framework.h */,
- D6C179EC22CB323300C2651A /* firebase_test_framework.cc */,
- D6C179EB22CB323300C2651A /* firebase_test_framework.h */,
- D61C5F9222BABAD100A79141 /* integration_test.cc */,
- 5292271E1C85FB5B00C89379 /* ios */,
- );
- name = src;
- sourceTree = "";
- };
- 5292271E1C85FB5B00C89379 /* ios */ = {
- isa = PBXGroup;
- children = (
- D6C179E722CB322900C2651A /* ios_app_framework.mm */,
- D6C179E822CB322900C2651A /* ios_firebase_test_framework.mm */,
- );
- name = ios;
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 529226D11C85F68000C89379 /* integration_test */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 529226F91C85F68000C89379 /* Build configuration list for PBXNativeTarget "integration_test" */;
- buildPhases = (
- 529226CE1C85F68000C89379 /* Sources */,
- 529226CF1C85F68000C89379 /* Frameworks */,
- 529226D01C85F68000C89379 /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = integration_test;
- productName = testapp;
- productReference = 529226D21C85F68000C89379 /* integration_test.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 529226CA1C85F68000C89379 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 0640;
- ORGANIZATIONNAME = Google;
- TargetAttributes = {
- 529226D11C85F68000C89379 = {
- CreatedOnToolsVersion = 6.4;
- DevelopmentTeam = EQHXZ8M8AV;
- LastSwiftMigration = 1320;
- ProvisioningStyle = Automatic;
- };
- };
- };
- buildConfigurationList = 529226CD1C85F68000C89379 /* Build configuration list for PBXProject "integration_test" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- English,
- en,
- );
- mainGroup = 529226C91C85F68000C89379;
- productRefGroup = 529226D31C85F68000C89379 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 529226D11C85F68000C89379 /* integration_test */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 529226D01C85F68000C89379 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- D61C5F8E22BABA9C00A79141 /* Images.xcassets in Resources */,
- D66B16871CE46E8900E5638A /* LaunchScreen.storyboard in Resources */,
- 520BC0391C869159008CFBC3 /* GoogleService-Info.plist in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 529226CE1C85F68000C89379 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- D67D355822BABD2200292C1D /* gtest-all.cc in Sources */,
- D62CCBC022F367140099BE9F /* gmock-all.cc in Sources */,
- D6C179EA22CB322900C2651A /* ios_firebase_test_framework.mm in Sources */,
- D61C5F9622BABAD200A79141 /* integration_test.cc in Sources */,
- D6C179E922CB322900C2651A /* ios_app_framework.mm in Sources */,
- D640F3172819C85800AC956E /* empty.swift in Sources */,
- D6C179F022CB32A000C2651A /* app_framework.cc in Sources */,
- D6C179EE22CB323300C2651A /* firebase_test_framework.cc in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin XCBuildConfiguration section */
- 529226F71C85F68000C89379 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 13.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 529226F81C85F68000C89379 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 13.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 529226FA1C85F68000C89379 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_IDENTITY = "iPhone Developer";
- CODE_SIGN_STYLE = Automatic;
- DEVELOPMENT_TEAM = "";
- EXCLUDED_ARCHS = i386;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)",
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
- "\"$(SRCROOT)/src\"",
- "\"$(SRCROOT)/external/googletest/src/googletest/include\"",
- "\"$(SRCROOT)/external/googletest/src/googlemock/include\"",
- "\"$(SRCROOT)/external/googletest/src/googletest\"",
- "\"$(SRCROOT)/external/googletest/src/googlemock\"",
- );
- INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.3;
- WRAPPER_EXTENSION = app;
- };
- name = Debug;
- };
- 529226FB1C85F68000C89379 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_IDENTITY = "iPhone Developer";
- CODE_SIGN_STYLE = Automatic;
- DEVELOPMENT_TEAM = "";
- EXCLUDED_ARCHS = i386;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)",
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
- "\"$(SRCROOT)/src\"",
- "\"$(SRCROOT)/external/googletest/src/googletest/include\"",
- "\"$(SRCROOT)/external/googletest/src/googlemock/include\"",
- "\"$(SRCROOT)/external/googletest/src/googletest\"",
- "\"$(SRCROOT)/external/googletest/src/googlemock\"",
- );
- INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SWIFT_VERSION = 5.3;
- WRAPPER_EXTENSION = app;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 529226CD1C85F68000C89379 /* Build configuration list for PBXProject "integration_test" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 529226F71C85F68000C89379 /* Debug */,
- 529226F81C85F68000C89379 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 529226F91C85F68000C89379 /* Build configuration list for PBXNativeTarget "integration_test" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 529226FA1C85F68000C89379 /* Debug */,
- 529226FB1C85F68000C89379 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 529226CA1C85F68000C89379 /* Project object */;
-}
diff --git a/gma/integration_test/proguard.pro b/gma/integration_test/proguard.pro
deleted file mode 100644
index 2d04b8a9a5..0000000000
--- a/gma/integration_test/proguard.pro
+++ /dev/null
@@ -1,2 +0,0 @@
--ignorewarnings
--keep,includedescriptorclasses public class com.google.firebase.example.LoggingUtils { * ; }
diff --git a/gma/integration_test/res/layout/main.xml b/gma/integration_test/res/layout/main.xml
deleted file mode 100644
index 56e8488b7a..0000000000
--- a/gma/integration_test/res/layout/main.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
diff --git a/gma/integration_test/res/values/strings.xml b/gma/integration_test/res/values/strings.xml
deleted file mode 100644
index ff36817020..0000000000
--- a/gma/integration_test/res/values/strings.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- Firebase GMA Integration Test
-
diff --git a/gma/integration_test/settings.gradle b/gma/integration_test/settings.gradle
deleted file mode 100644
index 7e56f6228e..0000000000
--- a/gma/integration_test/settings.gradle
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2021 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-def firebase_cpp_sdk_dir = System.getProperty('firebase_cpp_sdk.dir')
-if (firebase_cpp_sdk_dir == null || firebase_cpp_sdk_dir.isEmpty()) {
- firebase_cpp_sdk_dir = System.getenv('FIREBASE_CPP_SDK_DIR')
- if (firebase_cpp_sdk_dir == null || firebase_cpp_sdk_dir.isEmpty()) {
- if ((file('../../cpp_sdk_version.json')).exists()) {
- firebase_cpp_sdk_dir = file('../..').absolutePath
- }
- else if ((file('firebase_cpp_sdk')).exists()) {
- firebase_cpp_sdk_dir = 'firebase_cpp_sdk'
- } else {
- throw new StopActionException(
- 'firebase_cpp_sdk.dir property or the FIREBASE_CPP_SDK_DIR ' +
- 'environment variable must be set to reference the Firebase C++ ' +
- 'SDK install directory. This is used to configure static library ' +
- 'and C/C++ include paths for the SDK.')
- }
- }
-}
-if (!(new File(firebase_cpp_sdk_dir)).exists()) {
- throw new StopActionException(
- sprintf('Firebase C++ SDK directory %s does not exist',
- firebase_cpp_sdk_dir))
-}
-gradle.ext.firebase_cpp_sdk_dir = "$firebase_cpp_sdk_dir"
-includeBuild("$firebase_cpp_sdk_dir") {
- name = "firebase_cpp_sdk"
-}
diff --git a/gma/integration_test/src/integration_test.cc b/gma/integration_test/src/integration_test.cc
deleted file mode 100644
index e26beb6ff3..0000000000
--- a/gma/integration_test/src/integration_test.cc
+++ /dev/null
@@ -1,3328 +0,0 @@
-// Copyright 2021 Google LLC. All rights reserved.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-#include
-
-#include
-#include
-#include
-#include
-#include
-#include