Skip to content

Commit 89cc53e

Browse files
authored
Update FirebaseSDKs.textproto with new fields. (#2818)
* Update FirebaseSDKs.textproto with new fields. * Update message about strip_32bits flag.
1 parent b6a0980 commit 89cc53e

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

ZipBuilder/FirebaseSDKs.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ message SDK {
3232

3333
// Whether or not to strip the i386 architecture from the build.
3434
bool strip_i386 = 8;
35+
36+
// List of build targets. For internal use only.
37+
repeated string build_target = 9;
38+
39+
// Whether or not to strip both the i386 and armv7 architectures from the
40+
// build. All SDKs that use this flag are built internally so this should be ignored.
41+
bool strip_32bits = 10;
3542
}
3643

3744
// Any extra build flags needed to build the SDK. For internal use only.

ZipBuilder/Sources/ZipBuilder/FirebaseSDKs.pb.swift

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,19 @@ struct ZipBuilder_SDK {
106106
set {_uniqueStorage()._stripI386 = newValue}
107107
}
108108

109+
/// List of build targets. For internal use only.
110+
var buildTarget: [String] {
111+
get {return _storage._buildTarget}
112+
set {_uniqueStorage()._buildTarget = newValue}
113+
}
114+
115+
/// Whether or not to strip both the i386 and armv7 architectures from the
116+
/// build. For internal use only.
117+
var strip32Bits: Bool {
118+
get {return _storage._strip32Bits}
119+
set {_uniqueStorage()._strip32Bits = newValue}
120+
}
121+
109122
var unknownFields = SwiftProtobuf.UnknownStorage()
110123

111124
init() {}
@@ -171,6 +184,8 @@ extension ZipBuilder_SDK: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement
171184
6: .standard(proto: "nightly_mpm_pattern"),
172185
7: .standard(proto: "open_source"),
173186
8: .standard(proto: "strip_i386"),
187+
9: .standard(proto: "build_target"),
188+
10: .standard(proto: "strip_32bits"),
174189
]
175190

176191
fileprivate class _StorageClass {
@@ -182,6 +197,8 @@ extension ZipBuilder_SDK: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement
182197
var _nightlyMpmPattern: [String] = []
183198
var _openSource: Bool = false
184199
var _stripI386: Bool = false
200+
var _buildTarget: [String] = []
201+
var _strip32Bits: Bool = false
185202

186203
static let defaultInstance = _StorageClass()
187204

@@ -196,6 +213,8 @@ extension ZipBuilder_SDK: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement
196213
_nightlyMpmPattern = source._nightlyMpmPattern
197214
_openSource = source._openSource
198215
_stripI386 = source._stripI386
216+
_buildTarget = source._buildTarget
217+
_strip32Bits = source._strip32Bits
199218
}
200219
}
201220

@@ -219,6 +238,8 @@ extension ZipBuilder_SDK: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement
219238
case 6: try decoder.decodeRepeatedStringField(value: &_storage._nightlyMpmPattern)
220239
case 7: try decoder.decodeSingularBoolField(value: &_storage._openSource)
221240
case 8: try decoder.decodeSingularBoolField(value: &_storage._stripI386)
241+
case 9: try decoder.decodeRepeatedStringField(value: &_storage._buildTarget)
242+
case 10: try decoder.decodeSingularBoolField(value: &_storage._strip32Bits)
222243
default: break
223244
}
224245
}
@@ -251,6 +272,12 @@ extension ZipBuilder_SDK: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement
251272
if _storage._stripI386 != false {
252273
try visitor.visitSingularBoolField(value: _storage._stripI386, fieldNumber: 8)
253274
}
275+
if !_storage._buildTarget.isEmpty {
276+
try visitor.visitRepeatedStringField(value: _storage._buildTarget, fieldNumber: 9)
277+
}
278+
if _storage._strip32Bits != false {
279+
try visitor.visitSingularBoolField(value: _storage._strip32Bits, fieldNumber: 10)
280+
}
254281
}
255282
try unknownFields.traverse(visitor: &visitor)
256283
}
@@ -268,6 +295,8 @@ extension ZipBuilder_SDK: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement
268295
if _storage._nightlyMpmPattern != rhs_storage._nightlyMpmPattern {return false}
269296
if _storage._openSource != rhs_storage._openSource {return false}
270297
if _storage._stripI386 != rhs_storage._stripI386 {return false}
298+
if _storage._buildTarget != rhs_storage._buildTarget {return false}
299+
if _storage._strip32Bits != rhs_storage._strip32Bits {return false}
271300
return true
272301
}
273302
if !storagesAreEqual {return false}

0 commit comments

Comments
 (0)