Skip to content

Commit

Permalink
[gn] always enable BLE network layer
Browse files Browse the repository at this point in the history
  • Loading branch information
e-rk committed Aug 28, 2020
1 parent 41138be commit f5a51a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/nrfconnect/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ nrfconnect_target = get_label_info(":nrfconnect", "label_no_toolchain")
chip_device_platform = "nrfconnect"
chip_logging_style = "external"

chip_config_network_layer_ble = true

chip_project_config_include = "<CHIPProjectConfig.h>"
chip_ble_project_config_include = chip_project_config_include
chip_device_project_config_include = chip_project_config_include
Expand Down
1 change: 0 additions & 1 deletion config/nrfconnect/chip-lib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ function(chip_configure TARGET_NAME)
chip_gn_arg_string(GN_ARGS "chip_project_config_include = \"<${CHIP_PROJECT_CONFIG}>\"")
endif ()

chip_gn_arg_bool_if(CONFIG_BT GN_ARGS "chip_config_network_layer_ble")
chip_gn_arg_bool_if(CONFIG_NET_L2_OPENTHREAD GN_ARGS "chip_enable_openthread")
chip_gn_arg_bool_if(CHIP_BUILD_TESTS GN_ARGS "chip_build_tests")

Expand Down

0 comments on commit f5a51a1

Please sign in to comment.