Advertisement
RobertBerger

grpc.bb

Oct 25th, 2017
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. DESCRIPTION = "The Go language implementation of gRPC. HTTP/2 based RPC including its circular (F#CKING) dependencies"
  2. SECTION = "net"
  3. HOMEPAGE = "https://github.com/grpc/grpc-go"
  4. LICENSE = "BSD-3-Clause & Apache-2.0"
  5. LIC_FILES_CHKSUM = "file://${GO_SRCROOT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
  6.  
  7. #GITHUB_URL_GRPC = "github.com/grpc/grpc-go"
  8. GITHUB_URL_GRPC = "/tmp/yocto-autobuilder/go/grpc-grpc-go;protocol=file"
  9. GITHUB_URL_GENPROTO = "github.com/google/go-genproto"
  10. GITHUB_URL_OAUTH2 = "github.com/golang/oauth2"
  11. GITHUB_URL_CLOUD = "github.com/GoogleCloudPlatform/google-cloud-go"
  12. GITHUB_URL_MOCK = "github.com/golang/mock"
  13. GITHUB_URL_GLOG = "github.com/golang/glog"
  14.  
  15. SRC_URI = "git://${GITHUB_URL_GRPC};name=grpc \
  16. git://${GITHUB_URL_GENPROTO};name=genproto;destsuffix=${GO_SRCROOT}/vendor/google.golang.org/genproto \
  17. git://${GITHUB_URL_OAUTH2};name=oauth2;destsuffix=${GO_SRCROOT}/vendor/golang.org/x/oauth2 \
  18. git://${GITHUB_URL_CLOUD};name=cloud;destsuffix=${GO_SRCROOT}/vendor/cloud.google.com/go \
  19. git://${GITHUB_URL_MOCK};name=mock;destsuffix=${GO_SRCROOT}/vendor/github.com/golang/mock \
  20. git://${GITHUB_URL_GLOG};name=glog;destsuffix=${GO_SRCROOT}/vendor/github.com/golang/glog \
  21. "
  22.  
  23. GO_SRCROOT = "google.golang.org/grpc"
  24.  
  25. #SRCREV_grpc = "5856538706dc3abc44dd5ba1a8bb19a0dfb1ab25"
  26. SRCREV_grpc = "d5cab77a7baf2408f32b13cdf98297300fc4f141"
  27. SRCREV_genproto = "f676e0f3ac6395ff1a529ae59a6670878a8371a6"
  28. SRCREV_oauth2 = "bb50c06baba3d0c76f9d125c0719093e315b5b44"
  29. SRCREV_cloud = "de2581fdb28567746811900f54e0883d907115ce"
  30. SRCREV_mock = "61503c535dc549c7ffc1ff07902345658a0f20a2"
  31. SRCREV_glog = "23def4e6c14b4da8ac2ed8007337bc5eb5007998"
  32.  
  33. inherit golang
  34.  
  35. DEPENDS = "\
  36. golang-goprotobuf \
  37. golang-x-net \
  38. golang-x-text \
  39. "
  40.  
  41. PTEST_ENABLED = ""
  42. PTEST_ENABLED_grpc = ""
  43. PTEST_ENABLED_genproto = ""
  44. PTEST_ENABLED_oauth2 = ""
  45. PTEST_ENABLED_cloud = ""
  46. PTEST_ENABLED_mock = ""
  47. PETST_ENABLED_glog = ""
  48.  
  49. #### FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
  50.  
  51. #SRC_URI = "git://github.com/grpc/grpc-go.git;protocol=https;name=grpc;destsuffix=${PN}-${PV}/src/${GO_IMPORT_GRPC} \
  52. # git://github.com/google/go-genproto.git;protocol=https;name=genproto;destsuffix=${PN}-${PV}/src/${GO_IMPORT_GENPROTO} \
  53. # git://github.com/googleapis/gax-go.git;protocol=https;name=gaxgo;destsuffix=${PN}-${PV}/src/${GO_IMPORT_GAX_GO} \
  54. # git://github.com/golang/oauth2.git;protocol=https;name=oauth2;destsuffix=${PN}-${PV}/src/${GO_IMPORT_OAUTH2} \
  55. # git://github.com/google/google-api-go-client;protocol=https;name=api;destsuffix=${PN}-${PV}/src/${GO_IMPORT_API} \
  56. # git://code.googlesource.com/gocloud;protocol=https;name=cloud;destsuffix=${PN}-${PV}/src/${GO_IMPORT_CLOUD} \
  57. # "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement