Skip to content

Support variant_deps and defines in CMake generation. - #1302

Draft
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_994040838
Draft

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_994040838

Conversation

@copybara-service

Copy link
Copy Markdown

Support variant_deps and defines in CMake generation.

generate_cmake.go previously ignored variant_deps on create_tcmalloc_libraries and create_tcmalloc_testsuite rules (such as mock_static_forwarder and central_freelist_test) and only handled local_defines, ignoring defines.

Parse variant_deps and defines in generateCMake, emit VARIANT_DEPS on variant rules, and expand VARIANT_DEPS per build and test variant in tcmalloc_variants.cmake.

generate_cmake.go previously ignored variant_deps on create_tcmalloc_libraries and create_tcmalloc_testsuite rules (such as mock_static_forwarder and central_freelist_test) and only handled local_defines, ignoring defines.

Parse variant_deps and defines in generateCMake, emit VARIANT_DEPS on variant rules, and expand VARIANT_DEPS per build and test variant in tcmalloc_variants.cmake.

PiperOrigin-RevId: 994040838

This branch has not been deployed

No deployments
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.

1 participant