Lines Matching refs:label
117 def get_build_gn(label): argument
118 match = re.search(r"(.*?):(.*?)", label)
126 raise Exception("failed to get BUILD.gn of {}".format(label))
138 def expand_platform_targets(options, label, install_dir): argument
143 if label.find('${base}') != -1:
144 return [label.replace('${base}', base)], [install_dir]
145 elif label.find('${platforms}') != -1:
146 return [label.replace('${platforms}', p) for p in platforms], [
151 elif label.find('${variant}') != -1:
152 return [label.replace('${variant}', c) for c in variant], [
157 return [label], [install_dir]
174 label = d.get('module_label')
180 get_build_gn(label), current_base=options.source_root_dir)
185 build_only_targets.append(label)
189 options, label, install_dir)