2 echo "############### wearable-dotnet-generate-ni.post ################"
5 /usr/share/dotnet.tizen/netcoreapp/Microsoft.Win32.Primitives.dll
6 /usr/share/dotnet.tizen/netcoreapp/netstandard.dll
7 /usr/share/dotnet.tizen/netcoreapp/System.Collections.Concurrent.dll
8 /usr/share/dotnet.tizen/netcoreapp/System.Collections.dll
9 /usr/share/dotnet.tizen/netcoreapp/System.Collections.Immutable.dll
10 /usr/share/dotnet.tizen/netcoreapp/System.Collections.NonGeneric.dll
11 /usr/share/dotnet.tizen/netcoreapp/System.Collections.Specialized.dll
12 /usr/share/dotnet.tizen/netcoreapp/System.ComponentModel.dll
13 /usr/share/dotnet.tizen/netcoreapp/System.ComponentModel.Primitives.dll
14 /usr/share/dotnet.tizen/netcoreapp/System.ComponentModel.TypeConverter.dll
15 /usr/share/dotnet.tizen/netcoreapp/System.Console.dll
16 /usr/share/dotnet.tizen/netcoreapp/System.Data.Common.dll
17 /usr/share/dotnet.tizen/netcoreapp/System.Diagnostics.Debug.dll
18 /usr/share/dotnet.tizen/netcoreapp/System.Diagnostics.DiagnosticSource.dll
19 /usr/share/dotnet.tizen/netcoreapp/System.Diagnostics.Process.dll
20 /usr/share/dotnet.tizen/netcoreapp/System.Diagnostics.StackTrace.dll
21 /usr/share/dotnet.tizen/netcoreapp/System.Diagnostics.TraceSource.dll
22 /usr/share/dotnet.tizen/netcoreapp/System.Diagnostics.Tracing.dll
23 /usr/share/dotnet.tizen/netcoreapp/System.Drawing.Primitives.dll
24 /usr/share/dotnet.tizen/netcoreapp/System.IO.FileSystem.dll
25 /usr/share/dotnet.tizen/netcoreapp/System.IO.dll
26 /usr/share/dotnet.tizen/netcoreapp/System.IO.IsolatedStorage.dll
27 /usr/share/dotnet.tizen/netcoreapp/System.Linq.Expressions.dll
28 /usr/share/dotnet.tizen/netcoreapp/System.Linq.dll
29 /usr/share/dotnet.tizen/netcoreapp/System.Linq.Queryable.dll
30 /usr/share/dotnet.tizen/netcoreapp/System.Memory.dll
31 /usr/share/dotnet.tizen/netcoreapp/System.Net.Http.dll
32 /usr/share/dotnet.tizen/netcoreapp/System.Net.NameResolution.dll
33 /usr/share/dotnet.tizen/netcoreapp/System.Net.Primitives.dll
34 /usr/share/dotnet.tizen/netcoreapp/System.Net.Requests.dll
35 /usr/share/dotnet.tizen/netcoreapp/System.Net.Security.dll
36 /usr/share/dotnet.tizen/netcoreapp/System.Net.Sockets.dll
37 /usr/share/dotnet.tizen/netcoreapp/System.Net.WebClient.dll
38 /usr/share/dotnet.tizen/netcoreapp/System.Net.WebProxy.dll
39 /usr/share/dotnet.tizen/netcoreapp/System.ObjectModel.dll
40 /usr/share/dotnet.tizen/netcoreapp/System.Private.DataContractSerialization.dll
41 /usr/share/dotnet.tizen/netcoreapp/System.Private.Uri.dll
42 /usr/share/dotnet.tizen/netcoreapp/System.Private.Xml.dll
43 /usr/share/dotnet.tizen/netcoreapp/System.Reflection.Emit.ILGeneration.dll
44 /usr/share/dotnet.tizen/netcoreapp/System.Reflection.dll
45 /usr/share/dotnet.tizen/netcoreapp/System.Reflection.Metadata.dll
46 /usr/share/dotnet.tizen/netcoreapp/System.Reflection.Primitives.dll
47 /usr/share/dotnet.tizen/netcoreapp/System.Resources.ResourceManager.dll
48 /usr/share/dotnet.tizen/netcoreapp/System.Runtime.Extensions.dll
49 /usr/share/dotnet.tizen/netcoreapp/System.Runtime.dll
50 /usr/share/dotnet.tizen/netcoreapp/System.Runtime.InteropServices.dll
51 /usr/share/dotnet.tizen/netcoreapp/System.Runtime.Numerics.dll
52 /usr/share/dotnet.tizen/netcoreapp/System.Runtime.Serialization.Formatters.dll
53 /usr/share/dotnet.tizen/netcoreapp/System.Runtime.Serialization.Primitives.dll
54 /usr/share/dotnet.tizen/netcoreapp/System.Security.Cryptography.Algorithms.dll
55 /usr/share/dotnet.tizen/netcoreapp/System.Security.Cryptography.Primitives.dll
56 /usr/share/dotnet.tizen/netcoreapp/System.Security.Cryptography.X509Certificates.dll
57 /usr/share/dotnet.tizen/netcoreapp/System.Text.RegularExpressions.dll
58 /usr/share/dotnet.tizen/netcoreapp/System.Threading.dll
59 /usr/share/dotnet.tizen/netcoreapp/System.Threading.Tasks.dll
60 /usr/share/dotnet.tizen/netcoreapp/System.Threading.Timer.dll
61 /usr/share/dotnet.tizen/netcoreapp/System.Xml.ReaderWriter.dll
62 /usr/share/dotnet.tizen/framework/ElmSharp.dll
63 /usr/share/dotnet.tizen/framework/Tizen.Account.AccountManager.dll
64 /usr/share/dotnet.tizen/framework/Tizen.Applications.Alarm.dll
65 /usr/share/dotnet.tizen/framework/Tizen.Applications.Common.dll
66 /usr/share/dotnet.tizen/framework/Tizen.Applications.ComponentBased.dll
67 /usr/share/dotnet.tizen/framework/Tizen.Applications.DataControl.dll
68 /usr/share/dotnet.tizen/framework/Tizen.Applications.MessagePort.dll
69 /usr/share/dotnet.tizen/framework/Tizen.Applications.Notification.dll
70 /usr/share/dotnet.tizen/framework/Tizen.Applications.PackageManager.dll
71 /usr/share/dotnet.tizen/framework/Tizen.Applications.Preference.dll
72 /usr/share/dotnet.tizen/framework/Tizen.Applications.Service.dll
73 /usr/share/dotnet.tizen/framework/Tizen.Applications.UI.dll
74 /usr/share/dotnet.tizen/framework/Tizen.Applications.WatchApplication.dll
75 /usr/share/dotnet.tizen/framework/Tizen.Applications.WidgetApplication.dll
76 /usr/share/dotnet.tizen/framework/Tizen.Content.Download.dll
77 /usr/share/dotnet.tizen/framework/Tizen.Content.MediaContent.dll
78 /usr/share/dotnet.tizen/framework/Tizen.Content.MimeType.dll
79 /usr/share/dotnet.tizen/framework/Tizen.dll
80 /usr/share/dotnet.tizen/framework/Tizen.Location.dll
81 /usr/share/dotnet.tizen/framework/Tizen.Log.dll
82 /usr/share/dotnet.tizen/framework/Tizen.Maps.dll
83 /usr/share/dotnet.tizen/framework/Tizen.Messaging.dll
84 /usr/share/dotnet.tizen/framework/Tizen.Messaging.Push.dll
85 /usr/share/dotnet.tizen/framework/Tizen.Multimedia.AudioIO.dll
86 /usr/share/dotnet.tizen/framework/Tizen.Multimedia.Camera.dll
87 /usr/share/dotnet.tizen/framework/Tizen.Multimedia.dll
88 /usr/share/dotnet.tizen/framework/Tizen.Multimedia.MediaPlayer.dll
89 /usr/share/dotnet.tizen/framework/Tizen.Multimedia.Recorder.dll
90 /usr/share/dotnet.tizen/framework/Tizen.Multimedia.Remoting.dll
91 /usr/share/dotnet.tizen/framework/Tizen.Network.Bluetooth.dll
92 /usr/share/dotnet.tizen/framework/Tizen.Network.Connection.dll
93 /usr/share/dotnet.tizen/framework/Tizen.Network.WiFi.dll
94 /usr/share/dotnet.tizen/framework/Tizen.NUI.dll
95 /usr/share/dotnet.tizen/framework/Tizen.Security.PrivacyPrivilegeManager.dll
96 /usr/share/dotnet.tizen/framework/Tizen.Security.SecureRepository.dll
97 /usr/share/dotnet.tizen/framework/Tizen.Sensor.dll
98 /usr/share/dotnet.tizen/framework/Tizen.System.Feedback.dll
99 /usr/share/dotnet.tizen/framework/Tizen.System.dll
100 /usr/share/dotnet.tizen/framework/Tizen.System.Information.dll
101 /usr/share/dotnet.tizen/framework/Tizen.System.Storage.dll
102 /usr/share/dotnet.tizen/framework/Tizen.System.SystemSettings.dll
103 /usr/share/dotnet.tizen/framework/Tizen.Uix.Stt.dll
104 /usr/share/dotnet.tizen/framework/Tizen.Uix.Tts.dll
105 /usr/share/dotnet.tizen/framework/Tizen.WebView.dll
106 /usr/share/dotnet.tizen/framework/XSF.dll
109 export IBCDATA_DIR=/usr/share/dotnet.tizen/ibcdata
110 export COMPlus_UseIBCFile=1
111 export COMPlus_IBCFileDir=$IBCDATA_DIR
113 # remove previous native image
114 dotnettool --ni-reset-system
116 # generate SPC native image and remove origin
117 dotnettool --ni-dll /usr/share/dotnet.tizen/netcoreapp/System.Private.CoreLib.dll
118 if [ -f '/usr/share/dotnet.tizen/netcoreapp/System.Private.CoreLib.dll.Backup' ]
120 echo "remove origin file : System.Private.CoreLib.dll.Backup"
121 rm -f /usr/share/dotnet.tizen/netcoreapp/System.Private.CoreLib.dll.Backup
122 touch /usr/share/dotnet.tizen/netcoreapp/System.Private.CoreLib.dll.Backup
125 # generate native image
126 for target in $DLL_LIST;
128 dotnettool --ni-dll $target;
129 if [ -f ${target//.dll/.ni.dll} ]
131 echo "remove origin file : $target"
137 if [ -d $IBCDATA_DIR ]
139 echo "remove ibc data and directory"