blob: e2d98137de316ca9f7c2dc9975c0674d91049c6c [file] [log] [blame]
import os
android_root = os.getenv('ANDROID_BUILD_TOP')
config.cxx_under_test = os.path.join(
android_root, 'prebuilts/clang/linux-x86/host/3.5/bin/clang++')
config.cxx_has_stdcxx0x_flag = True
config.libcxx_src_root = os.path.join(android_root, 'external/libcxx')
config.libcxx_obj_root = os.getenv('ANDROID_HOST_OUT')
config.python_executable = "/usr/bin/python"
config.enable_shared = True
config.cxx_abi = "none"
# Let the main config do the real work.
lit_config.load_config(
config, os.path.join(config.libcxx_src_root, 'test/lit.cfg'))