Allow PakBlacklist-*.txt files inside Build dir

The PakBlacklist-<BuildConfiguration>.txt is used to disallow some files to be packaged in the pak file.
This can be very helpful to reduce pak file size for mobile platforms.

To avoid the user-defined blueprint class Debug.uasset located in Content/Blueprints folder to be packaged in shipping build, one has to do the following steps:
1. Create the PakBlacklist-Shipping.txt file in Build/Android directory.
2. Insert the content "../../../MyGameName/Blueprints/Debug.uasset
3. Package the game

Source: https://docs.unrealengine.com/latest/INT/Platforms/Android/ReducingAPKSize/#packageblacklist
This commit is contained in:
gagallo7 2017-03-09 10:56:06 -03:00 committed by GitHub
parent 1489551937
commit 01e2e5617d
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@ Binaries/*
# Builds
Build/*
# Whitelist PakBlacklist-<BuildConfiguration>.txt files
!Build/*/
Build/*/**
!Build/*/PakBlacklist*.txt
# Don't ignore icon files in Build
!Build/**/*.ico