diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-29 13:27:12 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-29 13:27:12 +0200 |
commit | 927868e8b93f508fe89ee82f618f4a1761366f70 (patch) | |
tree | e8475909f5620c438e1018689b74da7582e58bb6 /moz.configure | |
parent | fbeee7692b740c1020ba115f497c4325c3ff8f61 (diff) | |
download | uxp-927868e8b93f508fe89ee82f618f4a1761366f70.tar.gz |
Move --enable-tests out of Python configure and flip the default.
Diffstat (limited to 'moz.configure')
-rw-r--r-- | moz.configure | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/moz.configure b/moz.configure index cecc1335e6..64cdc8ac6e 100644 --- a/moz.configure +++ b/moz.configure @@ -52,38 +52,6 @@ def compile_environment(compile_env): set_config('COMPILE_ENVIRONMENT', compile_environment) add_old_configure_assignment('COMPILE_ENVIRONMENT', compile_environment) -js_option('--disable-tests', - help='Do not build test libraries & programs') - -@depends('--disable-tests') -def enable_tests(value): - if value: - return True - -set_config('ENABLE_TESTS', enable_tests) -set_define('ENABLE_TESTS', enable_tests) - -@depends(enable_tests) -def gtest_has_rtti(value): - if value: - return '0' - -set_define('GTEST_HAS_RTTI', gtest_has_rtti) - -@depends(target, enable_tests) -def linux_gtest_defines(target, enable_tests): - if enable_tests and target.os == 'Android': - return namespace(os_linux_android=True, - use_own_tr1_tuple=True, - has_clone='0') - -set_define('GTEST_OS_LINUX_ANDROID', - delayed_getattr(linux_gtest_defines, 'os_linux_android')) -set_define('GTEST_USE_OWN_TR1_TUPLE', - delayed_getattr(linux_gtest_defines, 'use_own_tr1_tuple')) -set_define('GTEST_HAS_CLONE', - delayed_getattr(linux_gtest_defines, 'has_clone')) - js_option('--enable-debug', nargs='?', help='Enable building with developer debug info ' |