From b790ac34ac59eca3445b99ac83c16f74c6c04ca9 Mon Sep 17 00:00:00 2001 From: huyfei Date: Thu, 22 Feb 2024 16:46:49 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0=20asmdef=20?= =?UTF-8?q?=E5=AE=9A=E4=B9=89,=20=E6=9B=B4=E6=96=B0=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Editor/GuruConsent.Editor.asmdef | 16 ++++++++++++++++ .../Editor/GuruConsent.Editor.asmdef.meta | 3 +++ .../Editor/PostBuildProcess/PostBuild.DMA.cs | 17 +++++++++++------ 3 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 Runtime/GuruConsent/Editor/GuruConsent.Editor.asmdef create mode 100644 Runtime/GuruConsent/Editor/GuruConsent.Editor.asmdef.meta diff --git a/Runtime/GuruConsent/Editor/GuruConsent.Editor.asmdef b/Runtime/GuruConsent/Editor/GuruConsent.Editor.asmdef new file mode 100644 index 0000000..ebcc02a --- /dev/null +++ b/Runtime/GuruConsent/Editor/GuruConsent.Editor.asmdef @@ -0,0 +1,16 @@ +{ + "name": "GuruConsent.Editor", + "rootNamespace": "Guru.Editor", + "references": [], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Runtime/GuruConsent/Editor/GuruConsent.Editor.asmdef.meta b/Runtime/GuruConsent/Editor/GuruConsent.Editor.asmdef.meta new file mode 100644 index 0000000..d0963c8 --- /dev/null +++ b/Runtime/GuruConsent/Editor/GuruConsent.Editor.asmdef.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: b3a448b0d69744e68e37aebf848e479f +timeCreated: 1708590658 \ No newline at end of file diff --git a/Runtime/GuruConsent/Editor/PostBuildProcess/PostBuild.DMA.cs b/Runtime/GuruConsent/Editor/PostBuildProcess/PostBuild.DMA.cs index 6560712..7eb78f8 100644 --- a/Runtime/GuruConsent/Editor/PostBuildProcess/PostBuild.DMA.cs +++ b/Runtime/GuruConsent/Editor/PostBuildProcess/PostBuild.DMA.cs @@ -1,13 +1,12 @@ - -using System.Xml; -using UnityEngine; - namespace Guru.Editor { using UnityEditor; using UnityEditor.Callbacks; + using UnityEngine; + using System.Xml; using System.IO; + using NUnit.Framework; public class PostBuild_DMA { @@ -118,13 +117,19 @@ namespace Guru.Editor } } + + #endregion + + + #region 单元测试 + + [Test] public static void Test_AndroidManifestInject() { OnSetAndroidManifest($"{Application.dataPath}/Plugins/Android"); } - - #endregion + } } \ No newline at end of file