[remove] 删除无用的 ReversePInvokeWrapperGeneratorCommand代码文件
parent
303c6c7b35
commit
16a7d5d529
|
@ -1,49 +0,0 @@
|
|||
//using HybridCLR.Editor.ABI;
|
||||
//using HybridCLR.Editor.Link;
|
||||
//using HybridCLR.Editor.Meta;
|
||||
//using HybridCLR.Editor.ReversePInvokeWrap;
|
||||
//using System;
|
||||
//using System.Collections.Generic;
|
||||
//using System.IO;
|
||||
//using System.Linq;
|
||||
//using System.Reflection;
|
||||
//using System.Text;
|
||||
//using System.Threading.Tasks;
|
||||
//using UnityEditor;
|
||||
//using UnityEngine;
|
||||
|
||||
//namespace HybridCLR.Editor.Commands
|
||||
//{
|
||||
|
||||
// public static class ReversePInvokeWrapperGeneratorCommand
|
||||
// {
|
||||
|
||||
// [MenuItem("HybridCLR/Generate/ReversePInvokeWrapper", priority = 103)]
|
||||
|
||||
// public static void CompileAndGenerateReversePInvokeWrapper()
|
||||
// {
|
||||
// BuildTarget target = EditorUserBuildSettings.activeBuildTarget;
|
||||
// CompileDllCommand.CompileDll(target);
|
||||
// GenerateReversePInvokeWrapper(target);
|
||||
// }
|
||||
|
||||
// public static void GenerateReversePInvokeWrapper(BuildTarget target)
|
||||
// {
|
||||
// List<string> hotUpdateDlls = SettingsUtil.HotUpdateAssemblyNamesExcludePreserved;
|
||||
// var cache = new AssemblyCache(MetaUtil.CreateHotUpdateAndAOTAssemblyResolver(target, hotUpdateDlls));
|
||||
// {
|
||||
// var analyzer = new ReversePInvokeWrap.Analyzer(cache, hotUpdateDlls);
|
||||
// analyzer.Run();
|
||||
|
||||
// string outputFile = $"{SettingsUtil.GeneratedCppDir}/ReversePInvokeMethodStub.cpp";
|
||||
|
||||
// List<ABIReversePInvokeMethodInfo> methods = analyzer.BuildABIMethods();
|
||||
// Debug.Log($"GenerateReversePInvokeWrapper. wraperCount:{methods.Sum(m => m.Count)} output:{outputFile}");
|
||||
// var generator = new Generator();
|
||||
// generator.Generate(methods, outputFile);
|
||||
// Debug.LogFormat("[ReversePInvokeWrapperGeneratorCommand] output:{0}", outputFile);
|
||||
// }
|
||||
// MethodBridgeGeneratorCommand.CleanIl2CppBuildCache();
|
||||
// }
|
||||
// }
|
||||
//}
|
|
@ -1,11 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7db18e1736f593c4089c85d764cf8620
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue