aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Lazarev <leonid.lazarev@orioninc.com>2020-07-13 17:51:02 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-07-24 15:51:08 +0000
commitef30c6cb8eaeee242800fb7b772de96569b2250f (patch)
tree303d9e07c07483ed842301a61158014797c22a8d
parent90d14975bb3ddf69d631b8238ecaaf96812e2b9b (diff)
Add the cloudproxy service in meta-agl-demojellyfish_9.99.2jellyfish/9.99.29.99.2
The recipes for cloudproxy service has been added in ivi-service packagegroup The new feature cloudproxy has been added to agl-demo Bug-AGL: SPEC-3496 Change-Id: I9d9a2efd5d686b25b593ddc18a9147aa27d5054c Signed-off-by: Leonid Lazarev <leonid.lazarev@orioninc.com>
-rw-r--r--recipes-apis/agl-service-cloudproxy/agl-service-cloudproxy_git.bb24
-rw-r--r--recipes-platform/packagegroups/packagegroup-agl-ivi-services.bb1
-rw-r--r--templates/feature/agl-cloudproxy/50_local.conf.inc2
3 files changed, 27 insertions, 0 deletions
diff --git a/recipes-apis/agl-service-cloudproxy/agl-service-cloudproxy_git.bb b/recipes-apis/agl-service-cloudproxy/agl-service-cloudproxy_git.bb
new file mode 100644
index 000000000..dcfb3844d
--- /dev/null
+++ b/recipes-apis/agl-service-cloudproxy/agl-service-cloudproxy_git.bb
@@ -0,0 +1,24 @@
+SUMMARY = "AGL cloud proxy service"
+DESCRIPTION = "AGL cloud proxy service build with recipe method"
+HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/apps/agl-service-cloudproxy"
+SECTION = "apps"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=133bb7bd14f18c4f134e819619b3f09a"
+
+inherit cmake aglwgt pkgconfig
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-service-cloudproxy;protocol=https"
+
+SRCREV = "0cecffd4565b52bd8d200f6bc9f4144f244a6515"
+
+PV = "1.0+git${SRCPV}"
+S = "${WORKDIR}/git/"
+
+DEPENDS = "azure-iot-sdk-c glib-2.0"
+
+RDEPENDS_${PN} += "azure-iot-sdk-c azure-c-shared-utility"
+
+#azure include files
+CXXFLAGS_prepend += "-I${STAGING_INCDIR}/azureiot"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-platform/packagegroups/packagegroup-agl-ivi-services.bb b/recipes-platform/packagegroups/packagegroup-agl-ivi-services.bb
index e9131dbec..9deeda58c 100644
--- a/recipes-platform/packagegroups/packagegroup-agl-ivi-services.bb
+++ b/recipes-platform/packagegroups/packagegroup-agl-ivi-services.bb
@@ -27,4 +27,5 @@ RDEPENDS_${PN} += "\
agl-service-unicens-controller \
agl-service-weather \
${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'agl-service-taskmanager', '', d)} \
+ ${@bb.utils.contains('AGL_CLOUDPROXY_WANTED','1', 'agl-service-cloudproxy', '', d)} \
"
diff --git a/templates/feature/agl-cloudproxy/50_local.conf.inc b/templates/feature/agl-cloudproxy/50_local.conf.inc
new file mode 100644
index 000000000..93b0cb407
--- /dev/null
+++ b/templates/feature/agl-cloudproxy/50_local.conf.inc
@@ -0,0 +1,2 @@
+# Set cloud proxy flag
+AGL_CLOUDPROXY_WANTED = "1" \ No newline at end of file