From ef30c6cb8eaeee242800fb7b772de96569b2250f Mon Sep 17 00:00:00 2001 From: Leonid Lazarev Date: Mon, 13 Jul 2020 17:51:02 +0300 Subject: [PATCH] Add the cloudproxy service in meta-agl-demo 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 --- .../agl-service-cloudproxy_git.bb | 24 ++++++++++++++++++++++ .../packagegroups/packagegroup-agl-ivi-services.bb | 1 + templates/feature/agl-cloudproxy/50_local.conf.inc | 2 ++ 3 files changed, 27 insertions(+) create mode 100644 recipes-apis/agl-service-cloudproxy/agl-service-cloudproxy_git.bb create mode 100644 templates/feature/agl-cloudproxy/50_local.conf.inc 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 -- 2.16.6