File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import("${chip_root}/build/chip/chip_version.gni")
23
23
import (" ${ chip_root } /build/chip/java/config.gni" )
24
24
import (" ${ chip_root } /build/chip/tests.gni" )
25
25
import (" ${ chip_root } /src/lib/core/core.gni" )
26
+ import (" ${ chip_root } /src/platform/device.gni" )
26
27
27
28
declare_args () {
28
29
# Set to true to run the PersistentStorageDelegate API compliance audit
@@ -251,7 +252,7 @@ static_library("support") {
251
252
" verhoeff/Verhoeff10.cpp" ,
252
253
]
253
254
254
- if (current_os == " android" || matter_enable_java_compilation ) {
255
+ if (chip_device_platform == " android" || matter_enable_java_compilation ) {
255
256
if (matter_enable_java_compilation ) {
256
257
include_dirs = java_matter_controller_dependent_paths
257
258
}
@@ -298,11 +299,11 @@ static_library("support") {
298
299
]
299
300
300
301
# Android has no 'platform' that provides logging
301
- if (current_os == " android" ) {
302
+ if (chip_device_platform == " android" ) {
302
303
public_deps += [ " ${ chip_root } /src/platform/android:logging" ]
303
304
}
304
305
305
- if (current_os == " mac " || current_os == " ios " ) {
306
+ if (chip_device_platform == " darwin " ) {
306
307
public_deps += [ " ${ chip_root } /src/platform/Darwin:logging" ]
307
308
}
308
309
You can’t perform that action at this time.
0 commit comments