|
5 | 5 | <TargetFrameworks>$(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-Browser</TargetFrameworks>
|
6 | 6 | <Nullable>enable</Nullable>
|
7 | 7 | </PropertyGroup>
|
| 8 | + <PropertyGroup Condition="'$(TargetsBrowser)' == 'true'"> |
| 9 | + <DefineConstants>$(DefineConstants);TARGET_BROWSER</DefineConstants> |
| 10 | + </PropertyGroup> |
8 | 11 | <ItemGroup>
|
9 | 12 | <!-- System.IO.Enumeration.FileSystemEntry is not correctly parsed by CsharpAnalyser so we are skipping this type from autogenerated typeforwards file. -->
|
10 | 13 | <GenFacadesIgnoreMissingType Include="System.IO.Enumeration.FileSystemEntry" />
|
|
177 | 180 | Link="Interop\Unix\Interop.Errors.cs" />
|
178 | 181 | <Compile Include="$(CommonPath)Interop\Unix\Interop.IOErrors.cs"
|
179 | 182 | Link="Interop\Unix\Interop.IOErrors.cs" />
|
180 |
| - <Compile Include="$(CommonPath)Interop\Unix\System.Native\Interop.GetEUid.cs" |
181 |
| - Link="Common\Interop\Unix\Interop.GetEUid.cs" /> |
182 | 183 | <Compile Include="$(CommonPath)Interop\Unix\System.Native\Interop.MountPoints.cs"
|
183 | 184 | Link="Common\Interop\Unix\Interop.MountPoints.cs" />
|
184 | 185 | <Compile Include="$(CommonPath)Interop\Unix\System.Native\Interop.Permissions.cs"
|
|
203 | 204 | Link="Common\Interop\Unix\Interop.ChMod.cs" />
|
204 | 205 | <Compile Include="$(CommonPath)Interop\Unix\System.Native\Interop.CopyFile.cs"
|
205 | 206 | Link="Common\Interop\Unix\Interop.CopyFile.cs" />
|
206 |
| - <Compile Include="$(CommonPath)Interop\Unix\System.Native\Interop.GetEGid.cs" |
207 |
| - Link="Common\Interop\Unix\Interop.GetEGid.cs" /> |
208 | 207 | <Compile Include="$(CommonPath)Interop\Unix\System.Native\Interop.LChflags.cs"
|
209 | 208 | Link="Common\Interop\Unix\Interop.LChflags.cs" />
|
210 | 209 | <Compile Include="$(CommonPath)Interop\Unix\System.Native\Interop.Link.cs"
|
|
228 | 227 | <Compile Include="System\IO\FileSystem.Unix.cs" />
|
229 | 228 | <Compile Include="System\IO\FileSystemInfo.Unix.cs" />
|
230 | 229 | </ItemGroup>
|
| 230 | + <ItemGroup Condition="'$(TargetsUnix)' == 'true'"> |
| 231 | + <Compile Include="$(CommonPath)Interop\Unix\System.Native\Interop.GetEUid.cs" |
| 232 | + Link="Common\Interop\Unix\Interop.GetEUid.cs" /> |
| 233 | + <Compile Include="$(CommonPath)Interop\Unix\System.Native\Interop.GetEGid.cs" |
| 234 | + Link="Common\Interop\Unix\Interop.GetEGid.cs" /> |
| 235 | + </ItemGroup> |
231 | 236 | <!-- Unix references -->
|
232 | 237 | <ItemGroup Condition="'$(TargetsUnix)' == 'true' or '$(TargetsBrowser)' == 'true'">
|
233 | 238 | <Reference Include="System.Threading" />
|
|
0 commit comments