Lines Matching refs:config
28 build_top = getattr(config, 'build_top', None)
30 lit.load_config(config, os.path.join(os.getenv('ANDROID_BUILD_TOP',
33 build_top = config.build_top
36 default_sdk_dir = os.path.join(config.base_build_path, 'sdk', 'android-sdk_' \
44 config.name = 'target_renderscript_debug'
45 config.suffixes = ['.rs']
46 config.target_triple = 'target-bcc'
50 config.test_exec_root = os.path.join(config.build_top, 'out', 'debug',
53 config.test_exec_root = os.path.join(config.build_top, 'out', 'target',
59 config.sdk_dir = lit.params.get('android_sdk', default_sdk_dir)
60 if not os.path.isdir(config.sdk_dir):
61 lit.fatal("Android SDK directory " + config.sdk_dir + " does " \
65 config.sdk_version = lit.params.get('sdk_version', default_sdk_version)
66 config.minimum_sdk = lit.params.get('minimum_sdk', default_minimum_sdk)
73 config.environment['ANDROID_PRODUCT_OUT'] = os.getenv('ANDROID_PRODUCT_OUT')
74 config.environment['ANDROID_BUILD_TOP'] = os.getenv('ANDROID_BUILD_TOP')
76 config.environment['DEBUGGER'] = config.gdb
77 config.environment['DEBUGGER_ARGS'] = "-d " + config.gdb_plugin_directory + ' '
80 lit.note('using Android SDK: %r' % config.sdk_dir)
81 lit.note('using Android SDK Version: %r' % config.sdk_version)
82 lit.note('using test apk builder: %r' % config.build_test_apk)
83 lit.note('using GDB plugin directory: %r' % config.gdb_plugin_directory)
86 config.substitutions.append( ('%build_test_apk_opts', ' --sdk ' + config.sdk_dir \
87 + ' --target ' + config.sdk_version \
88 + ' --minsdk ' + config.minimum_sdk))
89 config.substitutions.append( ('%build_test_apk', ' ' + config.sh \
90 + ' ' + config.build_test_apk + ' '))