@@ -101,7 +101,6 @@ public void AddRuntimeDependenciesForCopying(ReadOnlyTargetRules Target)
101101 if ( UseThirdPartyPython )
102102 {
103103 string PlatformString = Target . Platform . ToString ( ) ;
104- bool bVerboseBuild = false ;
105104
106105 //Don't add android stuff so we use a manual method to enum a directory
107106 Tools . DotNETCommon . DirectoryReference BinDir = new Tools . DotNETCommon . DirectoryReference ( Path . Combine ( BinariesPath , PlatformString , "..." ) ) ;
@@ -118,11 +117,6 @@ public void AddRuntimeDependenciesForCopying(ReadOnlyTargetRules Target)
118117 {
119118 RuntimeDependencies . Add ( File . ToString ( ) ) ;
120119 }
121- /*else if (bVerboseBuild)
122- {
123- Log.TraceInformation("Not adding the following file as RuntimeDependency: ");
124- Log.TraceInformation(File.ToString());
125- }*/
126120 }
127121 }
128122
@@ -223,15 +217,15 @@ public UnrealEnginePython(TargetInfo Target)
223217
224218 PublicIncludePaths . AddRange (
225219 new string [ ] {
226- "UnrealEnginePython/ Public",
220+ Path . Combine ( ModuleDirectory , " Public") ,
227221 // ... add public include paths required here ...
228222 }
229223 ) ;
230224
231225
232226 PrivateIncludePaths . AddRange (
233227 new string [ ] {
234- "UnrealEnginePython/ Private",
228+ Path . Combine ( ModuleDirectory , " Private") ,
235229 PythonHome ,
236230 // ... add other private include paths required here ...
237231 }
@@ -416,7 +410,7 @@ public UnrealEnginePython(TargetInfo Target)
416410
417411 string APLName = "UnrealEnginePython_APL.xml" ;
418412 string RelAPLPath = Utils . MakePathRelativeTo ( System . IO . Path . Combine ( ModuleDirectory , APLName ) , Target . RelativeEnginePath ) ;
419- AdditionalPropertiesForReceipt . Add ( new ReceiptProperty ( "AndroidPlugin" , RelAPLPath ) ) ;
413+ AdditionalPropertiesForReceipt . Add ( "AndroidPlugin" , RelAPLPath ) ;
420414 }
421415#endif
422416 }
0 commit comments