code: def get_extra_build_file_content(html):
      result = [
          'load("@io_bazel_rules_closure//closure:defs.bzl", "web_library")',
          "",
          "web_library(",
          '    name = "%s",' % FLAGS.repo,
          '    path = "%s",' % os.path.dirname(FLAGS.path),
          "    srcs = [",
          '        "%s",' % os.path.basename(FLAGS.path),
          '        ":files",',
          "    ],",
          ")",
          "",
          "genrule(",
          '    name = "html",',
          '    outs = ["%s"],' % os.path.basename(FLAGS.path),
          '    cmd = "\\n".join([',
          "        \"cat <<'EOF' >$@\",",
      ]
      add_inline_file(result, html)
      result.append('        "EOF",')
      result.append("    ]),")
      result.append(")")
      return result
  
file_path: tensorboard/tensorboard/tools/import_google_fonts.py
imports: import hashlib
  import httplib
  import os
  import re
  import sys
  import urlparse
  from absl import app
  from absl import flags
label_desc: Use image node_id 8 for calling a global function with example usage: get_extra_build_file_content(html) and returns: result