static public void UpdateBootConfig(BuildTargetGroup targetGroup, BuildTarget target, BootConfigData config, BuildOptions options)
        {
            IBuildPostprocessor postprocessor = ModuleManager.GetBuildPostProcessor(targetGroup, target);

            if (postprocessor != null)
            {
                postprocessor.UpdateBootConfig(target, config, options);
            }
        }
Пример #2
0
        static public void UpdateBootConfig(BuildTargetGroup targetGroup, BuildTarget target, BootConfigData config, BuildOptions options)
        {
            IBuildPostprocessor postprocessor = ModuleManager.GetBuildPostProcessor(targetGroup, target);

            if (postprocessor != null)
            {
                postprocessor.UpdateBootConfig(target, config, options);
            }

            foreach (var keyValue in projectBootConfigEntries)
            {
                if ((keyValue.Value == null) || keyValue.Value.All(char.IsWhiteSpace))
                {
                    config.AddKey(keyValue.Key);
                }
                else
                {
                    config.Set(keyValue.Key, keyValue.Value);
                }
            }
        }