diff options
author | jfrijters <jfrijters> | 2009-06-29 13:32:59 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2009-06-29 13:32:59 +0400 |
commit | cb4e9c37cac8ae9988ad8defaf6f14cc127f2b65 (patch) | |
tree | 1ad8b8039a84099036ab6c2e1e04981bf49b0de7 /openjdk | |
parent | f6cbd1dd5012b60fb1822aed80a5b21b86d4bb0e (diff) |
Added a mechanism to prevent accidentally introducing new dependencies in the OpenJDK assemblies.
Diffstat (limited to 'openjdk')
-rw-r--r-- | openjdk/dependencies.txt | 108 | ||||
-rw-r--r-- | openjdk/openjdk.build | 2 |
2 files changed, 110 insertions, 0 deletions
diff --git a/openjdk/dependencies.txt b/openjdk/dependencies.txt new file mode 100644 index 00000000..208cefa3 --- /dev/null +++ b/openjdk/dependencies.txt @@ -0,0 +1,108 @@ +# This file declares the dependencies of the OpenJDK assemblies. +# It exists to prevent accidentally introducing new dependencies. +# +# Note that mscorlib, System, IKVM.Runtime and IKVM.OpenJDK.Core are not very interesting, +# so these dependencies are ignored by the dependency checker. + +IKVM.OpenJDK.Core +->System.Core +->IKVM.OpenJDK.Util +->IKVM.OpenJDK.Security +->IKVM.OpenJDK.Text +->IKVM.OpenJDK.XML.API + +IKVM.OpenJDK.Corba +->IKVM.OpenJDK.Misc +->IKVM.OpenJDK.Util +->IKVM.OpenJDK.SwingAWT +->IKVM.OpenJDK.Text + +IKVM.OpenJDK.XML.API + +IKVM.OpenJDK.XML.Parse +->IKVM.OpenJDK.XML.API +->IKVM.OpenJDK.Text +->IKVM.OpenJDK.Misc + +IKVM.OpenJDK.XML.Transform +->IKVM.OpenJDK.Util +->IKVM.OpenJDK.XML.Parse +->IKVM.OpenJDK.XML.API +->IKVM.OpenJDK.Text + +IKVM.OpenJDK.XML.Bind +->IKVM.OpenJDK.Misc +->IKVM.OpenJDK.XML.API +->IKVM.OpenJDK.Util +->IKVM.OpenJDK.Text +->IKVM.OpenJDK.SwingAWT +->IKVM.OpenJDK.XML.RelaxNG + +IKVM.OpenJDK.XML.WebServices +->IKVM.OpenJDK.XML.API +->IKVM.OpenJDK.Text +->IKVM.OpenJDK.Util +->IKVM.OpenJDK.Misc +->IKVM.OpenJDK.SwingAWT +->IKVM.OpenJDK.XML.Parse +->IKVM.OpenJDK.XML.Bind +->IKVM.OpenJDK.Security + +IKVM.OpenJDK.XML.RelaxNG +->IKVM.OpenJDK.XML.API +->IKVM.OpenJDK.Text + +IKVM.OpenJDK.XML.Crypto +->IKVM.OpenJDK.Util +->IKVM.OpenJDK.XML.API +->IKVM.OpenJDK.Security +->IKVM.OpenJDK.Text +->IKVM.OpenJDK.XML.Parse + +IKVM.OpenJDK.SwingAWT +->System.Drawing +->IKVM.OpenJDK.Misc +->IKVM.OpenJDK.Util +->IKVM.OpenJDK.Text +->IKVM.OpenJDK.XML.API +->IKVM.OpenJDK.Charsets + +IKVM.OpenJDK.Charsets + +IKVM.OpenJDK.Util +->IKVM.OpenJDK.Security +->IKVM.OpenJDK.Misc +->IKVM.OpenJDK.Text +->IKVM.OpenJDK.XML.API + +IKVM.OpenJDK.Text +->IKVM.OpenJDK.Util +->IKVM.OpenJDK.SwingAWT + +IKVM.OpenJDK.Security +->IKVM.OpenJDK.Misc +->IKVM.OpenJDK.Text +->IKVM.OpenJDK.SwingAWT +->IKVM.OpenJDK.Util + +IKVM.OpenJDK.Management +->IKVM.OpenJDK.Misc +->IKVM.OpenJDK.Security +->IKVM.OpenJDK.Corba +->IKVM.OpenJDK.Util + +IKVM.OpenJDK.Misc +->System.Drawing +->IKVM.OpenJDK.SwingAWT +->IKVM.OpenJDK.XML.API +->IKVM.OpenJDK.Util +->IKVM.OpenJDK.Corba +->IKVM.OpenJDK.Text +->IKVM.OpenJDK.Security + +IKVM.OpenJDK.Jdbc +->System.Data +->IKVM.OpenJDK.Text +->IKVM.OpenJDK.Misc +->IKVM.OpenJDK.XML.API +->IKVM.OpenJDK.Util diff --git a/openjdk/openjdk.build b/openjdk/openjdk.build index f5ef4160..eebc5c80 100644 --- a/openjdk/openjdk.build +++ b/openjdk/openjdk.build @@ -142,6 +142,8 @@ <exec program="peverify" commandline="-nologo IKVM.OpenJDK.XML.Transform.dll" /> <exec program="peverify" commandline="-nologo IKVM.OpenJDK.XML.WebServices.dll" /> </if> + <!-- make sure that we haven't accidentally introduced new dependencies --> + <exec program="${project::get-base-directory()}/../tools/depcheck.exe" commandline="response.txt dependencies.txt" useruntimeengine="true" /> <copy todir="../bin"> <fileset basedir="."> <include name="IKVM.OpenJDK.*.dll" /> |