diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-12-02 01:02:59 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-12-07 15:53:02 +0100 |
commit | 9f43fb06b1a491029803e35742d1f2a4d46ffd6d (patch) | |
tree | 3f19fd7d9d763cb2861c73451cc2092e48fc02ac /solenv | |
parent | 30c7a07e5ee9c8f35d0aad8bdfd34cd2aa7f6c6d (diff) |
move platform hacks out of gbuild core
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/Module.mk | 2 | ||||
-rw-r--r-- | solenv/gbuild/extensions/post_DisableIosUnitchecks.mk | 34 |
2 files changed, 34 insertions, 2 deletions
diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk index 55cab3b97d2b..b410cfabbe3b 100644 --- a/solenv/gbuild/Module.mk +++ b/solenv/gbuild/Module.mk @@ -211,12 +211,10 @@ endef # why shouldn't it be. define gb_Module_add_check_target -$(if $(filter-out IOS,$(OS)),\ $(call gb_Module__read_targetfile,$(1),$(2),check target) $(call gb_Module_get_check_target,$(1)) : $$(gb_Module_CURRENTTARGET) $(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET) -) endef diff --git a/solenv/gbuild/extensions/post_DisableIosUnitchecks.mk b/solenv/gbuild/extensions/post_DisableIosUnitchecks.mk new file mode 100644 index 000000000000..01914a19342d --- /dev/null +++ b/solenv/gbuild/extensions/post_DisableIosUnitchecks.mk @@ -0,0 +1,34 @@ +# -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# [ Copyright (C) 2011 Bjoern Michaelsen <bjoern.michaelsen@canonical.com> (initial developer) ] +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +# disable check target on IOS +ifeq ($(OS),IOS) +gb_Module_add_check_target= +endif + + +# vim:set shiftwidth=4 softtabstop=4 noexpandtab: |