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

Do not include Ble* platform specific files for Darwin if ble is not … #3461

Conversation

vivien-apple
Copy link
Contributor

…enabled

Problem

Some files that depends on BLE are included in the Darwin build even if Ble support is turned off. It creates linker issues.

Summary of Changes

  • Conditionally add them

@@ -197,13 +197,7 @@ if (chip_device_platform != "none" && chip_device_platform != "external") {
sources += [
"Darwin/BLEManagerImpl.cpp",
Copy link
Contributor

Choose a reason for hiding this comment

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

should we also take out the BleManagerImpl.cpp (I believe it is currently one large #ifdef ?

@rwalker-apple rwalker-apple merged commit 3b333f0 into project-chip:master Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants