[remove] remove option HybridCLRSettings.enableStraceTraceInWebGLReleaseBuild
parent
1553582ec1
commit
0c5ef00c12
|
|
@ -24,7 +24,6 @@ namespace HybridCLR.Editor.Commands
|
|||
UnityVersionOutputFile = $"{SettingsUtil.LocalIl2CppDir}/libil2cpp/hybridclr/generated/UnityVersion.h",
|
||||
AssemblyManifestTemplateFile = $"{SettingsUtil.TemplatePathInPackage}/AssemblyManifest.cpp.tpl",
|
||||
AssemblyManifestOutputFile = $"{SettingsUtil.LocalIl2CppDir}/libil2cpp/hybridclr/generated/AssemblyManifest.cpp",
|
||||
EnableStraceTraceInWebGLReleaseBuild = HybridCLRSettings.Instance.enableStraceTraceInWebGLReleaseBuild,
|
||||
};
|
||||
|
||||
var g = new Il2CppDef.Il2CppDefGenerator(options);
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@ namespace HybridCLR.Editor.Il2CppDef
|
|||
public string AssemblyManifestOutputFile { get; set; }
|
||||
|
||||
public string UnityVersion { get; set; }
|
||||
|
||||
public bool EnableStraceTraceInWebGLReleaseBuild { get; set; }
|
||||
}
|
||||
|
||||
private readonly Options _options;
|
||||
|
|
@ -83,11 +81,6 @@ namespace HybridCLR.Editor.Il2CppDef
|
|||
lines.Add($"#define HYBRIDCLR_TUANJIE_VERSION 10000");
|
||||
#endif
|
||||
|
||||
if (_options.EnableStraceTraceInWebGLReleaseBuild)
|
||||
{
|
||||
lines.Add("#define HYBRIDCLR_ENABLE_STRACE_TRACE_IN_WEBGL_RELEASE_BUILD 1");
|
||||
}
|
||||
|
||||
frr.Replace("UNITY_VERSION", string.Join("\n", lines));
|
||||
|
||||
frr.Commit(_options.UnityVersionOutputFile);
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ namespace HybridCLR.Editor.Settings
|
|||
private SerializedProperty _outputAOTGenericReferenceFile;
|
||||
private SerializedProperty _maxGenericReferenceIteration;
|
||||
private SerializedProperty _maxMethodBridgeGenericIteration;
|
||||
private SerializedProperty enableStraceTraceInWebGLReleaseBuild;
|
||||
|
||||
private GUIStyle buttonStyle;
|
||||
public HybridCLRSettingsProvider() : base("Project/HybridCLR Settings", SettingsScope.Project) { }
|
||||
|
|
@ -54,7 +53,6 @@ namespace HybridCLR.Editor.Settings
|
|||
_outputAOTGenericReferenceFile = _serializedObject.FindProperty("outputAOTGenericReferenceFile");
|
||||
_maxGenericReferenceIteration = _serializedObject.FindProperty("maxGenericReferenceIteration");
|
||||
_maxMethodBridgeGenericIteration = _serializedObject.FindProperty("maxMethodBridgeGenericIteration");
|
||||
enableStraceTraceInWebGLReleaseBuild = _serializedObject.FindProperty("enableStraceTraceInWebGLReleaseBuild");
|
||||
}
|
||||
private void OnEditorFocused()
|
||||
{
|
||||
|
|
@ -142,7 +140,6 @@ namespace HybridCLR.Editor.Settings
|
|||
EditorGUILayout.PropertyField(_outputAOTGenericReferenceFile);
|
||||
EditorGUILayout.PropertyField(_maxGenericReferenceIteration);
|
||||
EditorGUILayout.PropertyField(_maxMethodBridgeGenericIteration);
|
||||
EditorGUILayout.PropertyField(enableStraceTraceInWebGLReleaseBuild);
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
_serializedObject.ApplyModifiedProperties();
|
||||
|
|
|
|||
|
|
@ -50,8 +50,5 @@ namespace HybridCLR.Editor.Settings
|
|||
|
||||
[Tooltip("max iteration count of searching method bridge generic methods in AOT assemblies")]
|
||||
public int maxMethodBridgeGenericIteration = 10;
|
||||
|
||||
[Tooltip("enable StraceTrace support when publishing to the WebGL platform in release mode")]
|
||||
public bool enableStraceTraceInWebGLReleaseBuild;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue