diff options
author | Ludovic Henry <luhenry@microsoft.com> | 2018-10-16 21:00:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 21:00:12 +0300 |
commit | 2a4cfddd9a780b0061336f561d0eeb7afabd5ff5 (patch) | |
tree | 13cefe983e59d9ef9435c9c341743c0bbafa1e6e /mcs/class/System.Drawing | |
parent | 36edb2f275502650defcb82d854aad0c2b617359 (diff) |
[sdks] Build tests for BCL targets (#11141)
* [sdks] Build BCL profiles without configure flags
* [sdks] Add BclTemplate to build BCL profiles
This is to avoid building all the profiles in a single `sdks/out/bcl` directory which will be shared between android, ios and wasm.
* [sdks] Simplify call to BclTemplate
* [mcs] Make directory dependency as order-only
We would otherwise always rebuild the target since the directory is updated whenever something is added to the directory. This is a common Makefile technique.
* [sdks] Build tests for BCL targets
Diffstat (limited to 'mcs/class/System.Drawing')
-rw-r--r-- | mcs/class/System.Drawing/Makefile | 6 | ||||
-rw-r--r-- | mcs/class/System.Drawing/wasm_System.Drawing_test.dll.exclude.sources | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/mcs/class/System.Drawing/Makefile b/mcs/class/System.Drawing/Makefile index 60f7a35de55..61478a9edb1 100644 --- a/mcs/class/System.Drawing/Makefile +++ b/mcs/class/System.Drawing/Makefile @@ -17,7 +17,11 @@ ifndef MOBILE_PROFILE LIB_MCS_FLAGS += -d:FEATURE_TYPECONVERTER,SUPPORTS_WINDOWS_COLORS endif -TEST_LIB_REFS = System.Drawing System.Runtime.Serialization.Formatters.Soap System.Xml +TEST_LIB_REFS = System.Drawing System.Xml + +ifneq ($(PROFILE),wasm) +TEST_LIB_REFS += System.Runtime.Serialization.Formatters.Soap +endif TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -define:TEST -resource:Test/resources/indexed.png,indexed.png \ -nowarn:0618 -nowarn:219 -nowarn:169 diff --git a/mcs/class/System.Drawing/wasm_System.Drawing_test.dll.exclude.sources b/mcs/class/System.Drawing/wasm_System.Drawing_test.dll.exclude.sources new file mode 100644 index 00000000000..d3c037e0788 --- /dev/null +++ b/mcs/class/System.Drawing/wasm_System.Drawing_test.dll.exclude.sources @@ -0,0 +1,7 @@ +System.Drawing/GDIPlusTest.cs +System.Drawing/TestBitmap.cs +System.Drawing/TestGraphics.cs +System.Drawing/TestIcon.cs +System.Drawing/TestIconConverter.cs +System.Drawing/TestImage.cs +System.Drawing/TestImageConverter.cs |