Lines Matching full:cflags
32 def replace_flags(bench, android_type, file_type, cflags, ldflags): argument
35 if cflags:
36 cflags = '\", \"'.join(cflags.split())
40 if not cflags:
41 cflags = ''
43 cflags = '\"' + cflags + '\",'
55 # Replace CFLAGS_FOR_BENCH_SUITE marker with proper cflags
59 line = line.replace('CFLAGS_FOR_BENCH_SUITE', cflags)
78 def replace_flags_in_dir(bench, cflags, ldflags): argument
82 if not cflags:
83 cflags = ''
90 line = line.replace('$(CFLAGS_FOR_BENCH_SUITE)', cflags)
97 def add_flags_Panorama(cflags, ldflags): argument
99 replace_flags_in_dir('Panorama', cflags, ldflags)
102 def add_flags_Synthmark(cflags, ldflags): argument
104 replace_flags_in_dir('Synthmark', cflags, ldflags)
107 def add_flags_Skia(cflags, ldflags): argument
109 replace_flags('Skia', config.android_type, 'bp', cflags, ldflags)
113 def add_flags_Binder(cflags, ldflags): argument
115 replace_flags('Binder', config.android_type, 'bp', cflags, ldflags)
119 def add_flags_Hwui(cflags, ldflags): argument
121 replace_flags('Hwui', config.android_type, 'bp', cflags, ldflags)
125 def add_flags_Dex2oat(cflags, ldflags): argument
127 replace_flags('Dex2oat', config.android_type, 'bp', cflags, ldflags)