1*9880d681SAndroid Build Coastguard Worker# -*- Python -*- 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker# Site specific configuration file. 4*9880d681SAndroid Build Coastguard Worker# 5*9880d681SAndroid Build Coastguard Worker# Typically this will be generated by the build system to automatically set 6*9880d681SAndroid Build Coastguard Worker# certain configuration variables which cannot be autodetected, so that 'lit' 7*9880d681SAndroid Build Coastguard Worker# can easily be used on the command line. 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Workerimport os 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Worker# Preserve the obj_root, for use by the main lit.cfg. 12*9880d681SAndroid Build Coastguard Workerconfig.example_obj_root = os.path.dirname(__file__) 13*9880d681SAndroid Build Coastguard Worker 14*9880d681SAndroid Build Coastguard Workerlit.load_config(config, os.path.join(config.test_source_root, 15*9880d681SAndroid Build Coastguard Worker 'lit.cfg')) 16