summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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