Skip to content

Commit 0d7008d

Browse files
author
Sergej Jovanovic
committed
Fixed build issue for custom target
1 parent 0b9dddd commit 0d7008d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

builder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def getTargetGnPath(cls, target):
318318
#Check if target is defined in userdef.py availableTargetsForBuilding. If not, returns target name as
319319
# gn path and 0 for combininglibs flag. In that case check is performed also in config.py TARGETS_TO_BUILD
320320
targetsToBuild, shouldCombineLibs, shouldCopyToOutput = Settings.availableTargetsForBuilding.get(target,([target],0,1))
321-
if targetsToBuild == target and shouldCombineLibs == 0:
321+
if target in targetsToBuild and shouldCombineLibs == 0:
322322
targetsToBuild, shouldCombineLibs, shouldCopyToOutput = config.TARGETS_TO_BUILD.get(target,([target],0,1))
323323

324324
return targetsToBuild, shouldCombineLibs, shouldCopyToOutput

config.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@
218218
'/obj',
219219
'/gen',
220220
'/uwp_x86',
221-
'/uwp_x64'
221+
'/uwp_x64',
222+
'/uwp_arm'
222223
)
223224

224225
COMBINE_LIB_IGNORE_SUBFOLDERS = (

0 commit comments

Comments
 (0)