Lines Matching refs:ldflags
33 def replace_flags(bench, android_type, file_type, cflags, ldflags): argument
38 if ldflags:
39 ldflags = '\", \"'.join(ldflags.split())
45 if not ldflags:
46 ldflags = ''
48 ldflags = '\"' + ldflags + '\",'
61 line = line.replace('LDFLAGS_FOR_BENCH_SUITE', ldflags)
79 def replace_flags_in_dir(bench, cflags, ldflags): argument
85 if not ldflags:
86 ldflags = ''
92 line = line.replace('$(LDFLAGS_FOR_BENCH_SUITE)', ldflags)
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)