Skip to content

Commit 7b98e57

Browse files
restyled-commitsmarius-alex-tache
authored andcommitted
Restyled by gn
1 parent 39bfbdf commit 7b98e57

File tree

2 files changed

+14
-19
lines changed
  • src/platform/nxp/common/ota
  • third_party/openthread/platforms/nxp/mcxw71_k32w1

2 files changed

+14
-19
lines changed

src/platform/nxp/common/ota/ota.gni

+11-12
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,24 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
1615
import("//build_overrides/nxp_sdk.gni")
1716
import("${nxp_sdk_build_root}/nxp_sdk.gni")
1817

1918
ota_root = get_path_info(".", "abspath")
2019

2120
ota_sources = [
22-
"${ota_root}/OTAImageProcessorImpl.cpp",
23-
"${ota_root}/OTAImageProcessorImpl.h",
24-
"${ota_root}/OTATlvProcessor.cpp",
25-
"${ota_root}/OTATlvProcessor.h",
26-
"${ota_root}/OTAFirmwareProcessor.cpp",
27-
"${ota_root}/OTAFirmwareProcessor.h",
28-
"${ota_root}/OTAHooks.cpp",
21+
"${ota_root}/OTAFirmwareProcessor.cpp",
22+
"${ota_root}/OTAFirmwareProcessor.h",
23+
"${ota_root}/OTAHooks.cpp",
24+
"${ota_root}/OTAImageProcessorImpl.cpp",
25+
"${ota_root}/OTAImageProcessorImpl.h",
26+
"${ota_root}/OTATlvProcessor.cpp",
27+
"${ota_root}/OTATlvProcessor.h",
2928
]
3029

3130
if (nxp_use_factory_data && nxp_enable_ota_factory_data_processor) {
32-
ota_sources += [
33-
"${ota_root}/OTAFactoryDataProcessor.cpp",
34-
"${ota_root}/OTAFactoryDataProcessor.h",
35-
]
31+
ota_sources += [
32+
"${ota_root}/OTAFactoryDataProcessor.cpp",
33+
"${ota_root}/OTAFactoryDataProcessor.h",
34+
]
3635
}

third_party/openthread/platforms/nxp/mcxw71_k32w1/BUILD.gn

+3-7
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ openthread_nxp_root = "${chip_root}/third_party/openthread/ot-nxp"
2626
config("openthread_k32w1_config") {
2727
include_dirs = [
2828
"${openthread_nxp_root}/src/k32w1",
29-
"${openthread_nxp_root}/src/mcxw71"
29+
"${openthread_nxp_root}/src/mcxw71",
3030
]
3131

3232
defines = [
@@ -114,13 +114,9 @@ source_set("libopenthread-k32w1") {
114114
"../..:libopenthread-platform-utils",
115115
]
116116

117-
public_deps += [
118-
"${nxp_sdk_build_root}:nxp_mbedtls"
119-
]
117+
public_deps += [ "${nxp_sdk_build_root}:nxp_mbedtls" ]
120118

121119
if (!nxp_external_sdk) {
122-
public_deps += [
123-
nxp_sdk_target
124-
]
120+
public_deps += [ nxp_sdk_target ]
125121
}
126122
}

0 commit comments

Comments
 (0)