-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(generator): more stable googleapis proto links
We want to minimize the number of changes when we change the commit SHA for googleapis/googleapis. With this change we use a Doxygen custom command in the header files. The CMake file defines this command to include the embedded SHA. The arguments to the command *should* be more stable, but will change when proto definitions are moved in their `.proto` file.
- Loading branch information
Showing
32 changed files
with
469 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# ~~~ | ||
# 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. | ||
# ~~~ | ||
|
||
# Give application developers a hook to configure the version and hash | ||
# downloaded from GitHub. | ||
set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA | ||
"53432afb877cb3c1920f73e6621daa8c24f86522" | ||
CACHE STRING "Configure the commit SHA (or tag) for the googleapis protos.") | ||
mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA) | ||
set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256 | ||
"485631b0f2f54e344096263980f1ce8f357c72403da080a552df317eeda1ea7b" | ||
CACHE STRING "Configure the SHA256 checksum of the googleapis tarball.") | ||
mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256) | ||
|
||
set(DOXYGEN_ALIASES | ||
"googleapis_link{2}=\"[\\1](https://github.com/googleapis/googleapis/blob/${GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}/\\2)\"" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.