Ejemplo n.º 1
0
def build_file_aliases():
  return BuildFileAliases(
    targets={
      GoBinary.alias(): TargetMacro.Factory.wrap(GoBinary.create, GoBinary),
      GoLibrary.alias(): TargetMacro.Factory.wrap(GoLibrary.create, GoLibrary),
      'go_remote_libraries': TargetMacro.Factory.wrap(GoRemoteLibrary.from_packages,
                                                      GoRemoteLibrary),
      'go_remote_library': TargetMacro.Factory.wrap(GoRemoteLibrary.from_package, GoRemoteLibrary),
    }
  )
Ejemplo n.º 2
0
def build_file_aliases():
  return BuildFileAliases(
    targets={
      GoBinary.alias(): TargetMacro.Factory.wrap(GoBinary.create, GoBinary),
      GoLibrary.alias(): TargetMacro.Factory.wrap(GoLibrary.create, GoLibrary),
      'go_remote_libraries': TargetMacro.Factory.wrap(GoRemoteLibrary.from_packages,
                                                      GoRemoteLibrary),
      'go_remote_library': TargetMacro.Factory.wrap(GoRemoteLibrary.from_package, GoRemoteLibrary),
    }
  )
Ejemplo n.º 3
0
def build_file_aliases():
    return BuildFileAliases(
        targets={
            GoBinary.alias(): TargetMacro.Factory.wrap(GoBinary.create, GoBinary),
            GoLibrary.alias(): TargetMacro.Factory.wrap(GoLibrary.create, GoLibrary),
            GoProtobufLibrary.alias(): GoProtobufLibrary,
            GoThriftLibrary.alias(): GoThriftLibrary,
            "go_remote_libraries": TargetMacro.Factory.wrap(
                GoRemoteLibrary.from_packages, GoRemoteLibrary
            ),
            "go_remote_library": TargetMacro.Factory.wrap(
                GoRemoteLibrary.from_package, GoRemoteLibrary
            ),
        }
    )