Skip to content

Commit 8d305b8

Browse files
committed
build il2cpp for batch steps.
1 parent c30b209 commit 8d305b8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Assets/AndroidIl2cppPatchDemo/Editor/AndroidBuilder.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,13 @@ public static void BuildWithoutPatch()
430430
return;
431431
}
432432

433+
if (!BuildIl2cppSoLib())
434+
{
435+
Debug.LogError("failed to BuildIl2cppSoLig");
436+
return;
437+
}
438+
439+
433440
if (!PatchAndroidProject())
434441
{
435442
Debug.LogError("failed to PatchAndroidProject");
@@ -459,13 +466,19 @@ public static void BuildWithoutPatch()
459466
[MenuItem("AndroidBuilder/Run Step 1-5 for Patch Version", false, 3)]
460467
public static void BuildPatch()
461468
{
462-
//Step 1
463469
if (!ExportGradleProject())
464470
{
465471
Debug.LogError("failed to ExportGradleProject");
466472
return;
467473
}
468474

475+
if (!BuildIl2cppSoLib())
476+
{
477+
Debug.LogError("failed to BuildIl2cppSoLig");
478+
return;
479+
}
480+
481+
469482
if (!PatchAndroidProject())
470483
{
471484
Debug.LogError("failed to PatchAndroidProject");

0 commit comments

Comments
 (0)