Lines Matching full:ldflags
32 def replace_flags(bench, android_type, file_type, cflags, ldflags): argument
37 if ldflags:
38 ldflags = '\", \"'.join(ldflags.split())
44 if not ldflags:
45 ldflags = ''
47 ldflags = '\"' + ldflags + '\",'
60 line = line.replace('LDFLAGS_FOR_BENCH_SUITE', ldflags)
78 def replace_flags_in_dir(bench, cflags, ldflags): argument
84 if not ldflags:
85 ldflags = ''
91 line = line.replace('$(LDFLAGS_FOR_BENCH_SUITE)', ldflags)
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)