Lines Matching refs:format
122 etc_pattern = '{}*'.format(os.path.splitext(etc_module)[0])
160 logging.info('Generating Android.bp for snapshot v{}'.format(
179 logging.info('Successfully generated {}'.format(self._root_bpfile))
184 logging.info('Generating common/Android.bp for snapshot v{}'.format(
207 binder32_suffix = '_{}'.format(
209 logging.info('Generating Android.bp for vndk_v{}_{}{}'.format(
274 logging.info('Successfully generated {}'.format(bpfile_path))
285 '{0}{0} DO NOT EDIT\n'.format(comment_char))
312 versioned_name = '{}.{}{}'.format(name, self._vndk_version, ext)
319 binder_suffix = '.{}'.format(utils.BINDER32) if is_binder32 else ''
320 versioned_name = '{}.vndk.{}.{}{}.vendor'.format(
336 '{ind}target: {{\n'.format(
343 '{ind}{ind}}},\n'.format(
348 '}}\n'.format(ind=self.INDENT))
368 shared_libs_prop = ('{ind}shared_libs: [\n'.format(ind=self.INDENT))
370 shared_libs_prop += ('{ind}{ind}"{lib}",\n'.format(
372 shared_libs_prop += ('{ind}],\n'.format(ind=self.INDENT))
384 '{ind}target: {{\n'.format(
391 if len(dirs) < 3 or not dirs[1].startswith('arch-{}-'.format(dirs[0])):
395 '{ind}{ind}}},\n'.format(
398 '}}\n'.format(ind=self.INDENT))
410 '}}\n'.format(
422 return 'vndk-v{ver}-{module}-notice'.format(
483 notice = '{ind}notice: ":{notice_filegroup}",\n'.format(
514 arch_props = '{ind}arch: {{\n'.format(ind=self.INDENT)
519 dirs=',\n{ind}{ind}{ind}{ind}'.format(
523 '{ind}{ind}{ind}],\n'.format(
553 'relative_install_path: "{path}",\n').format(
563 '{ind}{ind}}},\n').format(
572 arch_props += '{ind}}},\n'.format(ind=self.INDENT)
585 logging.info('No srcs found for {}; skipping'.format(prebuilt))
596 product_available = '{ind}product_available: true,\n'.format(
603 vndk_sp = '{ind}{ind}support_system_process: true,\n'.format(
608 vndk_private = '{ind}{ind}private: true,\n'.format(
615 '{ind}}},\n'.format(
626 binder32bit = '{ind}binder32bit: true,\n'.format(ind=self.INDENT)
638 '}}\n'.format(
655 help='VNDK snapshot version to install, e.g. "{}".'.format(
678 install_dir = os.path.join(PREBUILTS_VNDK_DIR, 'v{}'.format(vndk_version))
682 .format(install_dir))