Update with last app-templates modifications
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 4 May 2017 12:28:09 +0000 (14:28 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 4 May 2017 12:28:09 +0000 (14:28 +0200)
https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/app-templates

Change-Id: I42eff75b790b70047e1b91b963edf458084881c9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/etc/export.map
CAN-binder/etc/macros.cmake
CAN-binder/low-can-binding/binding/configuration-generated.cpp [moved from CAN-binder/low-can-binding/configuration-generated.cpp with 100% similarity]
CAN-binder/low-can-binding/binding/configuration.cpp [moved from CAN-binder/low-can-binding/configuration.cpp with 100% similarity]
CAN-binder/low-can-binding/binding/configuration.hpp [moved from CAN-binder/low-can-binding/configuration.hpp with 100% similarity]
CAN-binder/low-can-binding/binding/low-can-binding.cpp [moved from CAN-binder/low-can-binding/low-can-binding.cpp with 100% similarity]
CAN-binder/low-can-binding/binding/low-can-binding.hpp [moved from CAN-binder/low-can-binding/low-can-binding.hpp with 100% similarity]
CAN-binder/low-can-binding/packaging/wgt/config.xml [deleted file]
CAN-binder/low-can-binding/packaging/wgt/etc/can_buses.json [deleted file]
CAN-binder/low-can-binding/packaging/wgt/icon.png [deleted file]

index 52c1b4a..ee2f413 100644 (file)
@@ -1 +1 @@
-{ global: afbBindingV1*; local: *; };
+{ global: afbBindingV*; local: *; };
index afad28a..5e00b9d 100644 (file)
@@ -75,29 +75,28 @@ macro(populate_widget)
        set(POPULE_WIDGET_TARGET "populate_${TARGET_NAME}")
 
        get_target_property(T ${TARGET_NAME} LABELS)
+       get_target_property(OUT ${TARGET_NAME} OUTPUT_NAME)
        if(${T} STREQUAL "BINDING")
                add_custom_command(OUTPUT ${WIDGET_LIBDIR}/${TARGET_NAME}.so
                        DEPENDS ${TARGET_NAME}
                        COMMAND mkdir -p ${WIDGET_LIBDIR}
-                       COMMAND cp ${TARGET_NAME}.so ${WIDGET_LIBDIR}
+                       COMMAND cp ${OUT}.so ${WIDGET_LIBDIR}
                )
                add_custom_target(${POPULE_WIDGET_TARGET} ALL DEPENDS ${WIDGET_LIBDIR}/${TARGET_NAME}.so)
        elseif(${T} STREQUAL "EXECUTABLE")
                add_custom_command(OUTPUT ${WIDGET_BINDIR}/${TARGET_NAME}
                        DEPENDS ${TARGET_NAME}
                        COMMAND mkdir -p ${WIDGET_BINDIR}
-                       COMMAND cp ${TARGET_NAME} ${WIDGET_BINDIR}
+                       COMMAND cp ${OUT} ${WIDGET_BINDIR}
                )
                add_custom_target(${POPULE_WIDGET_TARGET} ALL DEPENDS ${WIDGET_BINDIR}/${TARGET_NAME})
        elseif(${T} STREQUAL "HTDOCS")
-               get_target_property(OUT ${TARGET_NAME} OUTPUT_NAME)
                add_custom_command(OUTPUT ${WIDGET_HTTPDIR}
                        DEPENDS ${TARGET_NAME}
                        COMMAND cp -r ${OUT} ${WIDGET_HTTPDIR}
                        )
                        add_custom_target(${POPULE_WIDGET_TARGET} ALL DEPENDS ${WIDGET_HTTPDIR})
        elseif(${T} STREQUAL "DATA")
-               get_target_property(OUT ${TARGET_NAME} OUTPUT_NAME)
                add_custom_command(OUTPUT ${WIDGET_DATADIR}
                        DEPENDS ${TARGET_NAME}
                        COMMAND cp -r ${OUT} ${WIDGET_DATADIR}
diff --git a/CAN-binder/low-can-binding/packaging/wgt/config.xml b/CAN-binder/low-can-binding/packaging/wgt/config.xml
deleted file mode 100644 (file)
index d735ce2..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" id="@PROJECT_NAME@" version="@PROJECT_VERSION@">
-  <name>@PROJECT_NAME@</name>
-  <icon src="icon.png"/>
-  <content src="libs" type="application/vnd.agl.service"/>
-  <description>This is a demo application used to control and dialog with HVAC system</description>
-  <author>Romain Forlot &lt;romain.forlot@iot.bzh&gt;</author>
-  <license>APL 2.0</license>
-</widget>
-
-
diff --git a/CAN-binder/low-can-binding/packaging/wgt/etc/can_buses.json b/CAN-binder/low-can-binding/packaging/wgt/etc/can_buses.json
deleted file mode 100644 (file)
index c4292df..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-       "canbus":  "can0"
-}
diff --git a/CAN-binder/low-can-binding/packaging/wgt/icon.png b/CAN-binder/low-can-binding/packaging/wgt/icon.png
deleted file mode 100644 (file)
index 9bd6a6e..0000000
Binary files a/CAN-binder/low-can-binding/packaging/wgt/icon.png and /dev/null differ