Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup(cmake): cleanups around library helper function #12431

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

dbolduc
Copy link
Member

@dbolduc dbolduc commented Aug 21, 2023

Part of the work for #12428

  • Check whether the sample directory exists instead of skipping "" outright. (This unblocks one of the dialogflows)
  • Uses NAMELINK_COMPONENT, as suggested by @coryan in review comments for refactor(cmake): add gRPC based library helper function #12429
  • No need for google_cloud_cpp_common in the .pc file when google_cloud_cpp_grpc_utils depends on google_cloud_cpp_common

This change is Reviewable

@dbolduc dbolduc temporarily deployed to internal August 21, 2023 14:28 — with GitHub Actions Inactive
@@ -41,7 +41,7 @@ function (google_cloud_cpp_add_ga_grpc_library library display_name)
list(APPEND source_globs "${dir}*.h" "${dir}*.cc" "${dir}internal/*")
list(APPEND mocks_globs "${dir}mocks/*.h")
list(APPEND DOXYGEN_EXCLUDE_SYMBOLS "${library}_${ns}internal")
if (NOT dir STREQUAL "")
if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${dir}samples")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, bigquery, iam and pubsublite also have this directory.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack. Those are outside of the scope of #8022.

@dbolduc dbolduc marked this pull request as ready for review August 21, 2023 14:52
@dbolduc dbolduc requested a review from a team as a code owner August 21, 2023 14:52
@codecov
Copy link

codecov bot commented Aug 21, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (69a382b) 93.62% compared to head (64ffef4) 93.62%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12431   +/-   ##
=======================================
  Coverage   93.62%   93.62%           
=======================================
  Files        2035     2035           
  Lines      180223   180223           
=======================================
+ Hits       168736   168740    +4     
+ Misses      11487    11483    -4     

see 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dbolduc dbolduc merged commit 4a963e2 into googleapis:main Aug 21, 2023
@dbolduc dbolduc deleted the cmake-library-function-cleanup branch August 21, 2023 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants