<commit_before>using UnrealBuildTool;
using System.IO;
using System;

public class Blu : ModuleRules
{

    private string ModulePath
    {
        get { return Path.GetDirectoryName(RulesCompiler.GetModuleFilename(this.GetType().Name)); }
    }

    private string ThirdPartyPath
    {
        get { return Path.GetFullPath(Path.Combine(ModulePath, "../ThirdParty/")); }
    }

	public Blu(TargetInfo Target)
	{

        bool isLibrarySupported = false;

        if ((Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Linux))
        {
            isLibrarySupported = true;


            /** //// Start Windows platform //// **/

            if ((Target.Platform == UnrealTargetPlatform.Win64))
            {
                PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Win/lib", "libcef.lib"));
                PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Win/lib", "libcef_dll_wrapper.lib"));

                PublicIncludePaths.AddRange(
                    new string[] {
				        Path.Combine(ThirdPartyPath, "cef/Win"),
                        Path.Combine(ModulePath, "Blu/Public")
			    });
            }

            /** //// End Windows platform //// **/


            /** //// Start Linux 64 platform //// **/

            else if ((Target.Platform == UnrealTargetPlatform.Linux))
            {

                PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Linux/lib", "libcef.so"));
                PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Linux/lib", "libcef_dll_wrapper.a"));

                PublicIncludePaths.AddRange(
                    new string[] {
				        Path.Combine(ThirdPartyPath, "cef/Linux"),
                        Path.Combine(ModulePath, "Blu/Public")
			    });

            }

            /** //// End Linux 64 platform //// **/


            /** //// General Libs + Includes //// **/

            PrivateIncludePaths.AddRange(
            new string[] {
				Path.Combine(ModulePath, "Private")
			});

            PublicDependencyModuleNames.AddRange(
                new string[]
			{
				"Core",
				"CoreUObject",
				"Engine",
				"InputCore",
				"RenderCore",
				"RHI",
                "Slate",
                "SlateCore",
                "UMG",
                "Json", 
                "JsonUtilities"
			});

        }

        Definitions.Add(string.Format("WITH_BLUI_BINDING={0}", isLibrarySupported ? 1 : 0));


	}

}<commit_msg>Update for 4.7.2 + 4.7.3, JsonUtils not needed, causes packing error<commit_after>using UnrealBuildTool;
using System.IO;
using System;

public class Blu : ModuleRules
{

    private string ModulePath
    {
        get { return Path.GetDirectoryName(RulesCompiler.GetModuleFilename(this.GetType().Name)); }
    }

    private string ThirdPartyPath
    {
        get { return Path.GetFullPath(Path.Combine(ModulePath, "../ThirdParty/")); }
    }

	public Blu(TargetInfo Target)
	{

        bool isLibrarySupported = false;

        if ((Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Linux))
        {
            isLibrarySupported = true;


            /** //// Start Windows platform //// **/

            if ((Target.Platform == UnrealTargetPlatform.Win64))
            {
                PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Win/lib", "libcef.lib"));
                PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Win/lib", "libcef_dll_wrapper.lib"));

                PublicIncludePaths.AddRange(
                    new string[] {
				        Path.Combine(ThirdPartyPath, "cef/Win"),
                        Path.Combine(ModulePath, "Blu/Public")
			    });
            }

            /** //// End Windows platform //// **/


            /** //// Start Linux 64 platform //// **/

            else if ((Target.Platform == UnrealTargetPlatform.Linux))
            {

                PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Linux/lib", "libcef.so"));
                PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Linux/lib", "libcef_dll_wrapper.a"));

                PublicIncludePaths.AddRange(
                    new string[] {
				        Path.Combine(ThirdPartyPath, "cef/Linux"),
                        Path.Combine(ModulePath, "Blu/Public")
			    });

            }

            /** //// End Linux 64 platform //// **/


            /** //// General Libs + Includes //// **/

            PrivateIncludePaths.AddRange(
            new string[] {
				Path.Combine(ModulePath, "Private")
			});

            PublicDependencyModuleNames.AddRange(
                new string[]
			{
				"Core",
				"CoreUObject",
				"Engine",
				"InputCore",
				"RenderCore",
				"RHI",
                "Slate",
                "SlateCore",
                "UMG",
                "Json"
			});

        }

        Definitions.Add(string.Format("WITH_BLUI_BINDING={0}", isLibrarySupported ? 1 : 0));


	}

}
{'fraction_non_alphanumeric': 0.13534431434808494, 'fraction_numerical': 0.005556658067076801, 'mean_word_length': 1.7586206896551724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2086088', 'n_tokens_mistral': 1610, 'n_tokens_neox': 1369, 'n_words': 226}