File tree Expand file tree Collapse file tree 5 files changed +42
-6
lines changed Expand file tree Collapse file tree 5 files changed +42
-6
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,5 @@ endif()
264
264
265
265
add_subdirectory (FirebaseCore )
266
266
add_subdirectory (Firestore )
267
- add_subdirectory (GoogleUtilities )
268
267
add_subdirectory (Interop/Auth )
269
268
add_subdirectory (Interop/CoreDiagnostics )
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ if(NOT APPLE)
16
16
return ()
17
17
endif ()
18
18
19
+ # GoogleUtilities is an external dependency without its own cmake configuration.
20
+ include (GoogleUtilities )
21
+
19
22
file (GLOB headers Sources /Private/*.h Sources /Public/FirebaseCore/*.h )
20
23
file (GLOB sources Sources /*.m )
21
24
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ endif()
19
19
# Environment and Logger subspecs
20
20
file (
21
21
GLOB sources
22
- Environment/*.m
23
- Environment/third_party/*.m
24
- Logger/*.m
22
+ ${FIREBASE_EXTERNAL_SOURCE_DIR} /GoogleUtilities/GoogleUtilities/ Environment/*.m
23
+ ${FIREBASE_EXTERNAL_SOURCE_DIR} /GoogleUtilities/GoogleUtilities/ Environment/third_party/*.m
24
+ ${FIREBASE_EXTERNAL_SOURCE_DIR} /GoogleUtilities/GoogleUtilities/ Logger/*.m
25
25
)
26
26
file (
27
27
GLOB headers
28
- Environment/Public/GoogleUtilities/*.h
29
- Logger/Public/GoogleUtilities/*.h
28
+ ${FIREBASE_EXTERNAL_SOURCE_DIR} /GoogleUtilities/GoogleUtilities/ Environment/Public/GoogleUtilities/*.h
29
+ ${FIREBASE_EXTERNAL_SOURCE_DIR} /GoogleUtilities/GoogleUtilities/ Logger/Public/GoogleUtilities/*.h
30
30
)
31
31
32
32
firebase_ios_add_framework (
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ include(benchmark)
28
28
include (boringssl )
29
29
include (c-ares )
30
30
include (googletest )
31
+ include (GoogleUtilities )
31
32
include (grpc )
32
33
include (leveldb )
33
34
include (libfuzzer )
Original file line number Diff line number Diff line change
1
+ # Copyright 2021 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ include (ExternalProject )
16
+
17
+ set (version 7.2.0 )
18
+
19
+ ExternalProject_Add (
20
+ GoogleUtilities
21
+
22
+ DOWNLOAD_DIR ${FIREBASE_DOWNLOAD_DIR}
23
+ DOWNLOAD_NAME GoogleUtilities-${version}.tar.gz
24
+ URL https://github.com/google/GoogleUtilities/archive/${version}.tar.gz
25
+ URL_HASH SHA256=93c92b28c49b8f7e8cccc2cefe6411fad6e68cbf9638422d3e7ca537cca881a8
26
+
27
+ PREFIX ${PROJECT_BINARY_DIR}
28
+
29
+ CONFIGURE_COMMAND ""
30
+ BUILD_COMMAND ""
31
+ INSTALL_COMMAND ""
32
+ TEST_COMMAND ""
33
+ )
You can’t perform that action at this time.
0 commit comments