Lines Matching refs:cflags
33 def replace_flags(bench, android_type, file_type, cflags, ldflags): argument
36 if cflags:
37 cflags = '\", \"'.join(cflags.split())
41 if not cflags:
42 cflags = ''
44 cflags = '\"' + cflags + '\",'
60 line = line.replace('CFLAGS_FOR_BENCH_SUITE', cflags)
79 def replace_flags_in_dir(bench, cflags, ldflags): argument
83 if not cflags:
84 cflags = ''
91 line = line.replace('$(CFLAGS_FOR_BENCH_SUITE)', cflags)
98 def add_flags_Panorama(cflags, ldflags): argument
100 replace_flags_in_dir('Panorama', cflags, ldflags)
103 def add_flags_Synthmark(cflags, ldflags): argument
105 replace_flags_in_dir('Synthmark', cflags, ldflags)
108 def add_flags_Skia(cflags, ldflags): argument
110 replace_flags('Skia', config.android_type, 'bp', cflags, ldflags)
114 def add_flags_Binder(cflags, ldflags): argument
116 replace_flags('Binder', config.android_type, 'bp', cflags, ldflags)
120 def add_flags_Hwui(cflags, ldflags): argument
122 replace_flags('Hwui', config.android_type, 'bp', cflags, ldflags)
126 def add_flags_Dex2oat(cflags, ldflags): argument
128 replace_flags('Dex2oat', config.android_type, 'bp', cflags, ldflags)