diff options
author | Roger Zanoni <rzanoni@igalia.com> | 2023-06-23 14:06:20 +0200 |
---|---|---|
committer | Roger Zanoni <rzanoni@igalia.com> | 2023-07-18 15:28:52 +0200 |
commit | 1ad25b9039ef910dc444e50fd43245c31d9bcae9 (patch) | |
tree | e29b75b0abcaddd0f16a7f238be7873fe0530b56 /recipes-wam/wam/files/WebAppMgrCli | |
parent | 7a7c0e1f4c62ab976dfd2a58d33ed93d62c587d3 (diff) |
[wam][cef] Make it possible to use cef as a backend
This changes enables switching between the chromium and cef backends on
wam by passing the agl-cef feature to the agl-setup script.
Bug-AGL: SPEC-3872
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: Ib5b4b139789ec8303fef0a210a7e8f2f724d0c00
Diffstat (limited to 'recipes-wam/wam/files/WebAppMgrCli')
-rwxr-xr-x | recipes-wam/wam/files/WebAppMgrCli | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-wam/wam/files/WebAppMgrCli b/recipes-wam/wam/files/WebAppMgrCli new file mode 100755 index 000000000..4312e0472 --- /dev/null +++ b/recipes-wam/wam/files/WebAppMgrCli @@ -0,0 +1,9 @@ +#!/bin/bash + +WAM_CLI_EXE="/usr/bin/WebAppMgr" + +if [ "$WAM_IS_CEF" = true ] ; then + WAM_CLI_EXE="/usr/share/wam/WebAppMgrCli" +fi + +exec $WAM_CLI_EXE $@ |