Dan Albert | 0f81d76 | 2014-07-18 14:15:56 -0700 | [diff] [blame] | 1 | import os |
| 2 | |
Dan Albert | 4ba8d41 | 2014-11-22 12:37:28 -0800 | [diff] [blame] | 3 | config.configuration_variant = 'Android' |
Dan Albert | 0f81d76 | 2014-07-18 14:15:56 -0700 | [diff] [blame] | 4 | config.android_root = os.getenv('ANDROID_BUILD_TOP') |
Dan Albert | 0f81d76 | 2014-07-18 14:15:56 -0700 | [diff] [blame] | 5 | config.libcxx_src_root = os.path.join(config.android_root, 'external/libcxx') |
| 6 | config.libcxx_obj_root = os.getenv('ANDROID_PRODUCT_OUT') |
| 7 | config.python_executable = '/usr/bin/python' |
| 8 | |
Dan Albert | 48dfa09 | 2014-10-10 17:20:51 -0700 | [diff] [blame] | 9 | config.timeout = '300' |
| 10 | |
Dan Albert | 0f81d76 | 2014-07-18 14:15:56 -0700 | [diff] [blame] | 11 | # Let the main config do the real work. |
| 12 | lit_config.load_config( |
| 13 | config, os.path.join(config.libcxx_src_root, 'test/lit.cfg')) |