diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-09-15 17:28:50 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2014-09-15 17:38:55 +0200 |
commit | 72400181a0c8ee3d193e5b03ed6287d40d57084b (patch) | |
tree | fc7653792962a09384e268708b5ffa62b45ff115 /odk | |
parent | 16fd7841ef3f781aa231298e83176ef7db037d3f (diff) |
build ODK headers check without LIBO_INTERNAL_ONLY
Change-Id: Ia8bca09a877bed6070c10e1c008bdb05ac088485
Diffstat (limited to 'odk')
-rw-r--r-- | odk/CppunitTest_odk_checkapi.mk | 6 | ||||
-rw-r--r-- | odk/qa/checkapi/checkapi.cxx | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/odk/CppunitTest_odk_checkapi.mk b/odk/CppunitTest_odk_checkapi.mk index 492fb6593898..dd0b36b5c24e 100644 --- a/odk/CppunitTest_odk_checkapi.mk +++ b/odk/CppunitTest_odk_checkapi.mk @@ -23,6 +23,12 @@ $(eval $(call gb_CppunitTest_use_internal_comprehensive_api,odk_checkapi,\ udkapi \ )) +$(eval $(call gb_CppunitTest_disable_compiler_plugins,odk_checkapi)) + +$(eval $(call gb_CppunitTest_add_cxxflags,odk_checkapi,\ + $(gb_CXXFLAGS_Wundef) \ +)) + $(eval $(call gb_CppunitTest_use_libraries,odk_checkapi,\ cppu \ cppuhelper \ diff --git a/odk/qa/checkapi/checkapi.cxx b/odk/qa/checkapi/checkapi.cxx index 9cbf66755ddc..96783efb08d0 100644 --- a/odk/qa/checkapi/checkapi.cxx +++ b/odk/qa/checkapi/checkapi.cxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// Acts as if building outside of LO. +#undef LIBO_INTERNAL_ONLY + // The whole purpose of this test is to check that public API headers // build even without RTL_USING (which enables using e.g. rtl::OUString // without to refer to the rtl namespace, which is not wanted |