Example #1
0
        private int PortNumber = 32799; // This is by default. Not sure if I want to allow this to be changed or not just yet.

        public DexToJni(ref ICommandCommunicator communicator, ref ProjectEnvironmentContext context, ref ProjectEnvironment.ProjectModule module, ref List<string> filesAndDirs, string additionalArgs = "", bool printInfo = true)
            : base(ref communicator, ref context)
        {
            CommandAdditionalArgs = additionalArgs.Trim();
            PrintInfoInGlobalMessageBox = printInfo;
            ProjectModuleContext = module;
            ProjectEnvironmentInstance = module.Project;
            InputFilesAndDirs = filesAndDirs;
        }
Example #2
0
        public NdkBuild(ref ICommandCommunicator communicator, ref ProjectEnvironmentContext context, ref ProjectEnvironment.ProjectModule module, bool useMake=true, string additionalArgs="", bool printInfo=true) : base(ref communicator, ref context)
        {
            UseMake         = useMake;
            CommandAdditionalArgs  = additionalArgs;

            PrintInfoInGlobalMessageBox = printInfo;
            ProjectModuleContext        = module;
            ProjectEnvironmentInstance   = module.Project;

            if (OSUtils.IsWindows())
            {
                NdkBuildExec = Path.Combine(context.NdkEnv.RootDirectory, "ndk-build.cmd");
            }
            else
            {
                NdkBuildExec = Path.Combine(context.NdkEnv.RootDirectory, "ndk-build");
            }

            if (!string.IsNullOrEmpty(NUtilityGlobalContext.ExtraCompilerDefine))
            {
                Environment.SetEnvironmentVariable("NUTILITY_DEFINES", NUtilityGlobalContext.ExtraCompilerDefine);
            }
        }
Example #3
0
        public JavaH(ref ICommandCommunicator communicator, ref ProjectEnvironmentContext context, string additionalArgs = "", bool printInfo = true) : base(ref communicator, ref context)
        {
            AdditionalArgs  = additionalArgs;

            PrintInfoInGlobalMessageBox = printInfo;
        }
Example #4
0
 public Command(ref ICommandCommunicator communicator, ref ProjectEnvironmentContext context)
 {
     CommandCommunicator                 = communicator;
     CommandProjectEnvironmentContext    = context;
     CommandStopWatch                    = new Stopwatch();
 }