You've already forked linux-packaging-mono
Imported Upstream version 5.20.0.180
Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
parent
0e2d47d1c8
commit
0510252385
@@ -17,9 +17,13 @@ XTEST_LIB_REFS = System System.Core System.Xml System.Xml.Linq Facades/System.Th
|
||||
|
||||
ifneq ($(PROFILE),monodroid)
|
||||
ifneq ($(PROFILE),monotouch)
|
||||
ifneq ($(PROFILE),monotouch_tv)
|
||||
ifneq ($(PROFILE),monotouch_watch)
|
||||
XTEST_LIB_REFS += System.Drawing
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (2.1, $(FRAMEWORK_VERSION))
|
||||
LIB_REFS += System.Data System.Configuration SMDiagnostics
|
||||
@@ -33,15 +37,27 @@ LIB_MCS_FLAGS += /d:NO_CONFIGURATION
|
||||
endif
|
||||
|
||||
TEST_RESOURCE_FILES = \
|
||||
Test/Resources/WSDL/collections.wsdl \
|
||||
Test/Resources/WSDL/custom-collections.wsdl
|
||||
$(wildcard Test/Resources/FrameworkTypes/*.xml) \
|
||||
$(wildcard Test/Resources/Schemas/*.xsd) \
|
||||
Test/Resources/WSDL/collections.wsdl \
|
||||
Test/Resources/WSDL/custom-collections.wsdl \
|
||||
Test/Resources/one.xml
|
||||
|
||||
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) $(TEST_RESOURCE_FILES:%=/resource:%)
|
||||
# we need to write the test resource args into a response file to avoid
|
||||
# hitting "argument list too long" errors because of too many files
|
||||
TEST_RESOURCES_RESPONSE_FILE = $(depsdir)/$(LIBRARY)_test.resources.response
|
||||
|
||||
$(TEST_RESOURCES_RESPONSE_FILE): $(TEST_RESOURCE_FILES)
|
||||
@echo Creating $@ ...
|
||||
@echo $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r)) > $(TEST_RESOURCES_RESPONSE_FILE)
|
||||
|
||||
test-local: $(TEST_RESOURCES_RESPONSE_FILE)
|
||||
|
||||
CLEAN_FILES += $(TEST_RESOURCES_RESPONSE_FILE)
|
||||
|
||||
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) @$(TEST_RESOURCES_RESPONSE_FILE)
|
||||
TEST_LIB_REFS = System.ServiceModel System.Web.Services
|
||||
|
||||
EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_RESOURCE_FILES) \
|
||||
Test/Resources/FrameworkTypes/* \
|
||||
Test/Resources/Schemas/*.xsd \
|
||||
Test/System.Runtime.Serialization/one.xml
|
||||
EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_RESOURCE_FILES)
|
||||
|
||||
include ../../build/library.make
|
||||
|
||||
Reference in New Issue
Block a user