mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
* Rename nanopb/.../*.pb.c to nanopb/.../*.nanopb.c This ensures that all generated nanopb files use the same (sub) extension of nanopb. This matches up with nanopb's --extension parameter (which will be enabled later in this PR.) * Remove references to NANOPB_PROTOC_BIN Which wasn't being used, and wasn't pointing to a valid protoc. * Add ability to generate protos from cmake build. Currently, it's an entirely manual process via 'generate_protos' target. This target is not automatically run during a build. See Firestore/Protos/build-protos.sh for expected usage. * cleanup/update license in build-protos.sh * Build grpc proto sources (objc only) * Use 32bit nanopb fields (instead of 16) To match xcode build, but also to allow google/api/annotations.proto to compile. (A recent change to nanopb now enforces this.) This isn't strictly necessary, since we don't make use of that proto, so we could've simply removed it instead (and in fact, the objc protos do exactly that) but matching the xcode build certainly seems worthwhile. * Rebuild all proto sources * Skip whitespace checks on protoc generated files
18 lines
611 B
C
18 lines
611 B
C
/*
|
|
* Copyright 2018 Google
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
// Empty stub file
|