summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bindings/mono/efl_mono/AssemblyInfo.cs.in3
-rw-r--r--src/bindings/mono/efl_mono/meson.build19
2 files changed, 22 insertions, 0 deletions
diff --git a/src/bindings/mono/efl_mono/AssemblyInfo.cs.in b/src/bindings/mono/efl_mono/AssemblyInfo.cs.in
new file mode 100644
index 0000000000..e22d0a4140
--- /dev/null
+++ b/src/bindings/mono/efl_mono/AssemblyInfo.cs.in
@@ -0,0 +1,3 @@
1using System.Runtime.CompilerServices;
2
3@MONO_FRIEND_ASSEMBLIES@
diff --git a/src/bindings/mono/efl_mono/meson.build b/src/bindings/mono/efl_mono/meson.build
index cfe53ee153..6542f5124a 100644
--- a/src/bindings/mono/efl_mono/meson.build
+++ b/src/bindings/mono/efl_mono/meson.build
@@ -34,6 +34,25 @@ efl_src = configure_file(
34 configuration: efl_libs 34 configuration: efl_libs
35) 35)
36 36
37friend_assemblies = ''
38mono_friend_assemblies = get_option('mono-friend-assemblies')
39if get_option('build-tests')
40 mono_friend_assemblies += 'efl-mono-suite'
41 mono_friend_assemblies += 'efl_mono_test'
42endif
43
44foreach f : mono_friend_assemblies
45 friend_assemblies += '[assembly: InternalsVisibleTo("@0@")]\n'.format(f)
46endforeach
47friend_assembly_data = configuration_data()
48friend_assembly_data.set('MONO_FRIEND_ASSEMBLIES', friend_assemblies)
49
50mono_files += configure_file(
51 input: 'AssemblyInfo.cs.in',
52 output: 'AssemblyInfo.cs',
53 configuration: friend_assembly_data
54)
55
37mono_eo_files = [ 56mono_eo_files = [
38 'efl_mono_model_internal.eo', 57 'efl_mono_model_internal.eo',
39 'efl_mono_model_internal_child.eo' 58 'efl_mono_model_internal_child.eo'