21 Commits
Author SHA1 Message Date
Viktor Hofer a6f4539535 Make Is*Project properties unambiguous and improve IsGeneratorProject detection (#65896)
* Make Is*Project properties unambiguous

Currently these properties exist which categorize projects:
- IsReferenceAssembly: The project's parent directory is 'ref'
- IsGeneratorProject: The project's parent directory is 'gen'
- IsTestProject: The project is located somewhere under a '/tests/'
                 directory and the project name's suffix is either
                 '.Tests' or '.UnitTests'.
- IsTrimmingTestProject: Same as IsTestProject but the project name's
                         suffix is '.TrimmingTests'.
- IsTestSupportProject: The project is located somewhere under a
                        '/tests/' directory and the above IsTestProject
                        property is false.
- UsingMicrosoftNoTargetsSdk: The project uses the NoTargets msbuild SDK
- UsingMicrosoftTraversalSdk: The project uses the Traversal msbuild SDK
- IsRuntimeAssembly: True when all above is false
- IsSourceProject: True when the project's parent directory is 'src'

The IsRuntimeAssembly and IsSourceProject properties meanings are
ambiguous and the property names aren't consistent (IsReferenceAssembly
vs IsGeneratorProject).

I'm changing the above to the following:
- **IsReferenceSourceProject: The project's parent directory is 'ref'
                        or the parent of the parent directory is 'ref'**
- IsGeneratorProject: The project's parent directory is 'gen'
- IsTestProject: The project is located somewhere under a '/tests/'
                 directory and the project name's suffix is either
                 '.Tests' or '.UnitTests'.
- IsTrimmingTestProject: Same as IsTestProject but the project name's
                         suffix is '.TrimmingTests'.
- IsTestSupportProject: The project is located somewhere under a
                        '/tests/' directory and the above IsTestProject
                        **and IsTrimmingTestProject** props are false.
- UsingMicrosoftNoTargetsSdk: The project uses the NoTargets msbuild SDK
- UsingMicrosoftTraversalSdk: The project uses the Traversal msbuild SDK
- IsSourceProject: **True when all above is false.**

* React to PR feedback
2022-02-28 21:13:22 +01:00
Anirudh Agnihotry b37f10a504 Changing Windows_NT -> Windows for enabling TargetPlatformMoniker feature of the sdk for platform specific tfms. (#43651)
* eng change

* coreclr change

* libraries change

* tests change

* installer & mono change

* py files changed

* .md change

* .yml change

* remove redundant targetos property

* Windows_NT -> windows after ninja change

* fixing runtime build failure
2020-11-02 14:25:58 -08:00
Jeremy Koritzinsky 801ebec702 Revert "Try re-enabling IBC on macOS. (#39801)" (#43839)
This reverts commit 3a4298cf15.
2020-10-26 15:49:49 -07:00
Jeremy Koritzinsky 3a4298cf15 Try re-enabling IBC on macOS. (#39801) 2020-07-22 18:09:46 -07:00
Alexander KöplingerandZoltan Varga ba453bd90c Set TargetsMobile=true on Browser TargetOS and build the wasm runtimes earlier during the libs build (#36337)
* Set TargetsMobile=true on Browser TargetOS

* Build the wasm runtimes earlier during the libs build so they end up in lib-runtime-packs.

* Add emsdk_env.sh into .gitignore

Co-authored-by: Zoltan Varga <[email protected]>
2020-05-13 18:39:17 +02:00
Zoltan Varga 4034228a3d Add build configuration to generate runtime packs for WebAssem… (#34936) 2020-04-24 09:35:54 +02:00
Mitchell HwangandMitchell Hwang 5179706b74 Mdhwang/reduce mobile checks (#35105)
* [eng] Add TargetsMobile Property to Subsets.props

* Replace TargetOS mobile conditions with TargetsMobile Property

* [libraries] Remove leftover condition`

Co-authored-by: Mitchell Hwang <[email protected]>
2020-04-22 17:00:47 -04:00
Jo Shields 952eecabbd Initial addition of tvOS Mono (#34475) 2020-04-08 02:00:28 +02:00
Alexander Köplinger 05954773b6 Add Android build configurations for Mono/Libraries (#33881)
* Add Android build configurations

* Enable System.Globalization.Native on Android

Dynamically load the libicu from the system. Android NDK doesn't ship with icu headers so for now define prototypes for all the functions we use ourselves.

* Add temporary stub HashProvider that throws NIE on Android

We still need to hook up the native System.Security.Native library.

Unblocks Xamarin.Forms startup.
2020-03-24 23:39:42 +01:00
Jo Shields 65a1d2c312 Add AzDO builds for iOS (#33424)
This is based on #33292
2020-03-18 00:19:56 +01:00
Jeremy Koritzinsky 31a65f0fba Disable IBCMerge on OSX builds (#33393)
* Disable System.Private.CoreLib IBCMerge on MacOS.

* Disable IBCMerge on mac across the board.

* Update comment to include link to issue.
2020-03-09 15:37:24 -07:00
Anirudh AgnihotryandViktor Hofer fef9ca70f6 Replacing OSGroup with TargetOS for coreclr, libraries and installer (#32833)
* Remove OSGroup from coreclr and corefx

* remove from installer

* fixing coreclr tests

* Some documentation changes

Co-Authored-By: Viktor Hofer <[email protected]>

* moving buildos calculation to config.props

* BuildOS -> TargetOS

* remove osgroup suffix

* removing comment and correcting typo

* dotnet msbuild -> dotnet build at relevant places in docs

* moving more properties to configuration.props

* refactoring properties

* moving TargetArchitecture property to loveBuildd.Targets

* adding configuration.props to signing

* Fix installer build

* BuildOS -> Target os and removing slash

Co-authored-by: Viktor Hofer <[email protected]>
2020-03-05 07:51:06 -08:00
Jeremy Koritzinsky 0843a5d5de Use Arcade-provided IBCMerge support for System.Private.CoreLib. (#2308)
* Use Arcade-provided IBCMerge support.

* Clean up build.sh as well.

* Restore internal tools on Windows and Unix instead of just Windows.

* Remove unused item metadata.
2020-01-29 14:49:13 -08:00
Santiago Fernandez Madero 50d8a5f65d Cleanup MSBuild conditional operators to be all in lowercase (dotnet/corefx#42491)
Commit migrated from https://github.com/dotnet/corefx/commit/ab01852685e659a685af2ace33af5b3cefdf8430
2019-11-08 14:43:17 -08:00
Viktor Hofer 926874e00a Use Package suffix instead of PackageId and Version suffix instead of PackageVersion (dotnet/corefx#42289)
* Use Package suffix instead of PackageId

* Manual darc update from build '20191101.2'


Commit migrated from https://github.com/dotnet/corefx/commit/931f79e4670cb73c9347e14714fd892907be6630
2019-11-01 18:27:23 +01:00
Michal Strehovský 80f2bcbab2 Run IBCMerge on Linux build (dotnet/corefx#36924)
This reverts commit dotnet/corefx@8e843314e1.

Commit migrated from https://github.com/dotnet/corefx/commit/f9f88bd7fd774ce433a764b6d388517c6460164a
2019-04-17 06:47:15 +02:00
Michal Strehovský 8ac96128d8 Revert "Run IBCMerge on Linux build (dotnet/corefx#36763)" (dotnet/corefx#36791)
This reverts commit dotnet/corefx@ef2ee1291e.

Commit migrated from https://github.com/dotnet/corefx/commit/8e843314e1dbd3b3f26abb1f285349be8920cce4
2019-04-11 11:42:00 -04:00
Michal Strehovský 092ef1586a Run IBCMerge on Linux build (dotnet/corefx#36763)
* Restores IBC data for both Linux and Windows on all platforms
* Chooses the right IBC data based on the target OS
* When target OS isn't anything specific (like, e.g. System.Linq and other assemblies that are not OS specific), embeds Windows IBC data

Commit migrated from https://github.com/dotnet/corefx/commit/ef2ee1291ea6140cb462ead8b4cc86a762b58f64
2019-04-11 14:08:14 +02:00
Michal Strehovský dc7df25f3a Fix IBC data embedding (dotnet/corefx#36450)
An arcade change broke IBC data embedding and we were not doing it.

This fixes that issue and also bumps embedded IBC from being `partial` to `full`.

Commit migrated from https://github.com/dotnet/corefx/commit/719eee95faa5d638bf9959f263b428dc69a2f234
2019-03-28 21:26:07 +01:00
Viktor Hofer f8a8530d0f Project msbuild syntax cleanup (dotnet/corefx#35686)
* Remove license header from non-shipping files

* Remove obsolete Project attributes

* Remove xml header and remove DefaultTargets


Commit migrated from https://github.com/dotnet/corefx/commit/c390ce7df50252e11f5d322276e9d19e046d1332
2019-03-03 18:55:25 +01:00
Eric St. John e11a3e6a01 Restore IBC data and embed during Windows release builds
See the following docs.
https://github.com/dotnet/arcade/blob/dotnet/corefx@bac85242024ba867b6204b90c1522793093f5e31/Documentation/ArcadeSdk.md#ibc-optimization-data-embedding

We are using IBC data produced by our perf team and embedding into all builds of a DLL;
currently we don't distinguish cross-compiles of the same DLL, nor does arcade define any
conventions to do so.  I've disabled it for references and not-supported assemblies.


Commit migrated from https://github.com/dotnet/corefx/commit/96661fad0e63a7869539fa0981c8b8be2f3824d3
2019-02-21 13:08:34 -08:00